dongjoon-hyun commented on PR #59963:
URL: https://github.com/apache/spark/pull/59963#issuecomment-6541006799

   Thank you for the review, @viirya.
   
   1. There was no reason for the wrapping. It came from the original 
reproduction, so I simplified the predicate.
   2. You are right about `INT` literal indexes, so I updated the description. 
One exception is the other integral types: `IntegerLiteral` doesn't match `0L`, 
so `ORDER BY array(coalesce(s, 'z'), s)[0L] LIMIT 1` still fails with 
`CompileException` on 4.0.4 through 4.3.0. In addition, `array(s)[5]` under 
ANSI reaches this code only since 4.3.0 (SPARK-58431).
   


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