feat(json): add type_json_skip_invalid_typed_paths setting#89886
Merged
Avogar merged 1 commit intoClickHouse:masterfrom Dec 4, 2025
Merged
Conversation
Contributor
|
Workflow [PR], commit [f6c7d3d] Summary: ❌
|
9b6ee8e to
7a2041a
Compare
75573c7 to
d953314
Compare
Contributor
Author
|
@nihalzp I think this is good to go, the test failures look unrelated and transient |
Member
|
I will look at it this week |
Avogar
reviewed
Nov 26, 2025
Avogar
reviewed
Nov 26, 2025
Avogar
reviewed
Nov 26, 2025
Avogar
reviewed
Nov 26, 2025
d953314 to
63d5157
Compare
63d5157 to
f6c7d3d
Compare
Contributor
Author
|
ok @Avogar - I pushed an update that should address your feedback! |
Avogar
approved these changes
Dec 4, 2025
56 tasks
Member
|
Stateless tests (amd_msan, parallel) - #90683 |
Merged
via the queue into
ClickHouse:master
with commit Dec 4, 2025
bf45f13
123 of 130 checks passed
|
Hi @maxjustus thanks for implementing this. Is there a way to track when typed paths are skipped with this setting enabled, maybe via warnings? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Add setting
type_json_skip_invalid_typed_pathsto disable exceptions for inserts/type casts to JSON type when input JSON cannot be cast to explicit typed paths in JSON type. Falls back to null/zero value of typed path. Closes #86917Documentation entry for user-facing changes
Details
Adds
type_json_skip_invalid_typed_pathssetting so you can gracefully handle unknown input data when you want to always have a specific type for a given path: