Skip to content

output_format_native_encode_types_in_binary_format setting makes insert slow and throw error #73883

@PedroTadim

Description

@PedroTadim

Describe the bug
This only happens in the current head, it must be a recent change. On 24.12 release, the INSERT goes without problems.

How to reproduce
Run:

CREATE TABLE t0 (c0 Int) ENGINE = Memory;
INSERT INTO TABLE t0 (c0) SETTINGS output_format_native_encode_types_in_binary_format = 1 VALUES (1);
/*
very slow, then `JSON.parse: unexpected character at line 1 column 1 of the JSON data`
*/

Fiddle: https://fiddle.clickhouse.com/1db6078f-ae26-496a-8672-6ed73eab905e

Metadata

Metadata

Assignees

Labels

fuzzProblem found by one of the fuzzerspotential bugTo be reviewed by developers and confirmed/rejected.unexpected behaviourResult is unexpected, but not entirely wrong at the same time.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions