[
https://issues.apache.org/jira/browse/SPARK-11811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
meiyoula updated SPARK-11811:
-----------------------------
Description:
1. Starting ThriftServer
2. Using below command to connect server:
./beeline -u jdbc:hive2://localhost:10000/test;
3. After beeline connected to ThriftServer, execute "show tables", it lists the
tables of "default" database.
I found that: The SessionState who calls setCurrentDatabase method is not the
same with the SessionState who calls getCurrentDatabase
was:
1. Starting ThriftServer
2. Using below command to connect server:
./beeline -u jdbc:hive2://localhost:10000/test;
3. After beeline connected to ThriftServer, execute "show tables", it lists the
tables of "default" database.
> Database can't be changed if it is specified in url
> ---------------------------------------------------
>
> Key: SPARK-11811
> URL: https://issues.apache.org/jira/browse/SPARK-11811
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: meiyoula
>
> 1. Starting ThriftServer
> 2. Using below command to connect server:
> ./beeline -u jdbc:hive2://localhost:10000/test;
> 3. After beeline connected to ThriftServer, execute "show tables", it lists
> the tables of "default" database.
> I found that: The SessionState who calls setCurrentDatabase method is not the
> same with the SessionState who calls getCurrentDatabase
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]