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

Calcite integration. Introduce running query registry & cancellation refactoring

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • sql

    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

              tledkov-gridgain Taras Ledkov
              gvvinblade Igor Seliverstov
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 13.5h
                  13.5h