Skip to content

Commit

Permalink
Fix typo in shim class name (#4310)
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Grove <andygrove@nvidia.com>
  • Loading branch information
andygrove authored Dec 8, 2021
1 parent 51a083c commit 4914be0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import org.apache.spark.sql.types._
import org.apache.spark.storage.{BlockId, BlockManagerId}
import org.apache.spark.unsafe.types.CalendarInterval

abstract class Spark30XShims extends Spark301util320Shims with Logging {
abstract class Spark30XShims extends Spark301until320Shims with Logging {
override def int96ParquetRebaseRead(conf: SQLConf): String =
parquetRebaseRead(conf)
override def int96ParquetRebaseWrite(conf: SQLConf): String =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ import org.apache.spark.sql.types._
/**
* Shim base class that can be compiled with from 301 until 320
*/
trait Spark301util320Shims extends SparkShims {
trait Spark301until320Shims extends SparkShims {
override def parquetRebaseReadKey: String =
SQLConf.LEGACY_PARQUET_REBASE_MODE_IN_READ.key
override def parquetRebaseWriteKey: String =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import org.apache.spark.sql.types._
import org.apache.spark.storage.{BlockId, BlockManagerId}

// 31x nondb shims, used by 311cdh and 31x
abstract class Spark31XShims extends Spark301util320Shims with Logging {
abstract class Spark31XShims extends Spark301until320Shims with Logging {

override def int96ParquetRebaseRead(conf: SQLConf): String =
conf.getConf(SQLConf.LEGACY_PARQUET_INT96_REBASE_MODE_IN_READ)
Expand Down

0 comments on commit 4914be0

Please sign in to comment.