[ https://issues.apache.org/jira/browse/CALCITE-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Hyde resolved CALCITE-2365. ---------------------------------- Resolution: Fixed Fixed in [b36a1072|http://git-wip-us.apache.org/repos/asf/calcite/commit/b36a1072]. I had to add {{throws SQLException}} to several methods, change {{misc.iq}} (a query now returns correct results after some changes to the date-time library), and had to introduce pooling in the test infrastructure to deal with the fact that you cannot use connections that have been closed. > Calcite is not compiled after bumping Avatica version to 1.12.0 > --------------------------------------------------------------- > > Key: CALCITE-2365 > URL: https://issues.apache.org/jira/browse/CALCITE-2365 > Project: Calcite > Issue Type: Bug > Reporter: Sergey Nuyanzin > Assignee: Julian Hyde > Priority: Major > > I guess the main reason is CALCITE-2219. > tried to fix it here > https://github.com/apache/calcite/compare/master...snuyanzin:CALCITE_AVATICA_12_UPDATE > however there are at least 2 issues which are not fixed but only workarounded > # _org.apache.calcite.test.LatticeTest#testGroupByEmpty3_ connection pool > factory is used however 3 methods (explainContains, and 2 returnsUnordered ) > lead to _org.apache.calcite.test.CalciteAssert#assertQuery_ which closes > connections without paying attention if its from pool or not > # the same test. mats updated in explainplan and execute => that is why > finally size is 6. > # test from core/src/test/resources/sql/misc.iq starts failing as the result > of CALCITE-1884 > it would be nice to have some advice at least relating to first 2 bullets to > fix it in a better way -- This message was sent by Atlassian JIRA (v7.6.3#76005)