Skip to content

ES|QL toArrowReader does not properly handle ReadableStream responses #2787

Closed
@JoshMock

Description

@JoshMock

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.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions