You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (Jira)" <ji...@apache.org> on 2020/10/08 10:51:00 UTC
[jira] [Created] (CALCITE-4320) JdbcRules JOIN_FACTORY,
AGGREGATE_FACTORY, SET_OP_FACTORY, ... create relations with wrong
convention
Vladimir Sitnikov created CALCITE-4320:
------------------------------------------
Summary: JdbcRules JOIN_FACTORY, AGGREGATE_FACTORY, SET_OP_FACTORY, ... create relations with wrong convention
Key: CALCITE-4320
URL: https://issues.apache.org/jira/browse/CALCITE-4320
Project: Calcite
Issue Type: Sub-task
Components: core
Affects Versions: 1.26.0
Reporter: Vladimir Sitnikov
{code:java}
static final RelFactories.JoinFactory JOIN_FACTORY =
(left, right, hints, condition, variablesSet, joinType, semiJoinDone) -> {
final RelOptCluster cluster = left.getCluster();
final RelTraitSet traitSet = cluster.traitSetOf(left.getConvention());
try {
return new JdbcJoin(cluster, traitSet, left, right, condition,
variablesSet, joinType);
{code}
In practice, JdbcJoin should use JdbcConvention rather than {{cluster.traitSetOf(left.getConvention());}}
I wonder if RelFactories in JdbcRules are dead code.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)