[
https://issues.apache.org/jira/browse/IGNITE-18664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maksim Zhuravkov updated IGNITE-18664:
--------------------------------------
Description:
The following query is not supported
{code:java}
SELECT i, (WITH i2 AS (SELECT i+i1.i FROM integers LIMIT 1 OFFSET 1) SELECT *
FROM i2) AS j FROM integers i1 ORDER BY i;
{code}
Expected result:
{code:java}
i j
1 3
2 4
3 5
null null
{code}
> Sql. subquery with OFFSET is not supported
> ------------------------------------------
>
> Key: IGNITE-18664
> URL: https://issues.apache.org/jira/browse/IGNITE-18664
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Affects Versions: 3.0.0-beta2
> Reporter: Maksim Zhuravkov
> Priority: Major
> Labels: calcite2-required, calcite3-required, ignite-3
> Fix For: 3.0.0-beta2
>
>
> The following query is not supported
> {code:java}
> SELECT i, (WITH i2 AS (SELECT i+i1.i FROM integers LIMIT 1 OFFSET 1) SELECT *
> FROM i2) AS j FROM integers i1 ORDER BY i;
> {code}
> Expected result:
> {code:java}
> i j
> 1 3
> 2 4
> 3 5
> null null
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)