You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ko...@apache.org on 2023/09/11 12:08:04 UTC

[ignite-3] branch main updated: IGNITE-20239: Sql. Remove row type transformations from SetOpConverterRule (#2558)

This is an automated email from the ASF dual-hosted git repository.

korlov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new 4977689b14 IGNITE-20239: Sql. Remove row type transformations from SetOpConverterRule (#2558)
4977689b14 is described below

commit 4977689b142b52dc2b5053adc0fb3f602830fff3
Author: Max Zhuravkov <sh...@gmail.com>
AuthorDate: Mon Sep 11 15:07:58 2023 +0300

    IGNITE-20239: Sql. Remove row type transformations from SetOpConverterRule (#2558)
---
 .../org/apache/ignite/internal/sql/engine/rule/SetOpConverterRule.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/rule/SetOpConverterRule.java b/modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/rule/SetOpConverterRule.java
index 66759a4c0a..ce41411701 100644
--- a/modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/rule/SetOpConverterRule.java
+++ b/modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/rule/SetOpConverterRule.java
@@ -129,7 +129,7 @@ public class SetOpConverterRule {
                     outTrait.replace(IgniteDistributions.single()),
                     convert(map, inTrait.replace(IgniteDistributions.single())),
                     setOp.all,
-                    cluster.getTypeFactory().leastRestrictive(Util.transform(inputs, RelNode::getRowType))
+                    setOp.getRowType()
             );
         }
     }