Will Noble created CALCITE-5768:
-----------------------------------

             Summary: SqlImplementor.hasSortByOrdinal is broken
                 Key: CALCITE-5768
                 URL: https://issues.apache.org/jira/browse/CALCITE-5768
             Project: Calcite
          Issue Type: Bug
          Components: core
            Reporter: Will Noble


{{hasSortByOrdinal}} has an [improper early 
return|https://github.com/apache/calcite/blob/c4042a34ef054b89cec1c47fefcbc8689bad55be/core/src/main/java/org/apache/calcite/rel/rel2sql/SqlImplementor.java#L1902]
 that's causing incorrect results. It should only return early if the result is 
{{true}}. Otherwise, it should continue searching for ordinals.



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

Reply via email to