Skip to content

Commit

Permalink
scalastyle violations
Browse files Browse the repository at this point in the history
  • Loading branch information
gerashegalov committed Sep 9, 2021
1 parent 44fbfac commit d905db3
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package org.apache.spark.sql.rapids.shims.spark304

import org.apache.spark.{SparkConf, TaskContext}

import org.apache.spark.shuffle._
import org.apache.spark.sql.rapids.{ProxyRapidsShuffleInternalManagerBase, RapidsShuffleInternalManagerBase}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ class ShimDataSourceRDD(
sc: SparkContext,
@transient private val inputPartitions: Seq[InputPartition],
partitionReaderFactory: PartitionReaderFactory,
columnarReads: Boolean,
columnarReads: Boolean
) extends DataSourceRDD(sc, inputPartitions, partitionReaderFactory, columnarReads)
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ case class GpuInMemoryTableScanExec(
override def outputOrdering: Seq[SortOrder] =
relation.cachedPlan.outputOrdering.map(updateAttribute(_).asInstanceOf[SortOrder])

lazy val enableAccumulatorsForTest: Boolean = sparkSession.sqlContext.conf.inMemoryTableScanStatisticsEnabled
lazy val enableAccumulatorsForTest: Boolean = sparkSession.sqlContext
.conf.inMemoryTableScanStatisticsEnabled

// Accumulators used for testing purposes
lazy val readPartitions = sparkSession.sparkContext.longAccumulator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ class ShimDataSourceRDD(
sc: SparkContext,
@transient private val inputPartitions: Seq[InputPartition],
partitionReaderFactory: PartitionReaderFactory,
columnarReads: Boolean,
columnarReads: Boolean
) extends DataSourceRDD(sc, inputPartitions, partitionReaderFactory, columnarReads,
Map.empty[String, SQLMetric])
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ package com.nvidia.spark.rapids.shims.v2

import com.nvidia.spark.rapids._
import com.nvidia.spark.rapids.GpuOverrides.exec
import com.nvidia.spark.rapids.shims._

import org.apache.hadoop.fs.FileStatus
import org.apache.parquet.schema.MessageType

Expand Down

0 comments on commit d905db3

Please sign in to comment.