Skip to content

Enable parsing of numbers as strings in JSON input formats and add regression tests#1071

Merged
yokofly merged 1 commit intodevelopfrom
json_numbers_as_strings_regression
Dec 18, 2025
Merged

Enable parsing of numbers as strings in JSON input formats and add regression tests#1071
yokofly merged 1 commit intodevelopfrom
json_numbers_as_strings_regression

Conversation

@yokofly
Copy link
Copy Markdown
Collaborator

@yokofly yokofly commented Dec 18, 2025

Please write user-readable short description of the changes:
cherry-pick one line harmless change from

DROP STREAM IF EXISTS t1;
CREATE STREAM t1 (cl_ord_id string);

-- expect failure (default off)
INSERT INTO t1 FORMAT JSONEachRow {"cl_ord_id": 12345};

-- enable, then works
SET input_format_json_read_numbers_as_strings = 1;
INSERT INTO t1 FORMAT JSONEachRow {"cl_ord_id": 12345};
SELECT cl_ord_id FROM table(t1);

@yokofly yokofly merged commit bb09fc5 into develop Dec 18, 2025
8 of 11 checks passed
@yokofly yokofly deleted the json_numbers_as_strings_regression branch December 18, 2025 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant