[
https://issues.apache.org/jira/browse/FLINK-40421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18110630#comment-18110630
]
Dian Fu commented on FLINK-40421:
---------------------------------
[~hirson] Thanks for taking this ticket. Regarding to "how to handle an
Expression that already has `.asc` or`.desc`", what about raising an exception
to make it more clear?
> Add sorting support in DataFrame API
> ------------------------------------
>
> Key: FLINK-40421
> URL: https://issues.apache.org/jira/browse/FLINK-40421
> Project: Flink
> Issue Type: Sub-task
> Components: API / Python
> Reporter: Liu Liu
> Priority: Major
>
> Add ordering transformations:
> {code:java}
> def sort(
> self,
> by,
> *,
> descending=False,
> nulls_first=None,
> ) -> DataFrame {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)