[ https://issues.apache.org/jira/browse/FLINK-29151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shengkai Fang updated FLINK-29151: ---------------------------------- Issue Type: Bug (was: Improvement) > SHOW CREATE TABLE doesn't work for Hive dialect > ----------------------------------------------- > > Key: FLINK-29151 > URL: https://issues.apache.org/jira/browse/FLINK-29151 > Project: Flink > Issue Type: Bug > Components: Connectors / Hive > Affects Versions: 1.16.0 > Reporter: Shengkai Fang > Priority: Major > > {code:java} > 0: jdbc:hive2://localhost:10000/default> show create table sink; > Error: org.apache.flink.table.gateway.service.utils.SqlExecutionException: > Failed to execute the operation 9b060771-34b8-453d-abf5-674c86b62921. > at > org.apache.flink.table.gateway.service.operation.OperationManager$Operation.processThrowable(OperationManager.java:389) > at > org.apache.flink.table.gateway.service.operation.OperationManager$Operation.lambda$run$0(OperationManager.java:248) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > Caused by: org.apache.flink.table.api.ValidationException > at > org.apache.flink.table.planner.delegation.hive.parse.HiveParserDDLSemanticAnalyzer.handleUnsupportedOperation(HiveParserDDLSemanticAnalyzer.java:2188) > at > org.apache.flink.table.planner.delegation.hive.parse.HiveParserDDLSemanticAnalyzer.convertToOperation(HiveParserDDLSemanticAnalyzer.java:414) > at > org.apache.flink.table.planner.delegation.hive.HiveParser.processCmd(HiveParser.java:334) > at > org.apache.flink.table.planner.delegation.hive.HiveParser.parse(HiveParser.java:213) > at > org.apache.flink.table.gateway.service.operation.OperationExecutor.executeStatement(OperationExecutor.java:90) > at > org.apache.flink.table.gateway.service.SqlGatewayServiceImpl.lambda$executeStatement$0(SqlGatewayServiceImpl.java:182) > at > org.apache.flink.table.gateway.service.operation.OperationManager.lambda$submitOperation$1(OperationManager.java:111) > at > org.apache.flink.table.gateway.service.operation.OperationManager$Operation.lambda$run$0(OperationManager.java:239) > ... 7 more > Caused by: java.lang.UnsupportedOperationException: Unsupported operation: > TOK_SHOW_CREATETABLE > ... 15 more (state=,code=0) {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)