bharos opened a new issue, #8856:
URL: https://github.com/apache/gravitino/issues/8856

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   When OAuth is enabled, On creating a table, the `owner` field should reflect 
the user from OAuth token. Currently, that doesn't happen. The user name from 
the client environment is attached to the table owner property.
   
   <img width="1045" height="945" alt="Image" 
src="https://github.com/user-attachments/assets/7db73bbc-3135-4765-9628-1dabe29577ce";
 />
   
   ### Error message and/or stacktrace
   
   ```2025-10-20 21:21:27 INFO  [iceberg-rest-29] IcebergTableOperations:125 - 
Create Iceberg table, catalog: RokuIcebergCatalog, namespace: test_db, create 
table request: CreateTableRequest{name=product_tbl2, location=null, 
properties={owner=spark}, schema=table {
     0: id: optional long
     1: name: optional string
     2: price: optional decimal(10, 2)
     3: updated_at: optional timestamptz
   }, partitionSpec=org.apache.iceberg.UnboundPartitionSpec@1196791f, 
writeOrder=null, stageCreate=false}, accessDelegation: vended-credentials, 
isCredentialVending: true
   ```
   
   The table request receives the environment username . (in the above example, 
it is `spark`) and that is set as owner
   
   ### How to reproduce
   
   Create an iceberg table with OAuth enabled. Still you will not see the user 
name as the user from the OAuth token
   
   ### Additional context
   
   _No response_


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to