As illustrated in CALCITE-3514, we need to implement JdbcTable's equals() and hashCode() methods.
JdbcTable
equals()
hashCode()