[ 
https://issues.apache.org/jira/browse/SPARK-56561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated SPARK-56561:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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]

Reply via email to