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?

  1. yes, looks hive metastore.
  2. 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

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -