apache/horaedb

INSERT INTO SELECT in a streaming way

jiacai2050 opened this issue · 0 comments

Describe This Problem

Followup for #1536, now we will collect all rows to vec before do insert, it's best if we can do insert select in a streaming way.

Proposal

Support insert select like

while let Some(rows) = query.next_batch().await? {
  insert(rows);
}

Additional Context

No response