zhengruifeng commented on code in PR #47884:
URL: https://github.com/apache/spark/pull/47884#discussion_r1738089068
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala:
##########
@@ -974,3 +974,13 @@ case object UnresolvedWithinGroup extends LeafExpression
with Unevaluable {
override def dataType: DataType = throw new UnresolvedException("dataType")
override lazy val resolved = false
}
+
+case class UnresolvedTranspose(
+ indexColumn: Option[Expression],
Review Comment:
shall we make it a `indices: Seq[Expression]`?
currently we only support
1, `len(indices) == 0` => no specified index;
2, `len(indices) == 1` => a specified index;
by assert(len(indices)) == 0 or 1.
Then this parameter could support multi-level indices if needed in the future
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]