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

importccl: ignore query params when detecting file compression from suffix #38521

Merged
merged 1 commit into from
Jun 28, 2019

Conversation

dt
Copy link
Member

@dt dt commented Jun 27, 2019

This changes the detection of the compression scheme to, if it does not find the suffix it is looking for, run again after parsing the filename as a URI and only using the Path component.

Fixes #32100.

Release note (sql change): enable automatic detection of compression schemes on filenames in IMPORT that have parameters after the path.

…uffix

This changes the detection of the compression scheme to, if it does not find the suffix it is looking for, run again after parsing the filename as a URI and only using the Path component.

Release note (sql change): enable automatic detection of compression schemes on filenames in IMPORT that have parameters after the path.
@dt dt requested review from thoszhang and a team June 27, 2019 19:31
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@dt
Copy link
Member Author

dt commented Jun 28, 2019

bors r+

craig bot pushed a commit that referenced this pull request Jun 28, 2019
38521: importccl: ignore query params when detecting file compression from suffix r=dt a=dt

This changes the detection of the compression scheme to, if it does not find the suffix it is looking for, run again after parsing the filename as a URI and only using the Path component.

Fixes #32100.

Release note (sql change): enable automatic detection of compression schemes on filenames in IMPORT that have parameters after the path.

Co-authored-by: David Taylor <[email protected]>
@craig
Copy link
Contributor

craig bot commented Jun 28, 2019

Build succeeded

@craig craig bot merged commit 4071154 into cockroachdb:master Jun 28, 2019
@dt dt deleted the compression-suffix branch June 28, 2019 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

importccl: IMPORT should ignore URL parameters when detecting compression
3 participants