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

Add support for uppercase characters in partitioning table property #22495

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

ebyhr
Copy link
Member

@ebyhr ebyhr commented Jun 25, 2024

Description

Fixes #12668

Release notes

# Iceberg
* Add support for uppercase characters in `partitioning` table property. ({issue}`12668`)

@cla-bot cla-bot bot added the cla-signed label Jun 25, 2024
@github-actions github-actions bot added the iceberg Iceberg connector label Jun 25, 2024
@ebyhr ebyhr requested review from findepi and mdesmet June 25, 2024 09:11
@ebyhr ebyhr changed the title Allow uppercase partitioning in Iceberg quoted identifiers Add support for uppercase characters in partitioning table property Jun 25, 2024
@@ -1300,8 +1300,20 @@ public void testPartitioningWithMixedCaseColumnUnsupportedInTrino()
sparkTableName));
assertQueryFailure(() -> onTrino().executeQuery("ALTER TABLE " + trinoTableName + " SET PROPERTIES partitioning = ARRAY['mIxEd_COL']"))
.hasMessageContaining("Unable to parse partitioning value");
assertQueryFailure(() -> onTrino().executeQuery("ALTER TABLE " + trinoTableName + " SET PROPERTIES partitioning = ARRAY['\"mIxEd_COL\"']"))
.hasMessageContaining("Unable to parse partitioning value");
onTrino().executeQuery("ALTER TABLE " + trinoTableName + " SET PROPERTIES partitioning = ARRAY['\"mIxEd_COL\"']");
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: test case name needs changed testPartitioningWithMixedCaseColumnUnsupportedInTrino

@ebyhr ebyhr merged commit eeba55c into trinodb:master Jun 26, 2024
2 of 13 checks passed
@ebyhr ebyhr deleted the ebi/iceberg-partition branch June 26, 2024 23:29
@github-actions github-actions bot added this to the 451 milestone Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed iceberg Iceberg connector
Development

Successfully merging this pull request may close these issues.

Enhance quoted identifiers support in Iceberg partitioning to support mixed case identifiers
4 participants