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

[Python] Accept bytes object in pyarrow.substrait.run_query

    XMLWordPrintableJSON

Details

    Description

      pyarrow.substrait.run_query() only accepts a PyArrow buffer, and will segfault if something else is passed. People might try to pass a Python bytes object, which isn't unreasonable. For example, they might use the value returned by protobufs SerializeToString() function, which is Python bytes. At the very least, we should not segfault.

      Attachments

        Issue Links

          Activity

            People

              milesgranger Miles Granger
              wjones127 Will Jones
              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 10m
                  2h 10m