Github user brkyvz commented on the issue:
https://github.com/apache/spark/pull/16929
Thanks @HyukjinKwon took a pass. My comments are mainly:
1. We don't need to support APIs for both `StructType` and `ArrayType`. I
would rather just add an API for `DataType` and `require` that the `DataType`
is either `StructType` or `ArrayType`.
2. If a user specifies the schema as an `Array` but one of the rows has a
JSON object, we should still consider it an Array of records. No need to
separate `Array support` and `Object support`
---
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]