Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cassandra/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我可以在cassandra数据库上使用spark hivecontext吗?_Cassandra_Apache Spark_Apache Spark Sql - Fatal编程技术网

我可以在cassandra数据库上使用spark hivecontext吗?

我可以在cassandra数据库上使用spark hivecontext吗?,cassandra,apache-spark,apache-spark-sql,Cassandra,Apache Spark,Apache Spark Sql,我是这些技术的新手,我成功地建立了cassandra&spark集成。目前,我们正在使用spark sqlContext,但我是否可以对同一数据库使用hiveContext,因为HiveQL解析器的功能更加丰富和完整,正如他们的文档中所提到的,我认为您可以。请参考下面的链接一次。russellspitzer.com/2015/01/10/CassandraRdd-HiveQL如果这不是您要求的,请告诉我。我想您可以。请参考下面的链接一次。让我知道,如果这不是你所要求的。感谢文章链接。在我的例子中

我是这些技术的新手,我成功地建立了cassandra&spark集成。目前,我们正在使用spark sqlContext,但我是否可以对同一数据库使用hiveContext,因为HiveQL解析器的功能更加丰富和完整,正如他们的文档中所提到的,我认为您可以。请参考下面的链接一次。russellspitzer.com/2015/01/10/CassandraRdd-HiveQL如果这不是您要求的,请告诉我。

我想您可以。请参考下面的链接一次。让我知道,如果这不是你所要求的。感谢文章链接。在我的例子中,它起作用了,我只需要在所有表名之前附加keyspace。如从mykeyspace.mytablename中选择*;