Skip to content

Commit

Permalink
[SPARK-24305][SQL][FOLLOWUP] Fixing indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mn-mikke committed Jul 16, 2018
1 parent 62c55ad commit 294ac69
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -738,10 +738,10 @@ case class MapFromEntries(child: Expression) extends UnaryExpression {
@transient private lazy val dataTypeDetails: Option[(MapType, Boolean, Boolean)] = {
child.dataType match {
case ArrayType(
StructType(Array(
StructField(_, keyType, keyNullable, _),
StructField(_, valueType, valueNullable, _))),
containsNull) => Some((MapType(keyType, valueType, valueNullable), keyNullable, containsNull))
StructType(Array(
StructField(_, kt, kn, _),
StructField(_, vt, vn, _))),
cn) => Some((MapType(kt, vt, vn), kn, cn))
case _ => None
}
}
Expand Down

0 comments on commit 294ac69

Please sign in to comment.