You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jdye64 (via GitHub)" <gi...@apache.org> on 2023/02/06 16:16:54 UTC

[GitHub] [arrow-datafusion-python] jdye64 opened a new issue, #172: Add a "mapping" struct for types

jdye64 opened a new issue, #172:
URL: https://github.com/apache/arrow-datafusion-python/issues/172

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   There are multiple codebases used in the `arrow-datafusion-python` project. You have
   
   - Arrow DataTypes
   - Python types
   - SQL Types
   
   and they all need a way to "map" to one another. By "map" I mean if I am working in Python and have a given type, say `str`, I would like to know what type that correlates to in both Arrow DataTypes and SQL. Likewise I might have a SQL query that returns a `VARCHAR` and like to know which type I should use in Python.
   
   **Describe the solution you'd like**
   A Rust struct that can house the mappings of types and provide simple static methods for acquiring those type mappings.
   
   **Describe alternatives you've considered**
   None
   
   **Additional context**
   None
   


-- 
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-unsubscribe@arrow.apache.org.apache.org

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


[GitHub] [arrow-datafusion-python] andygrove closed issue #172: Add a "mapping" struct for types

Posted by "andygrove (via GitHub)" <gi...@apache.org>.
andygrove closed issue #172: Add a "mapping" struct for types
URL: https://github.com/apache/arrow-datafusion-python/issues/172


-- 
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-unsubscribe@arrow.apache.org

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