cloud-fan commented on code in PR #48398:
URL: https://github.com/apache/spark/pull/48398#discussion_r1793644616


##########
sql/api/src/main/scala/org/apache/spark/sql/types/StructType.scala:
##########
@@ -321,7 +321,7 @@ case class StructType(fields: Array[StructField]) extends 
DataType with Seq[Stru
    *
    * If includeCollections is true, this will return fields that are nested in 
maps and arrays.
    */
-  private[sql] def findNestedField(
+  private[spark] def findNestedField(
       fieldNames: Seq[String],
       includeCollections: Boolean = false,
       resolver: SqlApiAnalysis.Resolver = _ == _,

Review Comment:
   we can simply pass `conf.resolver` when calling this function, see an 
example at 
https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala#L4044



-- 
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]

Reply via email to