AngersZhuuuu opened a new pull request, #37453:
URL: https://github.com/apache/spark/pull/37453

   ### What changes were proposed in this pull request?
   ArrayType's parameter `containsNull` means this array can contains null, 
related to nullable, this is easy to misunderstand in reading logic. In this 
pr, we  refactor the comment about `containsNull` and add a  method in 
ArrayType to replace the usage of `containsNull`
   ```
   def nullable: Boolean = containsNull
   ```
   
   
   ### Why are the changes needed?
   Refactor code
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Not need
   


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