Question
How to run insert overwrite queries from a okera-enabled spark cluster?
Answer
In order to run insert queries from a okera-enabled spark-cluster, execute the following against the dataset:
ALTER TABLE <dbname.tblname> SET TBLPROPERTIES('recordservice.spark.client-bypass'='true')
In order to run the scan queries on this table again, set the above property to false:
ALTER TABLE <dbname.tblname> SET TBLPROPERTIES('recordservice.spark.client-bypass'='false')
Comments
0 comments
Article is closed for comments.