[
https://issues.apache.org/jira/browse/FLINK-41792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18154184#comment-18154184
]
Martijn Visser commented on FLINK-41792:
----------------------------------------
The same happens for a processing-time order key, since PROCTIME() is a
TIMESTAMP_LTZ(3) column in batch mode.
> Batch RANK, DENSE_RANK and PERCENT_RANK fail on a TIMESTAMP_LTZ order key
> -------------------------------------------------------------------------
>
> Key: FLINK-41792
> URL: https://issues.apache.org/jira/browse/FLINK-41792
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Reporter: Martijn Visser
> Priority: Major
>
> In batch mode, RANK() OVER (PARTITION BY a ORDER BY ltz) on a
> TIMESTAMP_LTZ(3) column fails with "Unsupported type: TIMESTAMP_LTZ(3)" from
> RankLikeAggFunctionBase. DENSE_RANK and PERCENT_RANK fail the same way;
> ROW_NUMBER and the other aggregates work.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)