You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/10/27 23:46:27 UTC
[jira] [Created] (CALCITE-942) AvaticaConnection should fail-fast
when it has been closed
Josh Elser created CALCITE-942:
----------------------------------
Summary: AvaticaConnection should fail-fast when it has been closed
Key: CALCITE-942
URL: https://issues.apache.org/jira/browse/CALCITE-942
Project: Calcite
Issue Type: Bug
Components: avatica
Reporter: Josh Elser
Assignee: Julian Hyde
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}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)