Description
toArrowReader
currently assumes the type of a streaming response is a Buffer
rather than a ReadableStream
, and the apache-arrow
package correctly detects the type at runtime and returns an asynchronous iterable in the latter case. The helper code does not properly account for this, nor do the unit tests or the documentation for this helper function.