pan3793 opened a new pull request, #7819:
URL: https://github.com/apache/kyuubi/pull/7819
### Why are the changes needed?
Fix CI on branch-1.12 for Spark 3.3 and 3.4, broken by the backport of #7206
to `SparkSQLLineageParserHelperSuite`:
1. Test compilation fails because `ListQuery(..., numCols = 1)` only exists
from Spark 3.5.
```
SparkSQLLineageParserHelperSuite.scala:1726: not found: value numCols
```
Borrow a resolved `InSubquery` from an analyzed `WHERE ... IN (SELECT
...)` query instead of constructing `ListQuery` directly.
2. Once it compiles, the `select-list IN` case fails on Spark 3.3 because
IN/EXISTS subqueries outside of `Filter` require SPARK-30220 (3.4.0). Run this
case only on Spark 3.4+.
master is unaffected since its CI only covers Spark 3.5+.
### How was this patch tested?
```
build/mvn test -pl extensions/spark/kyuubi-spark-lineage -am
-Pspark-<3.3|3.4|3.5> -Dtest=none \
-DwildcardSuites=org.apache.kyuubi.plugin.lineage.helper
```
All pass on JDK 17 with Spark 3.3, 3.4 and 3.5.
### Was this patch assisted by generative AI tooling?
Assisted-by: Claude Opus 5.5
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]