Yun Zhao created SPARK-47687: -------------------------------- Summary: When creating a table through ThriftServer, set the table owner to the connected user Key: SPARK-47687 URL: https://issues.apache.org/jira/browse/SPARK-47687 Project: Spark Issue Type: Improvement Components: SQL Affects Versions: 3.4.2 Reporter: Yun Zhao
1. Start spark ThriftServer with user user_a. 2. Use beeline to connect to ThriftServer, and set username to user_b. 3. Create a table through beeline. 4. Use "desc formatted table" to view the table. The owner of the table is user_a, not user_b. Need to change "org.apache.spark.sql.hive.client.HiveClientImpl#userName" from val to def -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org