Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-23727

Improve SQLOperation log handling when canceling background

    XMLWordPrintableJSON

Details

    Description

      The SQLOperation checks if (shouldRunAsync() && state != OperationState.CANCELED && state != OperationState.TIMEDOUT) to cancel the background task. If true, the state should not be OperationState.CANCELED, so logging under the state == OperationState.CANCELED should never happen.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dengzh Zhihua Deng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4.5h
                  4.5h