HyukjinKwon commented on code in PR #44997:
URL: https://github.com/apache/spark/pull/44997#discussion_r1477695657


##########
sql/api/src/main/scala/org/apache/spark/sql/types/StructType.scala:
##########
@@ -315,6 +317,10 @@ case class StructType(fields: Array[StructField]) extends 
DataType with Seq[Stru
     nameToIndex.get(name)
   }
 
+  def getFieldIndexCaseInsensitive(name: String): Option[Int] = {

Review Comment:
   Let's don't add this as an API tho.
   
   ```suggestion
     private[sql] def getFieldIndexCaseInsensitive(name: String): Option[Int] = 
{
   ```



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