This can be used in pipelines that pass data back and forth between Arrow andDuckDB.
Details
Note that you can only callcollect() orcompute() on the result of thisfunction once. To work around this limitation, you should either only callcollect() as the final step in a pipeline or callas_arrow_table() on theresult to materialize the entire Table in-memory.