Skip to content

Commit b9c03e9

Browse files
committed
fix typo
1 parent acc72ea commit b9c03e9

File tree

1 file changed

+2
-2
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog

1 file changed

+2
-2
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/interface.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ case class CatalogTablePartition(
132132
/**
133133
* Given the partition schema, returns a row with that schema holding the partition values.
134134
*/
135-
def toRow(partitionSchema: StructType, defaultTimeZondId: String): InternalRow = {
135+
def toRow(partitionSchema: StructType, defaultTimeZoneId: String): InternalRow = {
136136
val caseInsensitiveProperties = CaseInsensitiveMap(storage.properties)
137137
val timeZoneId = caseInsensitiveProperties.getOrElse(
138-
DateTimeUtils.TIMEZONE_OPTION, defaultTimeZondId)
138+
DateTimeUtils.TIMEZONE_OPTION, defaultTimeZoneId)
139139
InternalRow.fromSeq(partitionSchema.map { field =>
140140
val partValue = if (spec(field.name) == ExternalCatalogUtils.DEFAULT_PARTITION_NAME) {
141141
null

0 commit comments

Comments
 (0)