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

AvaticaConnection should fail-fast when it has been closed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • avatica
    • 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

              Unassigned Unassigned
              elserj Josh Elser
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: