-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Migrate datasource tests to insta #15258
base: main
Are you sure you want to change the base?
Conversation
Thanks @shruti2522 ! It looks like there are some CI failures on this one so marking as draft for now |
datafusion/core/Cargo.toml
Outdated
@@ -126,6 +126,7 @@ datafusion-physical-plan = { workspace = true } | |||
datafusion-sql = { workspace = true } | |||
flate2 = { version = "1.1.0", optional = true } | |||
futures = { workspace = true } | |||
insta = "1.42.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should be use to use the workspace version
1615551
to
394d444
Compare
442a582
to
35ae483
Compare
885a49c
to
e87e938
Compare
b88b827
to
dc84505
Compare
I have migrated all the tests for
|
"| 781 |", | ||
"+--------------+"]; | ||
assert_batches_eq!(expected, &query_result); | ||
println!("csv compressed:{}", batches_to_string(&query_result)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to keep it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Dmitrii Blaginin <[email protected]>
…nto insta_datasource
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @shruti2522 @blaginin and @xudong963
I took the liberty of pushing a few of @blaginin 's suggestions and merging this branch up from main to get the tests passing
Which issue does this PR close?
insta
#15246 .Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?