Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Presto Oracle connector #11540

Closed
wants to merge 5 commits into from
Closed

Presto Oracle connector #11540

wants to merge 5 commits into from

Conversation

sajjoseph
Copy link

Implements Oracle connector using Oracle JDBC driver. Tested against Oracle 12c even though it should work with older versions as well.

@electrum
Copy link
Contributor

Thanks for contributing this!

Let's start with the obvious issue that the Oracle JDBC driver isn't available under an OSS-friendly license, thus it's not available in Maven central and we can't redistribute it with Presto. This creates some problems for us to solve:

  1. How to build? We need to build Presto without the Oracle driver (e.g., Travis CI needs to pass). Fortunately, the dependency is not required for compilation, so an easy solution is to simply remove the driver dependency from the POM.

  2. How do end users use it? We can include instructions in the documentation to add the Oracle driver JAR file to the plugin/oracle directory on the Presto coordinator and workers. This is really bad from a user experience, but I don't see a better alternative.

  3. How do we test? We need to make sure the connector doesn't break when changes are made to presto-base-jdbc, the SPI, library upgrades, etc. Hopefully, we can test it in Travis, similar to how we do it for other integration tests. The SQL Server test is a good one to look at. Oracle seems to have some Docker images available: https://container-registry.oracle.com/

@pdanilew
Copy link

@sajjoseph: this connector would help a lot in my opinion, are you going to continue work on this PR?

@sajjoseph
Copy link
Author

sajjoseph commented Oct 6, 2018 via email

@sajjoseph
Copy link
Author

sajjoseph commented Oct 14, 2018

#1 is fixed.

Updated the code base to remove the Oracle JDBC dependency. Travis build also is working now.

#2
Updated the documentation in README to include instructions on copying oracle jdbc driver to the distro.

#3.
Exploring this option.

@stale
Copy link

stale bot commented Jun 12, 2019

This pull request has been automatically marked as stale because it has not had recent activity. If you'd still like this PR merged, please comment on the task, make sure you've addressed reviewer comments, and rebase on the latest master. Thank you for your contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants