Enable async_insert

This commit is contained in:
Kamil Kisiela 2022-10-06 20:55:35 +02:00 committed by GitHub
parent 288e56f830
commit df4e018064
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,6 +147,9 @@ async function writeCsv(
body,
searchParams: {
query,
async_insert: 1,
wait_for_async_insert: 0,
async_insert_max_data_size: 2_000_000,
},
username: config.username,
password: config.password,