Github user mgaido91 commented on the issue:
https://github.com/apache/spark/pull/19492
@HyukjinKwon I am not sure that the amount of change is more important than
fixing a misbehavior, since now we are rejecting to parse valid JSONs.
Moreover, I think that most of the complexity introduced is to ensure that we
don't change behavior in any other place, namely that we don't affect the JSON
datasource. When/if we will extend the support to array of primitives also
there, then most of the divergence can be removed.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]