jayzhan211 commented on issue #11513:
URL: https://github.com/apache/datafusion/issues/11513#issuecomment-2240983281

   Is it possible to have the mapping of the relation between arrow's DataType 
and `LogicalType` without `TypeRelation`?
   
   As long as there is only one `LogicalType` for each `arrow::DataType`, we 
can build up the mapping via `From/Into` conversion.
   
   > I was thining that a `DFSchema` could still wrap an arrow `Schema` but 
translate to `LogicalType`
   
   We can then easily get the `LogicalType` from `DataType` inside `Schema`.
   
   Is there any type mapping is not possible without `TypeRelation` 🤔 ? In 
other words, is there any `arrow::DataType` that 
   can be mapped to more than one `LogicalType`?


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to