[
https://issues.apache.org/jira/browse/SPARK-56561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18076128#comment-18076128
]
Shrirang Mhalgi edited comment on SPARK-56561 at 4/25/26 3:58 AM:
------------------------------------------------------------------
I would like to work on this if no one is working :)
Submitted a PR - https://github.com/apache/spark/pull/55549
was (Author: JIRAUSER313104):
I would like to work on this if no one is working :)
> document where array_distinct and similar functions preserve order
> ------------------------------------------------------------------
>
> Key: SPARK-56561
> URL: https://issues.apache.org/jira/browse/SPARK-56561
> Project: Spark
> Issue Type: Documentation
> Components: Documentation
> Affects Versions: 3.5.8, 4.1.1
> Reporter: Bill Schneider
> Priority: Major
> Labels: pull-request-available
>
> It would be good for reference documentation of SQL functions to explicitly
> say when functions like `array_distinct` will (and won't) preserve order.
> This would be useful to cite during code reviews, and may also help inform AI
> coding agents.
> This might also apply to `array_intersect`.
> I am thinking something likeĀ
> > Removes duplicate values from the array, preserving the ordering of the
> > first occurrence of each distinct value.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]