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 d2e8b43 commit 5ee5d2cCopy full SHA for 5ee5d2c
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicOperators.scala
@@ -72,7 +72,8 @@ case class Generate(
72
val withoutQualifier = if (join) child.output ++ generatorOutput else generatorOutput
73
74
qualifier.map(q =>
75
- withoutQualifier.map(_.withQualifiers(q :: Nil))
+ // prepend the new qualifier to the existed one
76
+ withoutQualifier.map(a => a.withQualifiers(q +: a.qualifiers))
77
).getOrElse(withoutQualifier)
78
}
79
0 commit comments