[
https://issues.apache.org/jira/browse/SPARK-47687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-47687:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Minor
> Labels: pull-request-available
>
> 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: [email protected]
For additional commands, e-mail: [email protected]