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

[R] Provide backward compatibility for bridge to older versions of pyarrow

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 7.0.0
    • R

    Description

      After ARROW-15169 is merged, the Python--R bridge code will properly use external pointers to pass references to C API structures. The changes made on the R side will (probably) only work with the new pyarrow version. If it doesn't, it's not hard to provide backward compatibility:

      pa <- reticulate::import("pyarrow")
      if (package_version(pa$`__version__`) >= "6.0.0.9000") {
        # the new code
      } else {
        # the old code
      }
      #> NULL
      

      Attachments

        Issue Links

          Activity

            People

              paleolimbot Dewey Dunnington
              paleolimbot Dewey Dunnington
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 2h 20m
                  2h 20m