paleolimbot opened a new issue, #20675:
URL: https://github.com/apache/datafusion/issues/20675

   ### Is your feature request related to a problem or challenge?
   
   In #17986 one of the updates we made was to change the SQL utility 
`convert_data_type(&self, sql_type: &SQLDataType) -> Result<DataType>` to 
return a `FieldRef`; however, extension `TypePlanner`s can't take advantage of 
this to plan `SQLDataType`s to Arrow extension types (and there are a number of 
built-in `SQLDataType`s that have existing extension types, such as UUID).
   
   If we update the type planner to incorporate these types we can start to 
open up the utility of the SQL parser for systems that need wider type support 
(e.g., my favourite one...geometry!).
   
   ### Describe the solution you'd like
   
   We can add a member to `TypePlanner` that returns a field (falling back on 
the existing member for backward compatibility).
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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]

Reply via email to