[ 
https://issues.apache.org/jira/browse/IGNITE-20764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yury Gerzhedovich updated IGNITE-20764:
---------------------------------------
    Component/s: sql

> Sql. Improve script parsing to handle dynamic parameters for each statement
> ---------------------------------------------------------------------------
>
>                 Key: IGNITE-20764
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20764
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Pavel Pereslegin
>            Assignee: Pavel Pereslegin
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> At the moment, there is only one implementation ({{ParserServiceImpl}}) of 
> the {{ParserService}}, which is not entirely suitable for parsing scripts for 
> several reasons:
> 1. According to the {{ParserService}} interface, it returns the result of 
> parsing only single statement.
> 2. The service only counts the total number of dynamic parameters per script 
> (and not for the statement).
> 3. The cache implementation is designed to cache single expression.
> To implement the script execution logic (IGNITE-20443), it is recommended to 
> add a new method (or a second implementation), which will return a list of 
> parsing results for each statement (with the correct number of dynamic 
> parameters). of the script



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

Reply via email to