Skip to content

Remove redundant migration to table format version 2#17807

Merged
ebyhr merged 1 commit intotrinodb:masterfrom
findinpath:findinpath/testicebergv2-cosmetics
Jun 9, 2023
Merged

Remove redundant migration to table format version 2#17807
ebyhr merged 1 commit intotrinodb:masterfrom
findinpath:findinpath/testicebergv2-cosmetics

Conversation

@findinpath
Copy link
Copy Markdown
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
{
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
Copy Markdown
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
Copy Markdown
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