GitHub user thomastechs opened a pull request:
https://github.com/apache/spark/pull/11306
[SPARK-12941][SQL][MASTER] Spark-SQL JDBC Oracle dialect fails to map
string datatypes to Oracle VARCHAR datatype
## What changes were proposed in this pull request?
This Pull request is used for the fix SPARK-12941, creating a data type
mapping to Oracle for the corresponding data type"Stringtype" from dataframe.
This PR is for the master branch fix, where as another PR is already tested
with the branch 1.4
## How was the this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration
tests, manual tests)
This patch was tested using the Oracle docker .Created a new integration
suite for the same.The oracle.jdbc jar was to be downloaded from the maven
repository.Since there was no jdbc jar available in the maven repository, the
jar was downloaded from oracle site manually and installed in the local; thus
tested. So, for SparkQA test case run, the ojdbc jar might be manually placed
in the local maven repository(com/oracle/ojdbc6/11.2.0.2.0) while Spark QA test
run.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/thomastechs/spark master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11306.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 #11306
----
----
---
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]