GitHub user andrescelis opened a pull request:

    https://github.com/apache/incubator-zeppelin/pull/211

    added jdbc interpreter

    I added a generalized JDBC interpreter for Zeppelin.  It doesn't come 
packaged with any drivers to avoid licensing concerns (I saw a Mysql 
interpreter was rejected because of this and similar issues would arise with 
SQL Server).  
    
    In order to use, you download your JDBC driver, go to the interpreter 
settings menu, create a '%jdbc' interpreter, and set your driver's name, type, 
and location. Right now it supports SQL Server, Mysql, and Postgresql.
    
    Since this interpreter uses java.sql.DriverManager, it supports all JDBC 
drivers with the same java code.  However, JDBC driver names and connection url 
formats vary. The only thing needed to support a new backend is to modify 
JDBCConnectionUrlBuilder.java, and add a connection url method to use the right 
format for your backend.
    
    Tests are coming, I am currently unsure what the best testing strategy for 
this is, but I welcome advice.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/andrescelis/incubator-zeppelin master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-zeppelin/pull/211.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 #211
    
----
commit 0f553c972fc6d56af6d8498f2be7ecc2a73e65ae
Author: t-ancel <ace...@outlook.com>
Date:   2015-08-13T20:45:26Z

    added jdbc interpreter

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to