Github user gvramana commented on a diff in the pull request: https://github.com/apache/carbondata/pull/2366#discussion_r195968598 --- Diff: integration/spark-common/src/main/scala/org/apache/spark/util/CarbonReflectionUtils.scala --- @@ -140,6 +142,13 @@ object CarbonReflectionUtils { relation, expectedOutputAttributes, catalogTable)._1.asInstanceOf[LogicalRelation] + } else if (SPARK_VERSION.startsWith("2.3")) { --- End diff -- Add a function SPARK_VERSION.above, so that SPARK_VERSION.above(2.3), so that we need not change code every place for every new version
---