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

Iceberg system tables code cleanup #20265

Merged
merged 10 commits into from
Jan 10, 2024
Merged

Conversation

findepi
Copy link
Member

@findepi findepi commented Jan 3, 2024

No description provided.

@cla-bot cla-bot bot added the cla-signed label Jan 3, 2024
@github-actions github-actions bot added iceberg Iceberg connector delta-lake Delta Lake connector labels Jan 3, 2024
Like in Hive connector, return table not found instead of exception when
querying `$partitions` (not prefixed with a table name).
Some names were rejected with `TrinoException` and some with graceful
fallback (`return Optional.empty`). Since name validity is now checked
by `IcebergTableName.isIcebergTableName` we do not need to be lax in all
other methods.
@@ -965,13 +965,6 @@ public void createTable(ConnectorSession session, ConnectorTableMetadata tableMe

Table table = buildTable(session, schemaTableName, location, external);

// Ensure the table has queryId set. This is relied on for exception handling
Copy link
Contributor

Choose a reason for hiding this comment

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

This commit seems not related to the current PR

Copy link
Member Author

Choose a reason for hiding this comment

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

It's separate commit. I don't think there is a point in extracting this to a separate pr

@github-actions github-actions bot added the hive Hive connector label Jan 4, 2024
@findepi findepi merged commit 41687ef into trinodb:master Jan 10, 2024
96 checks passed
@findepi findepi deleted the findepi/dollar branch January 10, 2024 09:37
@github-actions github-actions bot added this to the 436 milestone Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed delta-lake Delta Lake connector hive Hive connector iceberg Iceberg connector
Development

Successfully merging this pull request may close these issues.

3 participants