apla / node-clickhouse

Yandex ClickHouse driver for nodejs
MIT License
216 stars 50 forks source link

How to pass the argument #30

Closed gclinux closed 4 years ago

gclinux commented 5 years ago

clickhouse-client --input_format_allow_errors_num=1 \ --input_format_allow_errors_ratio=0.1 \ --query="INSERT INTO test.formats_test FORMAT TSV"

how to pass the --input_format_allow_errors_ratio

nezed commented 5 years ago

Passing those setting to queryOptions should help

https://github.com/apla/node-clickhouse#new-clickhouse-options