xushiyan commented on a change in pull request #4815:
URL: https://github.com/apache/hudi/pull/4815#discussion_r811080333
##########
File path:
hudi-client/hudi-spark-client/src/main/scala/org/apache/hudi/HoodieSparkUtils.scala
##########
@@ -57,6 +57,8 @@ object HoodieSparkUtils extends SparkAdapterSupport {
def isSpark3_2: Boolean = SPARK_VERSION.startsWith("3.2")
+ def gteqSpark3_2: Boolean = SPARK_VERSION > "3.2"
+
def beforeSpark3_2(): Boolean = {
if (isSpark2 || isSpark3_0 || isSpark3_1) {
Review comment:
these 2 are logically interchangeable.. can we consolidate them into 1 ?
--
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]