Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-3824

Cancelling the "refresh table metadata" command does not cancel it on the drillbit

Details

    Description

      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.

      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) 
      

      Attachments

        Issue Links

          Activity

            mehant Mehant Baid added a comment -

            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.

            mehant Mehant Baid added a comment - 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.

            People

              Unassigned Unassigned
              rkins Rahul Kumar Challapalli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: