GitHub user danielfx90 opened a pull request:
https://github.com/apache/spark/pull/19238
[SPARK-22016][SQL] Add HiveDialect for JDBC connection to Hive
## What changes were proposed in this pull request?
Added a HiveDialect for JDBC connection to Hive.
It overrides two methods:
* canHandle
* quoteIdentifier
## How was this patch tested?
It passes the added tests and it was used with a real Hive instance with
real data.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/GranData/spark hive-dialect
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19238.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 #19238
----
commit 3f486bee879c6711851b310e37839491a3b93270
Author: Daniel Fernandez <[email protected]>
Date: 2017-09-14T21:11:40Z
HiveDialect implementation done
commit c0d262455633b7d302124e963b05efb7afda2dcb
Author: Daniel Fernandez <[email protected]>
Date: 2017-09-14T21:12:01Z
HiveDialect registration added
commit f704950eedcd7662db4020eae70aa5351bb3e611
Author: Daniel Fernandez <[email protected]>
Date: 2017-09-14T21:12:18Z
Tests for the HiveDialect added
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]