lowka commented on code in PR #3474:
URL: https://github.com/apache/ignite-3/pull/3474#discussion_r1541350367
##########
modules/sql-engine/src/test/java/org/apache/ignite/internal/sql/engine/planner/UnionPlannerTest.java:
##########
@@ -93,4 +167,14 @@ private static UnaryOperator<TableBuilder>
createTestTable(String tableName) {
.addColumn("NAME", NativeTypes.STRING)
.addColumn("SALARY", NativeTypes.DOUBLE);
}
+
+ private Predicate<? extends RelNode> projectFromTable(String tableName,
String... exprs) {
Review Comment:
Fixed. Thanks.
##########
modules/sql-engine/src/integrationTest/java/org/apache/ignite/internal/sql/engine/ItSetOpTest.java:
##########
@@ -278,6 +278,25 @@ public void testSetOpDifferentNumericTypes(String setOp,
int expectId, String ex
.check();
}
+ @Test
+ public void testUnionDifferentNumericTypes() {
+ String query = "SELECT * FROM ("
+ + "SELECT id, val FROM t1 "
+ + "UNION "
+ + "SELECT id, val FROM t2) ORDER BY id";
+
+ assertQuery(query)
Review Comment:
Thanks. Fixed.
--
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]