Skip to content

Commit 41466ff

Browse files
committed
fix some code style
1 parent 5ab3cdc commit 41466ff

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,5 +293,5 @@ private[hive] class IsolatedClientLoader(
293293
* The place holder for shared Hive client for all the HiveContext sessions (they share an
294294
* IsolatedClientLoader).
295295
*/
296-
private[hive] var cachedHive: Any = null
296+
private var cachedHive: Any = null
297297
}

sql/hive/src/test/scala/org/apache/spark/sql/hive/client/HiveClientSuite.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ package org.apache.spark.sql.hive.client
1919

2020
import org.apache.hadoop.conf.Configuration
2121
import org.apache.hadoop.hive.conf.HiveConf
22+
2223
import org.apache.spark.SparkFunSuite
23-
import org.apache.spark.deploy.IvyTestUtils
24-
import org.apache.spark.deploy.SparkSubmitUtils.MavenCoordinate
2524
import org.apache.spark.sql.catalyst.catalog._
2625
import org.apache.spark.sql.catalyst.expressions.{AttributeReference, EqualTo, Literal}
2726
import org.apache.spark.sql.hive.HiveUtils

0 commit comments

Comments
 (0)