Pavel Pereslegin created IGNITE-21094:
-----------------------------------------
Summary: Sql. Combine query execution methods (single/script) in
QueryProcessor.
Key: IGNITE-21094
URL: https://issues.apache.org/jira/browse/IGNITE-21094
Project: Ignite
Issue Type: Improvement
Reporter: Pavel Pereslegin
At the moment we have two methods for executing queries:
{{querySingleAsync}} for executing single-statement query
{{queryScriptAsync}} for executing multi-statement query.
These methods have an identical signature, so they can be easily combined into
one.
The simple solution will be to keep, for example, `queryAsync` as a single
entry point.
It seems that, internally, we can figure out how to execute this query,
depending on the query execution property {{ALLOWED_QUERY_TYPES}}.
{{querySingleAsync}} does not allow the TX_CONTROL type.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)