Antoine Pitrou created ARROW-15169:
--------------------------------------

             Summary: [Python] _import_from_c() / _export_to_c() methods should 
accept capsules
                 Key: ARROW-15169
                 URL: https://issues.apache.org/jira/browse/ARROW-15169
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Python, R
            Reporter: Antoine Pitrou
             Fix For: 7.0.0


Currently, the R-Python inteoperation code passes pointer values as 
floating-point numbers (!) when calling into Python.

See these lines where the conversion is done:
https://github.com/apache/arrow/pull/11919/files#diff-bab09eda9e55267d74a2e565c81dbe41c42054ea7d62bf3ccdd529435a6de839R26

and see here for the available conversions:
https://github.com/apache/arrow/pull/11919/files#diff-54bdca838426f5d7f0a4474d4c359643c4cf6be556fa683a2ada28389887faa6R24

We should at least try passing as integer64 or raw...



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to