pan3793 opened a new pull request, #7796:
URL: https://github.com/apache/kyuubi/pull/7796
### Why are the changes needed?
Follow-up to #7747 on branch-1.10.
The nondeterministic permanent-view CTE test fails consistently on Spark 3.3
with both JDK 8 and 17 because it expects `RepartitionByExpression`.
Spark 3.3 uses `Repartition`; SPARK-40105 (3.4.0) changed the node type.
Check their shared `RepartitionOperation` superclass instead. Keep the
value-equality and exchange-reuse assertions, the `reflect()` regression
test,
and the production determinism fix unchanged.
### How was this patch tested?
Reproduced the original assertion failure locally on Spark 3.3.4 / JDK 8.
Ran the full `HiveCatalogRangerSparkExtensionSuite` with:
```bash
build/mvn test -pl extensions/spark/kyuubi-spark-authz -am \
-Pspark-3.3,flink-provided,hive-provided,spark-provided \
-Dtest=none \
-DwildcardSuites=org.apache.kyuubi.plugin.spark.authz.ranger.HiveCatalogRangerSparkExtensionSuite
```
### Was this patch assisted by generative AI tooling?
Assisted-by: DeepSeek Harness:gpt-6.1-sol
--
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]