We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c73b72 commit ba4bc0cCopy full SHA for ba4bc0c
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala
@@ -313,7 +313,7 @@ private[hive] case class MetastoreRelation
313
val partitionKeys = hiveQlTable.getPartitionKeys.map(_.toAttribute)
314
315
/** Non-partitionKey attributes */
316
- val attributes = table.getSd.getCols.map(_.toAttribute)
+ val attributes = hiveQlTable.getCols.map(_.toAttribute)
317
318
val output = attributes ++ partitionKeys
319
}
0 commit comments