Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2693

doc programmatically submit queries to Drill

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • Documentation
    • None

    Description

      Document how to start up an embedded Drillbit inside your
      an application. Use a complete JDBC driver (rather than
      the remote-only driver).
      The standalone jdbc-all driver is designed to be a remote driver. As such, you must have zookeeper and a separate Drill daemon up and running to leverage it. If you want to embed a Drillbit inside your application, you'll need to source the same classpath that the drillbit.sh start-up script sources.

      If you just try to use the jdbc jar that gets shipped, you get this exception:

      java.sql.SQLException: Running Drill in embedded mode using the JDBC jar
      alone is not supported.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            krishahn Kris Hahn
            krishahn Kris Hahn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment