[
https://issues.apache.org/jira/browse/SPARK-3552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Armbrust resolved SPARK-3552.
-------------------------------------
Resolution: Duplicate
> Thrift server doesn't reset current database for each connection
> ----------------------------------------------------------------
>
> Key: SPARK-3552
> URL: https://issues.apache.org/jira/browse/SPARK-3552
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 1.1.0
> Reporter: Cheng Lian
>
> Reproduction steps:
> - Start Thrift server
> - Connect with beeline
> {code}
> ./bin/beeline -u jdbc:hive2://localhost:10000/default -n lian
> {code}
> - Create an empty database and switch to it
> {code}
> 0: jdbc:hive2://localhost:10000/default> create database test;
> 0: jdbc:hive2://localhost:10000/default> use test;
> {code}
> - Exit beeline and reconnect, specify current database to "default"
> {code}
> ./bin/beeline -u jdbc:hive2://localhost:10000/default -n lian
> {code}
> - Now {{SHOW TABLES}} returns nothing indicating that the current database is
> still {{test}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]