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 redundant migration to table format version 2 #17807

Merged

Conversation

findinpath
Copy link
Contributor

The default format version for Iceberg tables in the Trino Iceberg connector is now 2.

The default format version for Iceberg tables in the Trino
Iceberg connector is now `2`.
@cla-bot cla-bot bot added the cla-signed label Jun 8, 2023
@findinpath findinpath requested a review from alexjo2144 June 8, 2023 13:26
@github-actions github-actions bot added the iceberg Iceberg connector label Jun 8, 2023
@findinpath findinpath added no-release-notes This pull request does not require release notes entry and removed iceberg Iceberg connector labels Jun 8, 2023
@@ -156,7 +156,7 @@ public void testDefaultFormatVersion()
public void testV2TableRead()
{
String tableName = "test_v2_table_read" + randomNameSuffix();
assertUpdate("CREATE TABLE " + tableName + " AS SELECT * FROM tpch.tiny.nation", 25);
assertUpdate("CREATE TABLE " + tableName + " WITH (format_version = 1) AS SELECT * FROM tpch.tiny.nation", 25);
Copy link
Member

Choose a reason for hiding this comment

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

Rename test to v1TableRead

Copy link
Member

Choose a reason for hiding this comment

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

The current name looks fine because the version is 2 when reading the table. We could rename to testV2UpgradedTableRead or something, but the rename isn't necessary in my opinion.

@ebyhr ebyhr merged commit 2f9feec into trinodb:master Jun 9, 2023
@github-actions github-actions bot added this to the 420 milestone Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed no-release-notes This pull request does not require release notes entry
Development

Successfully merging this pull request may close these issues.

3 participants