Description
In master, GetArrayItem nullable is always true;
https://github.com/apache/spark/blob/cf133e611020ed178f90358464a1b88cdd9b7889/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/complexTypeExtractors.scala#L236
But, If input array size is constant and ordinal is foldable, we could make GetArrayItem nullability more precise.
Attachments
Issue Links
- is related to
-
SPARK-26747 Makes GetMapValue nullability more precise
- Resolved
- links to