[ https://issues.apache.org/jira/browse/FLINK-18516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17357087#comment-17357087 ]
Terry Wang commented on FLINK-18516: ------------------------------------ hi [~lirui] What's your flink version reporting this npe? I can not reproduce your error in flink master code. Maybe the bug has been fixed. > Improve error message for rank function in streaming mode > --------------------------------------------------------- > > Key: FLINK-18516 > URL: https://issues.apache.org/jira/browse/FLINK-18516 > Project: Flink > Issue Type: Improvement > Components: Table SQL / Planner > Reporter: Rui Li > Priority: Minor > Labels: auto-deprioritized-major > > The following query currently fails with NPE: > {code} > create table foo (x int,y string,p as proctime()) with ...; > select x,y,row_number() over (partition by x order by p) from foo; > {code} > which can be difficult for users to figure out the reason of the failure. -- This message was sent by Atlassian Jira (v8.3.4#803005)