wForget commented on code in PR #7198:
URL: https://github.com/apache/kyuubi/pull/7198#discussion_r2339869720
##########
extensions/spark/kyuubi-spark-lineage/src/test/scala/org/apache/kyuubi/plugin/lineage/helper/SparkSQLLineageParserHelperSuite.scala:
##########
@@ -34,9 +34,10 @@ import
org.apache.kyuubi.plugin.lineage.helper.SparkListenerHelper.SPARK_RUNTIME
abstract class SparkSQLLineageParserHelperSuite extends KyuubiFunSuite
with SparkListenerExtensionTest {
- def catalogName: String = {
- if (SPARK_RUNTIME_VERSION <= "3.3")
"org.apache.spark.sql.connector.InMemoryTableCatalog"
- else "org.apache.spark.sql.connector.catalog.InMemoryTableCatalog"
+ def catalogName: String = if (SPARK_RUNTIME_VERSION >= "3.4") {
+ "org.apache.spark.sql.connector.catalog.InMemoryTableCatalog"
+ } else {
+ "org.apache.spark.sql.connector.InMemoryTableCatalog"
}
Review Comment:
<img width="1234" height="203" alt="image"
src="https://github.com/user-attachments/assets/50c1dc4a-5f24-487f-bd01-807c10f316df"
/>
--
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]