Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ object NestedColumnAliasing {
val nestedFieldToAlias = attributeToExtractValuesAndAliases.values.flatten.toMap

// A reference attribute can have multiple aliases for nested fields.
val attrToAliases = AttributeMap(attributeToExtractValuesAndAliases.mapValues(_.map(_._2)))
val attrToAliases =
AttributeMap(attributeToExtractValuesAndAliases.mapValues(_.map(_._2)).toSeq)

plan match {
case Project(projectList, child) =>
Expand Down