You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a \b missing on each side of the parenthese group, which makes the regexp match JSON instead of JSONEachRow.
The regexp should be:
var formatRegexp = /FORMAT\s+\b(BlockTabSeparated|CSV|CSVWithNames|JSON|JSONCompact|JSONEachRow|Native|Null|Pretty|PrettyCompact|PrettyCompactMonoBlock|PrettyNoEscapes|PrettyCompactNoEscapes|PrettySpaceNoEscapes|PrettySpace|RowBinary|TabSeparated|TabSeparatedRaw|TabSeparatedWithNames|TabSeparatedWithNamesAndTypes|TSKV|Values|Vertical|XML)\b/i;
This fixes the issue.
I filed an issue several months ago on the @apla/node-clickhouse repo but I got no answer.
Could you correct this?
The text was updated successfully, but these errors were encountered:
There's a bug that prevents sending an INSERT query with a JSONEachRow format:
node-clickhouse/src/clickhouse.js
Line 255 in 1d45ede
There's a
\b
missing on each side of the parenthese group, which makes the regexp matchJSON
instead ofJSONEachRow
.The regexp should be:
This fixes the issue.
I filed an issue several months ago on the @apla/node-clickhouse repo but I got no answer.
Could you correct this?
The text was updated successfully, but these errors were encountered: