Support Apache Arrow in SQL cells for database clients
Is your feature request related to a problem? Please describe. Database clients have to return arrays off objects since Apache arrow is not supported.
Describe the solution you'd like Support Apache Arrow tables.
Additional context https://observablehq.com/@cmudig/duckdb could return arrow but has to materialize inefficient arrays of objects.
Is there a plan for supporting this soon? It would be great to make the SQL support more robust and efficient.
We are actively looking into this.
@wiltsecarpenter did you make progress on this. Annie sent me a suggestion for the DuckDB client in https://observablehq.com/compare/357f1a71f976f173...ef33ae1a093daf79 and it's not using Arrow directly yet. Calling .toArray().map((r) => Object.fromEntries(r)) is super inefficient and I would like to avoid it.