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

Mehant Baid commented on DRILL-3824:
------------------------------------

This is a known issue not related to refresh table. We don't support 
cancellation during this stage, so commands like drop, show files etc will also 
have the same problem. We need to address this in a more broader sense.

> Cancelling the "refresh table metadata" command does not cancel it on the 
> drillbit
> ----------------------------------------------------------------------------------
>
>                 Key: DRILL-3824
>                 URL: https://issues.apache.org/jira/browse/DRILL-3824
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Metadata, Query Planning & Optimization
>            Reporter: Rahul Challapalli
>            Assignee: Aman Sinha
>
> git.commit.id.abbrev=3c89b30
> I cancelled the below command from sqlline. As we can see, sqlline returned 
> immediately but on the backend the drillbit still continues executing the 
> "refresh" command. This is mis-leading to the end user.
> {code}
> 0: jdbc:drill:zk=10.10.103.60:5181> refresh table metadata 
> dfs.`/drill/testdata/tpch100_50000files/lineitem`;
> Error: SQL statement execution canceled; ResultSet now closed. 
> (state=,code=0) 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to