[ 
https://issues.apache.org/jira/browse/IGNITE-11331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16769358#comment-16769358
 ] 

Vladimir Ozerov commented on IGNITE-11331:
------------------------------------------

A lot of test failures observed. Root cause: parameter type might be important 
when it is returned as a column. E.g. {{SELECT col_a, ? FROM tbl}}. Principal 
places: 
# {{GridSqlQuerySplitter#collectColumns}} - where types are collected and where 
exception due to {{GridSqlType.UNKNOWN}} is thrown
# {{GridReduceQueryExecutor#createMergeTable}} - where collected types are used

> SQL: Remove unnecessary parameters binding
> ------------------------------------------
>
>                 Key: IGNITE-11331
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11331
>             Project: Ignite
>          Issue Type: Task
>          Components: sql
>            Reporter: Vladimir Ozerov
>            Priority: Major
>             Fix For: 2.8
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> See usages of {{H2Utils#bindParameters}}. Note that it is used both in SELECT 
> and DML planners without any reason. Let's remove it from there.
> Be careful with splitter - we will have to pass or calculate parameters 
> number there.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to