HyukjinKwon commented on a change in pull request #30467:
URL: https://github.com/apache/spark/pull/30467#discussion_r529112000
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/complexTypeExtractors.scala
##########
@@ -218,6 +226,77 @@ case class GetArrayStructFields(
}
}
+object ExtractNestedArray {
+ type ReturnType = Option[(DataType, Boolean, Seq[Boolean])]
+
+ def unapply(dataType: DataType): ReturnType = {
+ extractArrayType(dataType)
+ }
+
+ def extractArrayType(dataType: DataType): ReturnType = {
Review comment:
@guiyanakuang can you address the comments in
https://github.com/apache/spark/pull/28860?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]