dbeaver 连接 hive 报错:cannot recognize input near 'SHOW' 'INDEX' 'ON' in ddl statement

错误描述

在 dbeaver 双击查看表时,hive报错如下:

org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: ParseException line 1:5 cannot recognize input near 'SHOW' 'INDEX' 'ON' in ddl statement

分析

是 dbeaver 执行 SQL 的问题,不是 hive的问题