Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-612

Update AvaticaStatement to handle cancelled queries

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0-incubating
    • Component/s: None
    • Labels:
      None

      Description

      Once the application cancels a query, the cursor corresponding to the result set is set back to null and any attempt to get the results results in a NPE.
      AvaticaStatement:internalExecute and AvaticaResultSet:next should check the state of the cursor and return false.

        Attachments

        1. CALCITE-612.2.patch.diff
          1 kB
          Parth Chandra
        2. CALCITE-612.patch.diff
          2 kB
          Parth Chandra

          Issue Links

            Activity

              People

              • Assignee:
                julianhyde Julian Hyde
                Reporter:
                parthc Parth Chandra
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: