Feng Zhu created CALCITE-3514:
---------------------------------
Summary: LatticeTest fails when JdbcSchema re-computes JdbcTables
Key: CALCITE-3514
URL: https://issues.apache.org/jira/browse/CALCITE-3514
Project: Calcite
Issue Type: Bug
Components: core
Affects Versions: 1.21.0
Reporter: Feng Zhu
Assignee: Feng Zhu
In our production environment, we find that when we disable the cache for
_JdbcTable_ in *_JdbcSchema_*, some tests (e.g., _testTwoLattices,
testTileAlgorithm2_) in LatticeTest will fail.
The problem can be reproduced by rewriting the _getTable_ method in
JdbcSchema, i.e., setting _force=true_.
{code:java}
public Table getTable(String name) {
return getTableMap(true).get(name);
}{code}
We need to implement JdbcTable's _equals()_ and _hashCode()_ methods.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)