This feature request very similar to Persist the Trino query ID into the snapshot summary. The idea is the same but add user that running query to summary. For now it is imposible (as I understand) to answer: "Whats user made change for this snapshot in iceberg table".
Note
I have searched usage io.trino.plugin.hive.HiveMetadata#TRINO_QUERY_ID_NAME in the sources - so as I understand:
user of query can be taken from io.trino.spi.connector.ConnectorSession#getUser
user must be set whenevery queryId is set
Code change is "just" add new property "near" queryId setting?
Am I right? If yes may I try to implement the feature? It looks like very simple for implementation.
This feature request very similar to Persist the Trino query ID into the snapshot summary. The idea is the same but add user that running query to summary. For now it is imposible (as I understand) to answer: "Whats user made change for this snapshot in iceberg table".
Note
I have searched usage
io.trino.plugin.hive.HiveMetadata#TRINO_QUERY_ID_NAME
in the sources - so as I understand:user
of query can be taken fromio.trino.spi.connector.ConnectorSession#getUser
user
must be set wheneveryqueryId
is setAm I right? If yes may I try to implement the feature? It looks like very simple for implementation.
Thanks in advance