You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@auron.apache.org by "yew1eb (via GitHub)" <gi...@apache.org> on 2026/01/15 18:16:52 UTC
[PR] [AURON #1898] Fix NULL handling for NOT IN subquery [auron]
yew1eb opened a new pull request, #1899:
URL: https://github.com/apache/auron/pull/1899
<!--
- Start the PR title with the related issue ID, e.g. '[AURON #XXXX] Short summary...'.
-->
# Which issue does this PR close?
Closes #1898
# Rationale for this change
# What changes are included in this PR?
# Are there any user-facing changes?
# How was this patch tested?
--
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: commits-unsubscribe@auron.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [AURON #1898] Fix NULL handling for NOT IN subquery [auron]
Posted by "yew1eb (via GitHub)" <gi...@apache.org>.
yew1eb commented on PR #1899:
URL: https://github.com/apache/auron/pull/1899#issuecomment-3757771496
@cxzl25 PTAL
--
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: commits-unsubscribe@auron.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [AURON #1898] Fix NULL handling for NOT IN subquery [auron]
Posted by "cxzl25 (via GitHub)" <gi...@apache.org>.
cxzl25 commented on code in PR #1899:
URL: https://github.com/apache/auron/pull/1899#discussion_r2697317667
##########
spark-extension-shims-spark/src/test/scala/org/apache/auron/AuronQuerySuite.scala:
##########
@@ -662,4 +663,20 @@ class AuronQuerySuite extends AuronQueryTest with BaseAuronSQLSuite with AuronSQ
checkSparkAnswer(query)
}
}
+
+ test("NOT IN subquery with NULL values") {
+ val row = identity[(java.lang.Integer, java.lang.Integer)] _
+ Seq(row((1, 1)), row((2, 2)), row((3, null)))
+ .toDF("a", "b")
+ .createOrReplaceTempView("tbl")
+ val df = checkSparkAnswer("select * from tbl where a not in (select b from tbl)")
Review Comment:
```bash
== Results ==
!== Correct Answer - 0 == == Spark Answer - 1 ==
!struct<> struct<a:int,b:int>
! [3,null] (QueryTest.scala:244)
```
--
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: commits-unsubscribe@auron.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [AURON #1898] Fix NULL handling for NOT IN subquery [auron]
Posted by "cxzl25 (via GitHub)" <gi...@apache.org>.
cxzl25 commented on PR #1899:
URL: https://github.com/apache/auron/pull/1899#issuecomment-3757975237
@yew1eb Nice catch, Thank you for your contribution!
--
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: commits-unsubscribe@auron.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [AURON #1898] Fix NULL handling for NOT IN subquery [auron]
Posted by "cxzl25 (via GitHub)" <gi...@apache.org>.
cxzl25 merged PR #1899:
URL: https://github.com/apache/auron/pull/1899
--
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: commits-unsubscribe@auron.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org