We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standardization keeps metadata of root fields, but does not preserve metadata of nested fields.
Run standardization of a dataframe with a following schema:
{ "type": "struct", "fields": [ { "name": "STRING_FIELD", "type": "string", "nullable": true, "metadata": { "maxLength": 8 } }, { "name": "NESTED_STRUCT", "type": { "type": "struct", "fields": [ { "name": "NESTED_STRING", "type": "string", "nullable": true, "metadata": { "maxLength": 5 } } ] } } ] }
The result will look like this (nested field's metadata is lost):
{ "type": "struct", "fields": [ { "name": "STRING_FIELD", "type": "string", "nullable": true, "metadata": { "maxLength": 8 } }, { "name": "NESTED_STRUCT", "type": { "type": "struct", "fields": [ { "name": "NESTED_STRING", "type": "string", "nullable": true, "metadata": { } } ] } } ] }
STRING_FIELD
NESTED_STRING
"maxLength": 5
Standardization should preserve all metadata.
--
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Standardization keeps metadata of root fields, but does not preserve metadata of nested fields.
To Reproduce
Run standardization of a dataframe with a following schema:
The result will look like this (nested field's metadata is lost):
STRING_FIELD
has metadata retained.NESTED_STRING
has list metadata field"maxLength": 5
Expected behavior
Standardization should preserve all metadata.
Screenshots
--
Desktop (please complete the following information):
--
Additional context
--
The text was updated successfully, but these errors were encountered: