You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/04/02 07:41:00 UTC
[jira] [Updated] (SPARK-47687) When creating a table through ThriftServer, set the table owner to the connected user
[ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org