kpkab opened a new issue, #11898:
URL: https://github.com/apache/iceberg/issues/11898

   ### Query engine
   
   Spark, Trino, Snowflake, EMR
   
   ### Question
   
   Hi
   Happy New Year!. I would like to know if theres a way to capture the list of 
columns that is being accessed by a user. For example if a user is trying to 
issue a query like `SELECT ID, NAME, ADDRESS FROM TABLE_NAME`, I see the engine 
calls the REST endpoint /v1/namespace/{namespaces}/tables/{table}. This 
endpoint takes the namespace name, table name and snapshot details, but would 
it be possible to see what are all the columns the user is trying to access? we 
would like to have a full audit trail of who is accessing what (DB, table, 
column per user, in each query). This would help us meet our compliance and 
regulatory standards. 
   If someone has already implemented this, can you point me in the right 
direction, so i can implement this in my REST catalog implementation.
   Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to