GitHub user dongjoon-hyun opened a pull request:
https://github.com/apache/spark/pull/15399
[SPARK-17819][SQL] Specified database in JDBC URL is ignored when conâ¦
## What changes were proposed in this pull request?
```sql
$ bin/beeline -u jdbc:hive2://localhost:10000 -e "create database testdb"
$ bin/beeline -u jdbc:hive2://localhost:10000/testdb -e "create table t(a
int)"
$ bin/beeline -u jdbc:hive2://localhost:10000/testdb -e "show tables"
...
+------------+--------------+--+
| tableName | isTemporary |
+------------+--------------+--+
| t | false |
+------------+--------------+--+
1 row selected (0.347 seconds)
$ bin/beeline -u jdbc:hive2://localhost:10000 -e "show tables"
...
+------------+--------------+--+
| tableName | isTemporary |
+------------+--------------+--+
+------------+--------------+--+
No rows selected (0.098 seconds)
```
## How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration
tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise,
remove this)
â¦necting to thriftserver
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dongjoon-hyun/spark SPARK-17819
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15399.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #15399
----
commit f9a294e815a31e4a3ca2d8d00fdfa53028efae52
Author: Dongjoon Hyun <[email protected]>
Date: 2016-10-08T01:05:04Z
[SPARK-17819][SQL] Specified database in JDBC URL is ignored when
connecting to thriftserver
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]