theirix opened a new pull request, #21737: URL: https://github.com/apache/datafusion/pull/21737
## Which issue does this PR close? - Closes #14761. ## Rationale for this change Moving from physical types: `get_example_types` and the information schema use Arrow `DataType`, but it is sufficient to use Datafusion's `NativeType` instead. It is a logical continuation of #15965 ## What changes are included in this PR? - Switch `get_example_types` to provide `NativeType` - Remove `NUMERICS` finally (a brush-up for #18092) - Switch information schema to use native type. - Repurpose the old `get_data_types` helper `get_data_type_for_schema` to resolve a NativeType back to the most appropriate DataType to show in schema - Add missing conversions for `Struct`, `Union`, `Map` to this helper ## Are these changes tested? Tests are passing ## Are there any user-facing changes? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
