[ 
https://issues.apache.org/jira/browse/FLINK-33546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17787181#comment-17787181
 ] 

Dawid Wysakowicz commented on FLINK-33546:
------------------------------------------

[~jackylau]

We can not cover it 100% in the API. In the type inference we check types not 
expression kinds. We could check for literals, but we could not check e.g. for 
function calls. We could add a weaker restriction and prohibit literals, but 
from the logical point of view, I don't think there is anything that would make 
us do that. I would not introduce that limitation at that level.

> Implement type inference for order(asc/desc) function
> -----------------------------------------------------
>
>                 Key: FLINK-33546
>                 URL: https://issues.apache.org/jira/browse/FLINK-33546
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / Planner
>    Affects Versions: 1.19.0
>            Reporter: Jacky Lau
>            Assignee: Dawid Wysakowicz
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.19.0
>
>




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

Reply via email to