Github user cloud-fan commented on the issue:
https://github.com/apache/spark/pull/13909
I think the validation logic should be consistent across the system, you
can't add the null check in `CreateArray` just because it's easy to do.
Currently we do null check based on `nullable` property only at source side and
we should follow it. And the previous code doesn't have null check either.
BTW, this change has external influence, the error message for null map key
has been changed.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]