A variant of Spark SQL that integrates with data stored in Hive.
Configuration for Hive is read from hive-site.xml on the classpath. It
supports running both SQL and HiveQL commands.
|
|
hiveql(self,
hqlQuery)
Runs a query expressed in HiveQL, returning the result as a SchemaRDD. |
source code
|
|
|
|
hql(self,
hqlQuery)
Runs a query expressed in HiveQL, returning the result as a SchemaRDD. |
source code
|
|
|
Inherited from SQLContext:
__init__,
cacheTable,
inferSchema,
jsonFile,
jsonRDD,
parquetFile,
registerRDDAsTable,
sql,
table,
uncacheTable
|