gengliangwang commented on a change in pull request #35106:
URL: https://github.com/apache/spark/pull/35106#discussion_r778682042



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/complexTypeExtractors.scala
##########
@@ -236,8 +236,6 @@ case class GetArrayItem(
     failOnError: Boolean = SQLConf.get.strictIndexOperator)
   extends BinaryExpression with GetArrayItemUtil with ExpectsInputTypes with 
ExtractValue {
 
-  def this(child: Expression, ordinal: Expression) = this(child, ordinal, 
SQLConf.get.ansiEnabled)

Review comment:
       The `SQLConf.get.ansiEnabled` here should be 
`SQLConf.get.strictIndexOperator`. But it doesn't matter since the code here is 
not reachable.




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