Github user HyukjinKwon commented on the issue:
https://github.com/apache/spark/pull/18945
I agree with @BryanCutler in general. `None` makes more sense to me to
infer the type in this case.
Another rough thought for a feasible way I could think to keep the current
behaviour (to be more specific, to match the types with / without Arrow
optimization, IIUC) is, to make a generator wrapper to check if `None` exists
in the results for columns where the type is int and nullable.
---
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]