Skip to content

Commit 057d23e

Browse files
committed
style fix
1 parent fcfa126 commit 057d23e

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveStrategies.scala

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717

1818
package org.apache.spark.sql.hive
1919

20-
import org.apache.spark.sql.catalyst.expressions.Row
21-
2220
import scala.collection.JavaConversions._
2321

2422
import org.apache.spark.annotation.Experimental
@@ -212,18 +210,22 @@ private[hive] trait HiveStrategies {
212210

213211
object HiveDDLStrategy extends Strategy {
214212
def apply(plan: LogicalPlan): Seq[SparkPlan] = plan match {
215-
case CreateTableUsing(tableIdentifier, userSpecifiedSchema, provider, false, opts, allowExisting) =>
213+
case CreateTableUsing(
214+
tableIdentifier, userSpecifiedSchema, provider, false, opts, allowExisting) =>
216215
ExecutedCommand(
217216
CreateMetastoreDataSource(
218217
tableIdentifier, userSpecifiedSchema, provider, opts, allowExisting)) :: Nil
219218

220-
case CreateTableUsingAsSelect(tableIdentifier, provider, false, opts, allowExisting, query) =>
219+
case CreateTableUsingAsSelect(
220+
tableIdentifier, provider, false, opts, allowExisting, query) =>
221221
val logicalPlan = hiveContext.parseSql(query)
222222
val cmd =
223-
CreateMetastoreDataSourceAsSelect(tableIdentifier, provider, opts, allowExisting, logicalPlan)
223+
CreateMetastoreDataSourceAsSelect(
224+
tableIdentifier, provider, opts, allowExisting, logicalPlan)
224225
ExecutedCommand(cmd) :: Nil
225226

226-
case CreateTableUsingAsLogicalPlan(tableIdentifier, provider, false, opts, allowExisting, query) =>
227+
case CreateTableUsingAsLogicalPlan(
228+
tableIdentifier, provider, false, opts, allowExisting, query) =>
227229
val cmd =
228230
CreateMetastoreDataSourceAsSelect(tableIdentifier, provider, opts, allowExisting, query)
229231
ExecutedCommand(cmd) :: Nil

0 commit comments

Comments
 (0)