You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "vinoyang (JIRA)" <ji...@apache.org> on 2018/12/11 06:37:00 UTC

[jira] [Comment Edited] (FLINK-10964) sql-client throws exception when paging through finished batch query

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

vinoyang edited comment on FLINK-10964 at 12/11/18 6:36 AM:
------------------------------------------------------------

[~twalthr] when you have time, can you help to review the PR of this issue? By analyzing the source code, I found that the ResultStore has been emptied at the time of cancelQuery. The main problem with this exception is that when stopping the retrieval thread, it still tries to call cancelQuery regardless of the running state of the job.


was (Author: yanghua):
[~twalthr] when you have time, can you help to review the PR of this issue? By analyzing the source code, I found that the ResultRestore has been emptied at the time of cancelQuery. The main problem with this exception is that when stopping the retrieval thread, it still tries to call cancelQuery regardless of the running state of the job.

> sql-client throws exception when paging through finished batch query 
> ---------------------------------------------------------------------
>
>                 Key: FLINK-10964
>                 URL: https://issues.apache.org/jira/browse/FLINK-10964
>             Project: Flink
>          Issue Type: Bug
>          Components: SQL Client
>            Reporter: Seth Wiesman
>            Assignee: vinoyang
>            Priority: Major
>              Labels: pull-request-available
>
> When paging through a batch query in state 'Finished' the sql client throws the following exception: 
> {code:java}
> org.apache.flink.table.client.gateway.SqlExecutionException: Could not find a result with result identifier '0c7dce30d287fdd13b934fbefe5a38d1'.{code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)