You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "maoli67660 (via GitHub)" <gi...@apache.org> on 2026/04/02 13:55:40 UTC
[PR] [SPARK-48275][SQL] Improve array_sort default comparator documentation [spark]
maoli67660 opened a new pull request, #55164:
URL: https://github.com/apache/spark/pull/55164
### What changes were proposed in this pull request?
This PR improves the Scaladoc for `array_sort` by clarifying the behavior of the default comparator, especially for struct elements.
### Why are the changes needed?
The current documentation says that array elements must be orderable, but does not explain how the default comparator behaves for structs or why arrays of structs with unorderable fields can fail.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Built the affected module locally with:
`./build/mvn -pl sql/api -am -DskipTests package`
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: ChatGPT GPT-5.4 Thinking
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-48275][SQL][DOCS] Improve array_sort default comparator documentation [spark]
Posted by "MaxGekk (via GitHub)" <gi...@apache.org>.
MaxGekk commented on PR #55164:
URL: https://github.com/apache/spark/pull/55164#issuecomment-4842743648
+1, LGTM. Merging to master/4.x.
Thank you, @maoli67660.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-48275][SQL][DOCS] Improve array_sort default comparator documentation [spark]
Posted by "MaxGekk (via GitHub)" <gi...@apache.org>.
MaxGekk commented on PR #55164:
URL: https://github.com/apache/spark/pull/55164#issuecomment-4768948604
@maoli67660 You can simply re-trigger CI by empty commit:
```
git commit -am 'Trigger build' --allow-empty
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-48275][SQL][DOCS] Improve array_sort default comparator documentation [spark]
Posted by "MaxGekk (via GitHub)" <gi...@apache.org>.
MaxGekk closed pull request #55164: [SPARK-48275][SQL][DOCS] Improve array_sort default comparator documentation
URL: https://github.com/apache/spark/pull/55164
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-48275][SQL][DOCS] Improve array_sort default comparator documentation [spark]
Posted by "MaxGekk (via GitHub)" <gi...@apache.org>.
MaxGekk commented on PR #55164:
URL: https://github.com/apache/spark/pull/55164#issuecomment-4842759015
@maoli67660 Congratulations with your first contribution to Apache Spark!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-48275][SQL][DOCS] Improve array_sort default comparator documentation [spark]
Posted by "maoli67660 (via GitHub)" <gi...@apache.org>.
maoli67660 commented on PR #55164:
URL: https://github.com/apache/spark/pull/55164#issuecomment-4209740850
This is a documentation-only change. I checked locally and did not find whitespace or hidden Unicode/control character issues. The failing CI job appears unrelated to this patch.
Could a committer please help rerun the checks?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org