You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "luoyuxia (Jira)" <ji...@apache.org> on 2023/04/23 02:39:00 UTC
[jira] [Assigned] (FLINK-31882) SqlGateway will throw exception when executing DeleteFromFilterOperation
[ https://issues.apache.org/jira/browse/FLINK-31882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
luoyuxia reassigned FLINK-31882:
--------------------------------
Assignee: luoyuxia
> SqlGateway will throw exception when executing DeleteFromFilterOperation
> ------------------------------------------------------------------------
>
> Key: FLINK-31882
> URL: https://issues.apache.org/jira/browse/FLINK-31882
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / API, Table SQL / Gateway
> Affects Versions: 1.17.0
> Reporter: yuzelin
> Assignee: luoyuxia
> Priority: Major
>
> Reproduce step:
> Our sink implements `SupportsDeletePushDown`, so when we test a DELETE statement, the `TableEnvironmentImpl` will call theĀ
> `TableResultInternal executeInternal(DeleteFromFilterOperation deleteFromFilterOperation)` at line 895. This method won't return the JobClient, but the SqlGateway requires one, thus a exception occurs.
> Stack:
> Caused by: org.apache.flink.table.gateway.service.utils.SqlExecutionException: Can't get job client for the operation d4ba1029-664c-44c0-922b-021eb9e1c527.
> at org.apache.flink.table.gateway.service.operation.OperationExecutor.lambda$callModifyOperations$6(OperationExecutor.java:521)
> at java.base/java.util.Optional.orElseThrow(Optional.java:408)
> at org.apache.flink.table.gateway.service.operation.OperationExecutor.callModifyOperations(OperationExecutor.java:518)
> at org.apache.flink.table.gateway.service.operation.OperationExecutor.executeOperation(OperationExecutor.java:431)
> at org.apache.flink.table.gateway.service.operation.OperationExecutor.executeStatement(OperationExecutor.java:200)
> at org.apache.flink.table.gateway.service.SqlGatewayServiceImpl.lambda$executeStatement$1(SqlGatewayServiceImpl.java:212)
> at org.apache.flink.table.gateway.service.operation.OperationManager.lambda$submitOperation$1(OperationManager.java:119)
> at org.apache.flink.table.gateway.service.operation.OperationManager$Operation.lambda$run$0(OperationManager.java:258)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)