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

only consider main part of the url when deciding is_collection in listing table #10419

Merged
merged 3 commits into from
May 8, 2024
Merged

Conversation

y-f-u
Copy link
Contributor

@y-f-u y-f-u commented May 8, 2024

Which issue does this PR close?

Query string and fragment should not be considered when deciding if the path is a collection
Will open one if needed, but the PR itself is descriptive enough.

Rationale for this change

See tests in the PR. It can be common if a remote object store takes query string or fragment for other perspective, e.g. tracking.

Are these changes tested?

Yes

Are there any user-facing changes?

No

@github-actions github-actions bot added the core Core DataFusion crate label May 8, 2024
Copy link
Contributor

@phillipleblanc phillipleblanc left a comment

Choose a reason for hiding this comment

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

Thanks @y-f-u!

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 for this contribution @y-f-u and @phillipleblanc

I have kicked off the CI and assuming it passes I think this PR will be good to merge

@alamb
Copy link
Contributor

alamb commented May 8, 2024

I took the liberty of running cargo fmt and pushing that commit to this branch to get CI passing

@alamb alamb merged commit e024529 into apache:main May 8, 2024
23 checks passed
@alamb
Copy link
Contributor

alamb commented May 8, 2024

Thanks again @y-f-u and @phillipleblanc

findepi pushed a commit to findepi/datafusion that referenced this pull request Jul 16, 2024
…ting table (apache#10419)

* only consider main part of the url when deciding is_collection in listing table

* use url path

* run `cargo fmt`

---------

Co-authored-by: Andrew Lamb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants