Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(test): move hash agg executor tests to integration_tests #10113

Merged
merged 6 commits into from
Jun 1, 2023

Conversation

stdrc
Copy link
Member

@stdrc stdrc commented Jun 1, 2023

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.

What's changed and what's your intention?

This PR also adds SnapshotOptions to resolve #10005, and risedev update-stream-integration-test subcommand for convenience (mentioned in #9787 (comment)).

Checklist For Contributors

  • I have written necessary rustdoc comments
  • I have added necessary unit tests and integration tests
  • [ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features Sqlsmith: Sql feature generation #7934).
  • [ ] I have demonstrated that backward compatibility is not broken by breaking changes and created issues to track deprecated features to be removed in the future. (Please refer to the issue)
  • All checks passed in ./risedev check (or alias, ./risedev c)

Checklist For Reviewers

  • I have requested macro/micro-benchmarks as this PR can affect performance substantially, and the results are shown.

Documentation

  • My PR DOES NOT contain user-facing changes.
Click here for Documentation

Types of user-facing changes

Please keep the types that apply to your changes, and remove the others.

  • Installation and deployment
  • Connector (sources & sinks)
  • SQL commands, functions, and operators
  • RisingWave cluster configuration changes
  • Other (please specify in the release note below)

Release note

Signed-off-by: Richard Chien <[email protected]>
@codecov
Copy link

codecov bot commented Jun 1, 2023

Codecov Report

Merging #10113 (9800e2d) into main (c75ad9f) will decrease coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main   #10113      +/-   ##
==========================================
- Coverage   71.00%   70.94%   -0.07%     
==========================================
  Files        1233     1233              
  Lines      211386   210898     -488     
==========================================
- Hits       150092   149612     -480     
+ Misses      61294    61286       -8     
Flag Coverage Δ
rust 70.94% <ø> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/stream/src/executor/hash_agg.rs 88.42% <ø> (-7.05%) ⬇️

... and 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

echo "Tip: use the alias $(tput setaf 4)./risedev usit$(tput sgr0)."
'''

[tasks.usit]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about dasit or dast? similar to dapt

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do-apply-stream-integration-test?

test_local_hash_aggregation_min_append_only(MemoryStateStore::new()).await
}

async fn test_local_hash_aggregation_count<S: StateStore>(store: S) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test is deleted. Is that intended?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this test looks the same as another so called global one.

Signed-off-by: Richard Chien <[email protected]>
@stdrc stdrc enabled auto-merge June 1, 2023 09:46
@stdrc stdrc added this pull request to the merge queue Jun 1, 2023
Merged via the queue into main with commit fc7be2d Jun 1, 2023
@stdrc stdrc deleted the rc/hash-agg-it branch June 1, 2023 10:20
kwannoel pushed a commit that referenced this pull request Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

executor snapshot testing: the ordering of rows in output chunks
2 participants