Skip to content

Persist the user into the snapshot summary for iceberg tables #21010

@nikita-sheremet-java-developer

Description

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:

  1. user of query can be taken from io.trino.spi.connector.ConnectorSession#getUser
  2. user must be set whenevery queryId is set
  3. 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.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions