AMashenkov commented on code in PR #2443:
URL: https://github.com/apache/ignite-3/pull/2443#discussion_r1298674200
##########
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:
I guess `int aggregateFieldsCount() {` now can return just
`getRowType().getFieldsCount()`
https://github.com/apache/ignite-3/pull/2443/files#diff-20e473731eb1b98eda09bb76982443f7b3ae982121eac100d4b3effbad6611deR91-R94
--
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]