GitHub user benbromhead opened a pull request:
https://github.com/apache/incubator-zeppelin/pull/86
Initial support for CassandraSQLContext for %sql queries
Allow users to use %sql syntax to query Cassandra tables with SparkSQL
without having to manually create a CassandraSQLContext.
Expanding on "Add build profile for Spark/Cassandra integration #79"
To enable Cassandra SQL context support add
-Dzeppelin.spark.useCassandraContext=true to the ZEPPELIN_JAVA_OPTS parameter
in conf/zeppelin-env.sh file. Alternatively you can add this parameter in the
parameter list of the Spark interpreter on the GUI.
Also supported are "spark.cassandra.connection.host",
"spark.cassandra.auth.username" and "spark.cassandra.auth.password" parameters.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/benbromhead/incubator-zeppelin
cassandraSQLsupport
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-zeppelin/pull/86.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 #86
----
commit fb27ababd04519308d1f0e70daa8c700db53c80a
Author: Ben Bromhead <[email protected]>
Date: 2015-05-28T06:30:58Z
Added support for CassandraSQLContext for %sql queries
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---