ClickHouse / clickhouse-js

Official JS client for ClickHouse DB
https://clickhouse.com
Apache License 2.0
225 stars 27 forks source link

Query containing `;` fails to execute. #116

Closed lucasavila00 closed 2 years ago

lucasavila00 commented 2 years ago
SELECT ';' as x

This query will create a syntax error because of the "removeSemi" function.

https://github.com/ClickHouse/clickhouse-js/blob/bd941ec142b524120b25777b4947074c8f1d7b56/src/client.ts#L202-L208

slvrtrn commented 2 years ago

Resolved in 0.0.7