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

Support Object/JSON type? #22

Open
franchb opened this issue May 28, 2022 · 4 comments
Open

Support Object/JSON type? #22

franchb opened this issue May 28, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@franchb
Copy link

franchb commented May 28, 2022

New data type Object(<schema_format>), which supports storing of semi-structured data (for now JSON only). Data is written to such types as string. Then all paths are extracted according to format of semi-structured data and written as separate columns in most optimal types, that can store all their values. Those columns can be queried by names that match paths in source data. E.g data.key1.key2 or with cast operator data.key1.key2::Int64.

https://clickhouse.com/docs/en/whats-new/changelog/#experimental-feature-1

@vmihailenco vmihailenco added the enhancement New feature or request label Jun 9, 2022
@vmihailenco vmihailenco self-assigned this Jun 9, 2022
@iam047801
Copy link

@vmihailenco, hey there! Will you implement it? I need it too.

@vmihailenco
Copy link
Member

There are multiple issues with JSON datatype and none is working on them: https://github.com/ClickHouse/ClickHouse/issues?q=is%3Aissue+is%3Aopen+label%3Acomp-type-object

@StealthBadger747
Copy link

Looks like the JSON data type is now obsolete.
See ClickHouse/ClickHouse#59367 and ClickHouse/ClickHouse#46190

Looks like I will have to find a new strategy for storing dynamic user defined data.

@anishjain94
Copy link

@StealthBadger747 Were you able to find a new strategy for storing dynamic types or json?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants