Open
Description
Hello,
I browsed the source code of chDB today (having read DuckDBs papers first) and had two questions:
As of today, chDB takes over the final query result (which is presumably refcounted) for further processing (see LocalServer.cpp).
-
Is it planned (or even possible) to have a more fine-granular mechanism for handing over results based on the data chunks used internally for query processing? In DuckDB, the application can fetch individual result chunks by triggering
pull()
on the execution plan. -
Likewise, I did not find a zero-copy mechanism for source data, meaning that right now the host process must first write the data to process to a local file and then let the embedded ClickHouse load it via the file engine. Did I miss something?
Thanks!