You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by gi...@apache.org on 2026/04/24 00:08:39 UTC
(datafusion) 01/01: chore: re-enable `array_union` nested null array edge case test (#21773)
This is an automated email from the ASF dual-hosted git repository.
github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/main/pr-21773-067ba4b02e180ccd3f7e43f087698463d53a566e
in repository https://gitbox.apache.org/repos/asf/datafusion.git
commit fd093fb1d6353807e030f3c4de20f7f0696c5ac4
Author: Jeffrey Vo <je...@gmail.com>
AuthorDate: Fri Apr 24 09:08:16 2026 +0900
chore: re-enable `array_union` nested null array edge case test (#21773)
## Which issue does this PR close?
<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax. For example
`Closes #123` indicates that this PR will close issue #123.
-->
- Closes #19798
## Rationale for this change
<!--
Why are you proposing this change? If this is already explained clearly
in the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand
your changes and offer better suggestions for fixes.
-->
Upstream issue fixed, re-enable test
- https://github.com/apache/arrow-rs/issues/9227
## What changes are included in this PR?
<!--
There is no need to duplicate the description in the issue here but it
is sometimes worth providing a summary of the individual changes in this
PR.
-->
## Are these changes tested?
<!--
We typically require tests for all PRs in order to:
1. Prevent the code from being accidentally broken by subsequent changes
2. Serve as another way to document the expected behavior of the code
If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->
## Are there any user-facing changes?
<!--
If there are user-facing changes then we may require documentation to be
updated before approving the PR.
-->
<!--
If there are any breaking changes to public APIs, please add the `api
change` label.
-->
---
datafusion/sqllogictest/test_files/array/array_union.slt | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/datafusion/sqllogictest/test_files/array/array_union.slt b/datafusion/sqllogictest/test_files/array/array_union.slt
index e3a3cefc1c..6a0fdc546e 100644
--- a/datafusion/sqllogictest/test_files/array/array_union.slt
+++ b/datafusion/sqllogictest/test_files/array/array_union.slt
@@ -114,11 +114,10 @@ select array_union(arrow_cast([], 'LargeList(Int64)'), arrow_cast([], 'LargeList
[]
# array_union scalar function #7
-# re-enable when https://github.com/apache/arrow-rs/issues/9227 is fixed
-# query ?
-# select array_union([[null]], []);
-# ----
-# [[]]
+query ?
+select array_union([[null]], []);
+----
+[[NULL]]
query error DataFusion error: Error during planning: Failed to coerce arguments to satisfy a call to 'array_union' function:
select array_union(arrow_cast([[null]], 'LargeList(List(Int64))'), arrow_cast([], 'LargeList(Int64)'));
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org