Permission Problems Occur if spark.sql.limitScan.enabled Is Set to true
Question
If spark-beeline is used to run SQL statements, and the limit field is added to the query statements, error messages (including permission problems) are reported.
Answer
Possible Causes
If the spark-sql query contains the limit field, the query will be performed in Hive. As a result, permission problems occur.
Solution
Set spark.sql.limitScan.enabled to false.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.