Maksim Zhuravkov created IGNITE-20239:
-----------------------------------------

             Summary: Sql. SetOpConverterRule. 
                 Key: IGNITE-20239
                 URL: https://issues.apache.org/jira/browse/IGNITE-20239
             Project: Ignite
          Issue Type: Improvement
          Components: sql
            Reporter: Maksim Zhuravkov
             Fix For: 3.0.0-beta2


`SetOpConverterRule` creates a rowType produced by set operation by means of  
`TypeFactory::leastRestrictiveType`. This should not be necessary because the 
types of rows returned by inputs to set operation should have been already been 
coerced at the validation stage by `SqlValidator`/ SetopOperandTypeChecker`. 

Remove calls to `TypeFactory::leastRestrictiveType` from `SetOpConverterRule` 
for both colocated and map/reduce versions of operators and use `rowType` 
returned by a set operator node.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to