GitHub user jankogasic added a comment to the discussion: Connecting PySpark 
with Hive tables

Here are few more exmples:

```
query which I'm executing:   SHOW DATABASES
...........................................................................................
An error occurred while calling o680.load.
: java.sql.SQLException: org.apache.kyuubi.KyuubiSQLException: 
org.apache.kyuubi.KyuubiSQLException: Error operating ExecuteStatement: 
org.apache.spark.sql.AnalysisException: [TABLE_OR_VIEW_NOT_FOUND] The table or 
view `SHOW` cannot be found. Verify the spelling and correctness of the schema 
and catalog.
If you did not qualify the name with a schema, verify the current_schema() 
output, or qualify the name with the correct schema and catalog.
To tolerate the error on drop use DROP VIEW IF EXISTS or DROP TABLE IF EXISTS.; 
line 1 pos 15;



query which I'm executing:   SHOW DATABASES;
...........................................................................................
An error occurred while calling o640.load.
: java.sql.SQLException: org.apache.kyuubi.KyuubiSQLException: 
org.apache.kyuubi.KyuubiSQLException: Error operating ExecuteStatement: 
org.apache.spark.sql.catalyst.parser.ParseException: 
[PARSE_SYNTAX_ERROR] Syntax error at or near ';': extra input ';'.(line 1, pos 
29)

== SQL ==
SELECT * FROM (SHOW DATABASES;) SPARK_GEN_SUBQ_120 WHERE 1=0
-----------------------------^^^
```

GitHub link: 
https://github.com/apache/kyuubi/discussions/7240#discussioncomment-15041392

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to