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

Iurii Gerzhedovich updated IGNITE-23022:
----------------------------------------
    Description: 
In order to simplify tests in the SQLLogic test suite, we can add 
parameterisation support via for loops with multiple values (iteration over 
sequence of values).
{noformat}
for (a, b, r) in [ (1, 2, 3) , (2, 3, 5) , (3, 4, 7) ]
query T
SELECT ${a} + ${b}
----
${r}

endfor
{noformat}

  was:
In order to simplify tests in the SQLLogic test suite, we can add 
parameterisation support via for loops with multiple values (iteration over 
sequence of values).

{noformat}

for a, b, r (1, 2, 3) (2, 3, 5) (3, 4, 7)
query T
SELECT ${a} + ${b}
----
${r}

endfor
{noformat}


> Sql. Add for-loop with multiple values to SQL logic tests
> ---------------------------------------------------------
>
>                 Key: IGNITE-23022
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23022
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Maksim Zhuravkov
>            Priority: Minor
>              Labels: ignite-3
>
> In order to simplify tests in the SQLLogic test suite, we can add 
> parameterisation support via for loops with multiple values (iteration over 
> sequence of values).
> {noformat}
> for (a, b, r) in [ (1, 2, 3) , (2, 3, 5) , (3, 4, 7) ]
> query T
> SELECT ${a} + ${b}
> ----
> ${r}
> endfor
> {noformat}



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

Reply via email to