Skip to content

Conversation

@zsxwing
Copy link
Member

@zsxwing zsxwing commented Aug 16, 2015

This PR uses JDBCRDD.getConnector to load JDBC driver before creating connection in DataFrameReader.jdbc and DataFrameWriter.jdbc.

@zsxwing
Copy link
Member Author

zsxwing commented Aug 16, 2015

DataFrameReader.jdbc and DataFrameWriter.jdbc ignore extraOptions currently. Is it intentional, or a bug?

@SparkQA
Copy link

SparkQA commented Aug 16, 2015

Test build #40997 has finished for PR 8232 at commit 57f59d4.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think that's a bug

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okey. Fixed it.

@SparkQA
Copy link

SparkQA commented Aug 17, 2015

Test build #41012 has finished for PR 8232 at commit adf75de.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@marmbrus
Copy link
Contributor

Thanks! Merged to master and 1.5

asfgit pushed a commit that referenced this pull request Aug 17, 2015
…FrameWriter.jdbc

This PR uses `JDBCRDD.getConnector` to load JDBC driver before creating connection in `DataFrameReader.jdbc` and `DataFrameWriter.jdbc`.

Author: zsxwing <zsxwing@gmail.com>

Closes #8232 from zsxwing/SPARK-10036 and squashes the following commits:

adf75de [zsxwing] Add extraOptions to the connection properties
57f59d4 [zsxwing] Load JDBC driver in DataFrameReader.jdbc and DataFrameWriter.jdbc

(cherry picked from commit f10660f)
Signed-off-by: Michael Armbrust <michael@databricks.com>
@asfgit asfgit closed this in f10660f Aug 17, 2015
@zsxwing zsxwing deleted the SPARK-10036 branch August 18, 2015 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants