Reply
New Contributor
Posts: 1
Registered: ‎12-28-2017

Spark cannot read from Impala views?

Hi,

 

I cannot seem to use Spark to read from Impala views. Is this supported?

 

spark.sql("select uid from view") =>

 

File "/opt/cloudera/parcels/SPARK2-2.2.0.cloudera1-1.cdh5.12.0.p0.142354/lib/spark2/python/lib/pyspark.zip/pyspark/sql/utils.py", line 69, in deco
pyspark.sql.utils.AnalysisException: u"cannot resolve '`in_users.users.uid`' given input columns:

Announcements