Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-15169

[Python] _import_from_c() / _export_to_c() methods should accept capsules

    XMLWordPrintableJSON

Details

    Description

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

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h
                  4h