Skip to content

Commit

Permalink
builds
Browse files Browse the repository at this point in the history
  • Loading branch information
brkyvz committed Jan 24, 2020
1 parent f4db1b2 commit 5c369af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -3121,7 +3121,7 @@ class Analyzer(
copy: Array[String] => TableChange): Option[TableChange] = {
val fieldOpt = schema.findNestedField(
fieldNames, includeCollections = true, conf.resolver)
fieldOpt.map { case (path, field) => copy(path +: field.name) }
fieldOpt.map { case (path, field) => copy((path :+ field.name).toArray) }
}
}
}
Expand Down
Expand Up @@ -434,7 +434,7 @@ trait CheckAnalysis extends PredicateHelper {
throw new AnalysisException(
s"Cannot $operation missing field in ${table.name} schema: ${fieldName.quoted}")
}
field.get
field.get._2
}

alter.changes.foreach {
Expand Down

0 comments on commit 5c369af

Please sign in to comment.