Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12991

Calcite integration. Query Cancellation

    XMLWordPrintableJSON

    Details

      Description

      Users should have the ability to cancel a query on planning or execution stages.
      Firstly we should have API to retrieve the identifier of the query and API to cancel a query by the identifier.

      For cancel planning see AbstractRelOptPlanner.java:91, here CancelFlag is used to cancel planning loop. We need to pass it into a newly created context and bind its state with PlanningContext#queryCancel to break possible infinite planning loop. See also PlanningContext#unwrap

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jooger Yury Gerzhedovich
                Reporter:
                gvvinblade Igor Seliverstov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

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