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

AvaticaConnection should fail-fast when it has been closed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: next
    • Component/s: avatica
    • Labels:
      None

      Description

      Noticed when testing CALCITE-903, AvaticaConnection maintains when it has been closed via a boolean member. However, none of the other calls on AvaticaConnection verify that the connection is not closed before invoking the method.

      Trivially adding a fail-fast caused downstream test failures in LatticeTest.testGroupByEmpty3.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                elserj Josh Elser
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: