Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Not A Bug
-
1.19.0
-
None
-
None
Description
Let's consider the sql:
// Some comments here select 'hello', tag from b where text = '2' or text = '1' order by cast(text as int) + 1 asc , tag desc limit 1"
And the Plan can be seen in the picture below
We can't get the right column value of LogicalSort if sort condition is not the select column list
Can anyone help to explain this problem if i'm wrong
Attachments
Attachments
Issue Links
- is related to
-
CALCITE-819 Add a "contract" for the result of a relational expression
- Closed