Skip to content

Commit

Permalink
Revert "Get SPARK_VERSION_SHORT for loading corresponding spark shim (a…
Browse files Browse the repository at this point in the history
…pache#578)"

This reverts commit 469f31b.
  • Loading branch information
weixiuli authored and WangGuangxin committed Jan 19, 2023
1 parent c0d016f commit f4bc7f6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
package io.glutenproject.sql.shims

import org.apache.spark.SPARK_VERSION_SHORT
import org.apache.spark.SPARK_VERSION
import org.apache.spark.internal.Logging

import java.util.ServiceLoader
Expand All @@ -36,7 +36,7 @@ object SparkShimLoader extends Logging {
}

def getSparkVersion: String = {
SPARK_VERSION_SHORT
SPARK_VERSION
}

def setSparkShimProviderClass(providerClass: String): Unit = {
Expand Down

0 comments on commit f4bc7f6

Please sign in to comment.