[ 
https://issues.apache.org/jira/browse/FLINK-29151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17607566#comment-17607566
 ] 

Jark Wu edited comment on FLINK-29151 at 9/21/22 3:09 PM:
----------------------------------------------------------

Fixed in 
 - master: 7ddf059d3b7b6888f550bfca9eb09c0cdeb7d682
 - release-1.16: 8a5eec9945a3cdbd35b934508586803f470a3f2a


was (Author: jark):
Fixed in 
 - master: 7ddf059d3b7b6888f550bfca9eb09c0cdeb7d682
 - release-1.16: TODO

> 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
>            Assignee: luoyuxia
>            Priority: Major
>             Fix For: 1.16.0, 1.17.0
>
>
> {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)

Reply via email to