Support Questions
Find answers, ask questions, and share your expertise

How to read hive views using spark with hivecontext?

Solved Go to solution

How to read hive views using spark with hivecontext?

I am new to this spark... here i am trying to read the data from hive views... but failing... could anyone suggest me how to do that

Thanks in Advance.

som

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: How to read hive views using spark with hivecontext?

@som

You would have to be more explicit about versions of Hive, Spark etc, also explain "failing". There is nothing different about accessing Hive views via Hive context from Spark as it is the same as with tables. Anyhow, check the following:

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.2/bk_spark-guide/content/ch_spark-hive-access...

https://hortonworks.com/hadoop-tutorial/using-hive-with-orc-from-apache-spark/

Hopefully this helps.

View solution in original post

1 REPLY 1
Highlighted

Re: How to read hive views using spark with hivecontext?

@som

You would have to be more explicit about versions of Hive, Spark etc, also explain "failing". There is nothing different about accessing Hive views via Hive context from Spark as it is the same as with tables. Anyhow, check the following:

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.2/bk_spark-guide/content/ch_spark-hive-access...

https://hortonworks.com/hadoop-tutorial/using-hive-with-orc-from-apache-spark/

Hopefully this helps.

View solution in original post