You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow SQL TypePlanner to plan SQL types as extension types #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 TypePlanners can't take advantage of this to plan SQLDataTypes to Arrow extension types (and there are a number of built-in SQLDataTypes 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).
Activity
Allow SQL `TypePlanner` to plan SQL types as extension types (#20676)
Allow SQL `TypePlanner` to plan SQL types as extension types (apache#…