[
https://issues.apache.org/jira/browse/IGNITE-15992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17466347#comment-17466347
]
Evgeny Stanilovsky commented on IGNITE-15992:
---------------------------------------------
looks good, plz proceed.
> Calcite engine. Correlated queries with ORDER and LIMIT can't be planned
> ------------------------------------------------------------------------
>
> Key: IGNITE-15992
> URL: https://issues.apache.org/jira/browse/IGNITE-15992
> Project: Ignite
> Issue Type: Bug
> Reporter: Aleksey Plekhanov
> Assignee: Aleksey Plekhanov
> Priority: Major
> Labels: calcite2-required, calcite3-required
> Time Spent: 10m
> Remaining Estimate: 0h
>
> For example:
> {noformat}
> CREATE TABLE test (a INTEGER)
> SELECT (SELECT test.a FROM test t ORDER BY 1 LIMIT 1) FROM test
> {noformat}
> Fail with:
> {noformat}
> org.apache.calcite.plan.RelOptPlanner$CannotPlanException: There are not
> enough rules to produce a node with desired properties
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)