CodePhiliaX / Chat2DB

🔥🔥🔥AI-driven database tool and SQL client, The hottest GUI client, supporting MySQL, Oracle, PostgreSQL, DB2, SQL Server, DB2, SQLite, H2, ClickHouse, and more.
http://chat2db.ai
Apache License 2.0
15.01k stars 1.68k forks source link

Bug: HIVE database link failed. #683

Open wanghaozi opened 11 months ago

wanghaozi commented 11 months ago

Chat2DB Version

Chat2DB v3.0.7

Describe the bug

Hive driver uses the same version as Datagrip, but after clicking hive table, you will be prompted: Error while compiling statement: FAILED: SemanticException [Error 10001]: Line 1:14 Table not found 'table_name' Look at the return information: {"success":true,"errorCode":null,"errorMessage":null,"data":[{"sql":"SELECT * FROM ","originalSql":"SELECT FROM **","description":null,"message":"Error while compiling statement: FAILED: SemanticException [Error 10001]: Line 1:14 Table not found '**'","success":false,"updateCount":null,"headerList":[{"dataType":"CHAT2DB_ROW_NUMBER","name":"Row Number"}],"dataList":null,"sqlType":"SELECT","hasNextPage":false,"pageNo":1,"pageSize":200,"fuzzyTotal":"0","duration":null,"canEdit":true,"tableName":"dwd_gt_remv_grnt_lblty"}],"traceId":null,"errorDetail":null,"solutionLink":null}__

wanghaozi commented 11 months ago

HIVE version:3.1.0