Skip to content

Commit fd093fb

Browse files
authored
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 - apache/arrow-rs#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. -->
1 parent 067ba4b commit fd093fb

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

datafusion/sqllogictest/test_files/array/array_union.slt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,10 @@ select array_union(arrow_cast([], 'LargeList(Int64)'), arrow_cast([], 'LargeList
114114
[]
115115

116116
# array_union scalar function #7
117-
# re-enable when https://github.com/apache/arrow-rs/issues/9227 is fixed
118-
# query ?
119-
# select array_union([[null]], []);
120-
# ----
121-
# [[]]
117+
query ?
118+
select array_union([[null]], []);
119+
----
120+
[[NULL]]
122121

123122
query error DataFusion error: Error during planning: Failed to coerce arguments to satisfy a call to 'array_union' function:
124123
select array_union(arrow_cast([[null]], 'LargeList(List(Int64))'), arrow_cast([], 'LargeList(Int64)'));

0 commit comments

Comments
 (0)