[ https://issues.apache.org/jira/browse/IGNITE-20764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Pereslegin updated IGNITE-20764: -------------------------------------- Labels: ignite-3 (was: ) > Sql. Introduce script parser service > ------------------------------------ > > Key: IGNITE-20764 > URL: https://issues.apache.org/jira/browse/IGNITE-20764 > Project: Ignite > Issue Type: Improvement > Reporter: Pavel Pereslegin > Assignee: Pavel Pereslegin > Priority: Major > Labels: ignite-3 > > 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 second implementation, which, in addition to the total number of > dynamic parameters (for validation), returned 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)