paleolimbot opened a new pull request, #20676: URL: https://github.com/apache/datafusion/pull/20676
## Which issue does this PR close? - Closes #20675 ## Rationale for this change The existing enum `SQLDataType` has a number of existing members that have canonical Arrow extension type equivalents; however, the `TypePlanner` trait only supports returning `DataType` (which cannot represent an Arrow extension type). ## What changes are included in this PR? This PR adds a `fn plan_type_field()` member to the `TypePlanner` trait. The only place that the previously existing `plan_type()` member was called was already wrapping it in a `FieldRef` and so few other changes were needed. ## Are these changes tested? Yes ## Are there any user-facing changes? No, existing `TypePlanner`s will continue to work. -- 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]
