JNSimba commented on code in PR #326:
URL: 
https://github.com/apache/doris-spark-connector/pull/326#discussion_r2178926934


##########
spark-doris-connector/spark-doris-connector-it/src/test/java/org/apache/doris/spark/sql/DorisAnySchemaITCase.scala:
##########
@@ -213,8 +213,12 @@ class DorisAnySchemaITCase extends 
AbstractContainerTestBase {
     val spark = SparkSession.builder().master("local[*]").getOrCreate()
     try {
       val version = spark.version
-      if (StringUtils.startsWith(version, "2")) {
-        LOG.warn("sql partial_columns is only support in spark3+")
+      LOG.info("spark version: " + version)
+      if (StringUtils.startsWith(version, "2")
+        || StringUtils.startsWith(version, "3.1")
+        || StringUtils.startsWith(version, "3.2")
+        || StringUtils.startsWith(version, "3.4")) {
+        LOG.warn("sql partial_columns is only support in spark3.3/3.5+")

Review Comment:
   Yes, I confirmed that only SparkSQL is affected.
   In addition, after Spark 3.3+, `insert into table select 1,2` can also 
update some columns.



-- 
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]

Reply via email to