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

Remove FORMAT <..> backwards compatibility options from COPY #9985

Merged
merged 4 commits into from
Apr 8, 2024

Conversation

tinfoil-knight
Copy link
Contributor

@tinfoil-knight tinfoil-knight commented Apr 7, 2024

Which issue does this PR close?

Closes #9905 .

Rationale for this change

Please see the issue description.

What changes are included in this PR?

Are these changes tested?

Tests have been updated as the backward compatibility for format has been removed now.

Are there any user-facing changes?

Yes. Some related doc updates were done in #9931. I've removed the leftover references to the old (format ...) options syntax from docs & examples.

@github-actions github-actions bot added sql SQL Planner sqllogictest SQL Logic Tests (.slt) labels Apr 7, 2024
@tinfoil-knight tinfoil-knight changed the title Revert "Add test for reading back file created with FORMAT options (#… Remove FORMAT <..> backwards compatibility options from COPY Apr 7, 2024
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.

Copy link
Contributor

@devinjdangelo devinjdangelo 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 @tinfoil-knight !

@@ -850,7 +850,7 @@ impl<'a, S: ContextProvider> SqlToRel<'a, S> {
return plan_err!("Unsupported Value in COPY statement {}", value);
}
};
if !(key.contains('.') || key == "format") {
if !(&key.contains('.')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@alamb
Copy link
Contributor

alamb commented Apr 8, 2024

Thanks again @tinfoil-knight

@alamb alamb merged commit 0088c28 into apache:main Apr 8, 2024
26 checks passed
@tinfoil-knight tinfoil-knight deleted the 9905-remove-format branch April 8, 2024 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sql SQL Planner sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DISCUSS] Remove FORMAT <..> backwards compatibility options from COPY
3 participants