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

Update to object_store 0.6 and arrow 41 #6374

Merged
merged 8 commits into from
Jun 6, 2023

Conversation

tustvold
Copy link
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

The next release of object_store contains a number of breaking changes, lets verify them before cutting the release

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added the core Core DataFusion crate label May 17, 2023
builder = builder.with_token(session_token);
}
} else {
let config = aws_config::from_env().load().await;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unlike before, this now ensures that users get the full coherent configuration experience that they might expect from a CLI tool.

Copy link
Contributor

Choose a reason for hiding this comment

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

cc @r4ntix as I think you contributed some of the previous configuration code

Copy link
Contributor

Choose a reason for hiding this comment

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

cc @r4ntix as I think you contributed some of the previous configuration code

@alamb Thanks for the heads up, I think this is a great improvement. Thanks @tustvold 👏

@tustvold
Copy link
Contributor Author

Waiting for apache/arrow-rs#4251

@tustvold tustvold changed the title Prepare for object_store 0.6 Prepare for object_store 0.6 and arrow 41 Jun 2, 2023
@tustvold tustvold changed the title Prepare for object_store 0.6 and arrow 41 Update to object_store 0.6 and arrow 41 Jun 6, 2023
@tustvold tustvold marked this pull request as ready for review June 6, 2023 07:36
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @tustvold

@@ -40,7 +40,7 @@ async fn main() -> Result<()> {
// for the query
ctx.register_listing_table(
"my_table",
&format!("file://{testdata}"),
&format!("file://{testdata}/alltypes_plain.parquet"),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a nice validation of apache/arrow-rs#4230 being a valuable change. This test was broken, as the lack of a trailing / meant it wouldn't list the directory, and this meant it silently failed to list any files. Schema inference fails on the root directory (correctly) so I changed this to a single file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate substrait
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants