File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
core/src/main/scala/org/apache/spark/sql/execution/command
hive/src/main/scala/org/apache/spark/sql/hive/execution Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -754,7 +754,6 @@ case class AlterTableSetLocationCommand(
754754 // No partition spec is specified, so we set the location for the table itself
755755 catalog.alterTable(table.withNewStorage(locationUri = Some (location)))
756756 }
757-
758757 Seq .empty[Row ]
759758 }
760759}
Original file line number Diff line number Diff line change @@ -20,14 +20,13 @@ package org.apache.spark.sql.hive.execution
2020import scala .collection .JavaConverters ._
2121
2222import org .apache .hadoop .conf .Configuration
23- import org .apache .hadoop .fs .Path
2423import org .apache .hadoop .hive .ql .metadata .{Partition => HivePartition }
2524import org .apache .hadoop .hive .serde .serdeConstants
2625import org .apache .hadoop .hive .serde2 .objectinspector ._
2726import org .apache .hadoop .hive .serde2 .objectinspector .ObjectInspectorUtils .ObjectInspectorCopyOption
2827import org .apache .hadoop .hive .serde2 .typeinfo .TypeInfoUtils
2928
30- import org .apache .spark .rdd .{ EmptyRDD , RDD }
29+ import org .apache .spark .rdd .RDD
3130import org .apache .spark .sql .SparkSession
3231import org .apache .spark .sql .catalyst .InternalRow
3332import org .apache .spark .sql .catalyst .expressions ._
You can’t perform that action at this time.
0 commit comments