You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Lian (JIRA)" <ji...@apache.org> on 2014/09/16 22:07:33 UTC
[jira] [Created] (SPARK-3552) Thrift server doesn't reset current
database for each connection
Cheng Lian created SPARK-3552:
---------------------------------
Summary: 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org