How is spark HiveContext/SQLContext retrieving schema/data? -
i can't seem find documentation on when pull data hive in spark sql how retrieving schema, automatically looking in hive metastore? hive telling spark @ file location pull data dataframe? , how handle view or can not handle view yet?
- yes, looks hive metastore.
- spark delegates hive queries hive. captures output , turn dataframe of rows. docs:
when working hive 1 must construct hivecontext, inherits sqlcontext, , adds support finding tables in metastore , writing queries using hiveql
Comments
Post a Comment