Github user JoshRosen commented on the pull request:
https://github.com/apache/spark/pull/12120#issuecomment-204619390
There's one corner-case related to null-handling that I'd like to clarify
(and probably add tests for):
- I think that `CASE WHEN` can return `null` if it's defined without an
`ELSE` case. I think it's also the cast that casting preserves nullness, so
this should be fine but deserves a code comment and test just to be sure.
---
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]