Github user frreiss commented on the pull request:
https://github.com/apache/spark/pull/11184#issuecomment-193530307
This change adds a new attribute `prettyDataType` to about two dozen
different classes. The new attribute is populated with code that is mostly
copied and pasted from the code to set the existing `dataType` attribute. The
copied code has been modified to set all "nullable" attributes in nested types
to TRUE. As far as I can see, the `prettyDataType` attribute is only used in
one place.
It would be cleaner to compute `prettyDataType` in a single function by
walking a visitor over the tree stored in the `dataType` field.
---
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]