[ https://issues.apache.org/jira/browse/SPARK-11811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15112299#comment-15112299 ]
Ajesh Kumar commented on SPARK-11811: ------------------------------------- beeline script is invoking "org.apache.hive.beeline.BeeLine" .It has nothing to do with spark engine. So I think this should be treated as a hive issue rather than spark issue. > 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org