Repository: calcite Updated Branches: refs/heads/master 95fd04176 -> 19cfde74d
http://git-wip-us.apache.org/repos/asf/calcite/blob/91887366/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index f7477da..25e2806 100644 --- a/pom.xml +++ b/pom.xml @@ -54,6 +54,7 @@ limitations under the License. <!-- This list is in alphabetical order. --> <airlift-tpch.version>0.1</airlift-tpch.version> <build-helper-maven-plugin.version>1.9</build-helper-maven-plugin.version> + <cassandra-driver-core.version>2.1.9</cassandra-driver-core.version> <checksum-maven-plugin.version>1.2</checksum-maven-plugin.version> <commons-dbcp.version>1.4</commons-dbcp.version> <commons-lang3.version>3.2</commons-lang3.version> @@ -128,6 +129,7 @@ limitations under the License. <module>avatica-metrics</module> <module>avatica-metrics-dropwizardmetrics3</module> <module>avatica-server</module> + <module>cassandra</module> <module>core</module> <module>dropwizard-metrics2</module> <module>example</module> @@ -193,6 +195,11 @@ limitations under the License. <version>${commons-dbcp.version}</version> </dependency> <dependency> + <groupId>com.datastax.cassandra</groupId> + <artifactId>cassandra-driver-core</artifactId> + <version>${cassandra-driver-core.version}</version> + </dependency> + <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>${jackson.version}</version> http://git-wip-us.apache.org/repos/asf/calcite/blob/91887366/site/_docs/adapter.md ---------------------------------------------------------------------- diff --git a/site/_docs/adapter.md b/site/_docs/adapter.md index ece553e..fa8eb21 100644 --- a/site/_docs/adapter.md +++ b/site/_docs/adapter.md @@ -24,6 +24,7 @@ limitations under the License. * <a href="https://github.com/apache/drill">Apache Drill adapter</a> * Cascading adapter (<a href="https://github.com/Cascading/lingual">Lingual</a>) +* Cassandra adapter (<a href="{{ site.apiRoot }}/org/apache/calcite/adapter/cassandra/package-summary.html">calcite-cassandra</a>) * CSV adapter (<a href="{{ site.apiRoot }}/org/apache/calcite/adapter/csv/package-summary.html">example/csv</a>) * JDBC adapter (part of <a href="{{ site.apiRoot }}/org/apache/calcite/adapter/jdbc/package-summary.html">calcite-core</a>) * MongoDB adapter (<a href="{{ site.apiRoot }}/org/apache/calcite/adapter/mongodb/package-summary.html">calcite-mongodb</a>) http://git-wip-us.apache.org/repos/asf/calcite/blob/91887366/sqlline ---------------------------------------------------------------------- diff --git a/sqlline b/sqlline index 9f4156e..4af3222 100755 --- a/sqlline +++ b/sqlline @@ -37,7 +37,7 @@ if [ ! -f target/fullclasspath.txt ]; then fi CP= -for module in core avatica mongodb spark splunk example/csv example/function; do +for module in core avatica cassandra mongodb spark splunk example/csv example/function; do CP=${CP}${module}/target/classes: CP=${CP}${module}/target/test-classes: done http://git-wip-us.apache.org/repos/asf/calcite/blob/91887366/sqlline.bat ---------------------------------------------------------------------- diff --git a/sqlline.bat b/sqlline.bat index 742cbf8..b9a4875 100644 --- a/sqlline.bat +++ b/sqlline.bat @@ -23,6 +23,6 @@ :: Copy dependency jars on first call. (To force jar refresh, remove target\dependencies) if not exist target\dependencies (call mvn -B dependency:copy-dependencies -DoverWriteReleases=false -DoverWriteSnapshots=false -DoverWriteIfNewer=true -DoutputDirectory=target\dependencies) -java -Xmx1G -cp ".\target\dependencies\*;core\target\dependencies\*;avatica\target\dependencies\*;mongodb\target\dependencies\*;spark\target\dependencies\*;splunk\target\dependencies\*" sqlline.SqlLine --verbose=true %* +java -Xmx1G -cp ".\target\dependencies\*;core\target\dependencies\*;avatica\target\dependencies\*;cassandra\target\dependencies\*;mongodb\target\dependencies\*;spark\target\dependencies\*;splunk\target\dependencies\*" sqlline.SqlLine --verbose=true %* :: End sqlline.bat
