yibo hu created SPARK-28559: ------------------------------- Summary: when execute "create table" on ThriftServer ,the hive table owner is wrong Key: SPARK-28559 URL: https://issues.apache.org/jira/browse/SPARK-28559 Project: Spark Issue Type: Bug Components: SQL Affects Versions: 2.4.1 Reporter: yibo hu
1.start spark thrift server by user hive 2.Use beeline to connect to the thrift server. 3.Login by user named 'user0' 4.Execute 'create table test_table as .......' 5.The onwer of test_table in hive metastore is 'hive' but not 'user0'. All the sparkSessions share the single HiveClientImpl instance. The field userName in HiveClientImpl is also shared. So the hive table is not attach to the login user. -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org