msprunck / Sql4D

Sql interface to druid.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sql4D -> SQL interface to druid(see http://druid.io/ ), has 3 sub components

  1. SQL -> Json compiler,
  2. Terminal based SQL client interface,
  3. Java JDBC like driver for druid.

Getting started guide

https://github.com/srikalyc/Sql4D/wiki

A first look at druid with Sql

http://druidwithsql.tumblr.com/post/98578718282/a-first-look-at-druid-with-sql

Insert and deleting data in druid with Sql

http://druidwithsql.tumblr.com/post/108054375927/simple-insert-deleting-data-drop-table-in-druid

Java JDBC access to druid

http://druidwithsql.tumblr.com/post/111014674922/accessing-druid-through-java-driver-interface

Compatibiltiy with druid

If you are using Druid 0.6.X then use Sql4D version 3.5.6 from maven central (or) clone the Sql4D, and build against the tag v3.5.6 . If you are using Druid 0.7.X then use Sql4D version 4.0.0 from maven central (or) clone the Sql4D, and build against the master.

NOTE: Sql4D/sql4ddriver/.../PrettyPrint.java contains a code snippet modified from a publication here: http://stackoverflow.com/questions/11383070/pretty-print-2d-array-in-java . The text/code is licensed under Creative Commons-BY-SA 3.0.

About

Sql interface to druid.

License:Apache License 2.0


Languages

Language:Java 96.2%Language:GAP 3.7%Language:Shell 0.0%