TimonKK / clickhouse

NodeJS client for ClickHouse
Apache License 2.0
220 stars 122 forks source link

Unable to insert object with utf8mb4 #148

Open vladaman opened 1 year ago

vladaman commented 1 year ago

We get following error when trying to insert an object which contains string with emoticons.

Error:

2023-06-10T22:34:16: Error: Cannot parse input: expected '\t' before: '-1\t4874366855452948\t8073632856349712\t3908868827160565\t0\t146\t1\t8\t0\tRadegast Rázná 10 0,5 l\t28182\t31000\t28182\t5\t0\tPIVO\t0\t0\t0\t1.1\t0\t0\t0\t0\t2818\t1686429252120': Could not print diagnostic info because two last rows aren't in buffer (rare case)     at getErrorObj (node_modules/clickhouse/index.js:232:14)