Skip to content

Commit d7e2308

Browse files
committed
Revert changes in HiveMetastoreCatalog.scala.
1 parent 36978d1 commit d7e2308

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,14 @@ private[hive] class HiveMetastoreCatalog(hive: HiveContext) extends Catalog with
208208
ParquetRelation2(
209209
paths,
210210
Map(ParquetRelation2.METASTORE_SCHEMA -> metastoreSchema.json),
211-
Some(metastoreSchema),
211+
None,
212212
Some(partitionSpec))(hive))
213213
} else {
214214
val paths = Seq(metastoreRelation.hiveQlTable.getDataLocation.toString)
215-
LogicalRelation(ParquetRelation2(
215+
LogicalRelation(
216+
ParquetRelation2(
216217
paths,
217-
Map(ParquetRelation2.METASTORE_SCHEMA -> metastoreSchema.json),
218-
Some(metastoreSchema))(hive))
218+
Map(ParquetRelation2.METASTORE_SCHEMA -> metastoreSchema.json))(hive))
219219
}
220220
}
221221

0 commit comments

Comments
 (0)