Skip to content

Commit

Permalink
Merge pull request #181 from yunyu/ylin/fix-int64-dbapi
Browse files Browse the repository at this point in the history
Disable output_format_json_quote_64bit_integers
  • Loading branch information
auxten authored Jan 9, 2024
2 parents f1a3e72 + 08d105a commit 4f9c9e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Core/Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ class IColumn;
M(UInt64, format_binary_max_array_size, 1_GiB, "The maximum allowed size for Array in RowBinary format. It prevents allocating large amount of memory in case of corrupted data. 0 means there is no limit", 0) \
M(URI, format_avro_schema_registry_url, "", "For AvroConfluent format: Confluent Schema Registry URL.", 0) \
\
M(Bool, output_format_json_quote_64bit_integers, true, "Controls quoting of 64-bit integers in JSON output format.", 0) \
M(Bool, output_format_json_quote_64bit_integers, false, "Controls quoting of 64-bit integers in JSON output format.", 0) \
M(Bool, output_format_json_quote_denormals, false, "Enables '+nan', '-nan', '+inf', '-inf' outputs in JSON output format.", 0) \
M(Bool, output_format_json_quote_decimals, false, "Controls quoting of decimals in JSON output format.", 0) \
M(Bool, output_format_json_quote_64bit_floats, false, "Controls quoting of 64-bit float numbers in JSON output format.", 0) \
Expand Down
2 changes: 1 addition & 1 deletion tests/test_dbapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_insert_and_read_data(self):
cur.execute("""
CREATE TABLE rate (
day Date,
value Int32
value Int64
) ENGINE = ReplacingMergeTree ORDER BY day""")

# Insert single value
Expand Down

0 comments on commit 4f9c9e1

Please sign in to comment.