-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Mark view creator in metastore #8586
Mark view creator in metastore #8586
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! last commit looks good.
b1a3b3f
to
784a31b
Compare
rebased after #8540 is merged |
CI #8602 |
@@ -1056,6 +1058,7 @@ public void createMaterializedView(ConnectorSession session, SchemaTableName vie | |||
.put(PRESTO_QUERY_ID_NAME, session.getQueryId()) | |||
.put(STORAGE_TABLE, storageTableName) | |||
.put(PRESTO_VIEW_FLAG, "true") | |||
.put(TRINO_CREATED_BY, "Trino Iceberg connector") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
optional: define and use a constant to avoid unintentional divergence
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
To be able to track down what created given view. I.e. to distinguish between things created by Hive connector and Iceberg connector, if they share metastore.
f876eb5
to
3c50304
Compare
No description provided.