The error message 'org.apache.kyuubi.KyuubiSQLException: org.apache.kyuubi.KyuubiSQLException: Error operating ExecuteStatement: org.apache.spark.sql.catalyst.parser.ParseException: mismatched input ',' expecting {, ';'}(line 2, pos 7)' suggests a syntax error in your SQL query, specifically with the 'limit' clause. In Spark SQL, the correct syntax for specifying the limit is 'LIMIT' without a comma.

Here's the corrected query:

SELECT * FROM dwd_obu_sfc
LIMIT 10;
Spark SQL LIMIT Clause Syntax Error:

原文地址: https://www.cveoy.top/t/topic/qmB1 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录