Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: json string column #1034

Merged
merged 1 commit into from
Jan 30, 2025
Merged

feat: json string column #1034

merged 1 commit into from
Jan 30, 2025

Conversation

SpencerTorres
Copy link
Member

Summary

Partially addresses #939

This adds a ColJSONStr type for properly encoding JSON columns on the server. It's just ColStr but with a u64 prefix for the JSON serializationVersion. Requires output_format_native_write_json_as_string to be enabled, however this setting does not currently work due to this bug ClickHouse/ClickHouse#73924.

Checklist

  • Unit and integration tests covering the common scenarios were added

Let me know if I need to add/remove anything else. Thanks!

@SpencerTorres SpencerTorres changed the title JSON String column feat: JSON String column Jan 29, 2025
@SpencerTorres SpencerTorres changed the title feat: JSON String column feat: json string column Jan 29, 2025
@ernado ernado merged commit 3f22486 into main Jan 30, 2025
17 checks passed
@ernado ernado deleted the json_string_column branch January 30, 2025 13:24
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.

2 participants