lowka commented on code in PR #2443:
URL: https://github.com/apache/ignite-3/pull/2443#discussion_r1299630322
##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/rel/set/IgniteMapIntersect.java:
##########
@@ -70,10 +76,15 @@ public <T> T accept(IgniteRelVisitor<T> visitor) {
return visitor.visit(this);
}
+
+
/** {@inheritDoc} */
@Override
protected RelDataType deriveRowType() {
- return buildRowType();
+ IgniteTypeFactory typeFactory = (IgniteTypeFactory)
getCluster().getTypeFactory();
+ RelDataType rowType = getInput(0).getRowType();
+
+ return IgniteMapSetOp.buildRowType(typeFactory, rowType,
getInputs().size());
Review Comment:
This line does not change this number remains the same :
> line(set_operand_columns) + len(inputs)
See explanation on how this operator works in `IntersectNode`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]