From c47e0c6e34bf3ebb61c4f6cee1d13d2f16bf20d3 Mon Sep 17 00:00:00 2001 From: Etienne Donneger Date: Wed, 3 Jul 2024 09:36:55 -0400 Subject: [PATCH] Enable option for unquotting 64bits integers Keep consistency with schemas by returning integers as numbers in JSON instead of strings. --- src/clickhouse/client.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/clickhouse/client.ts b/src/clickhouse/client.ts index b443e51..4552940 100644 --- a/src/clickhouse/client.ts +++ b/src/clickhouse/client.ts @@ -7,8 +7,9 @@ const client = createClient({ ...config, clickhouse_settings: { allow_experimental_object_type: 1, - readonly: "1", - exact_rows_before_limit: 1 + exact_rows_before_limit: 1, + output_format_json_quote_64bit_integers: 0, + readonly: "1" }, application: APP_NAME, });