Closed mike-luabase closed 2 years ago
ClickHouse client version 21.12.3.32 (official build). Connected to ClickHouse server version 21.12.3 revision 54452.
As mentioned here, adding with
to this regex appears to fix the issue
if (query.match(/^(select|with|show|exists)/i)) {
The fix has been released
Queries with a CTE respond with the data as text without the normal JSON structure
result
Using clickhouse-client