-
Notifications
You must be signed in to change notification settings - Fork 92
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
Enable :nested-field-columns
feature in the driver
#252
Comments
From your description, it looks like we need to enable the https://github.com/metabase/metabase/blob/v0.50.7/src/metabase/driver.clj#L482-L483
This is probably also related: https://www.metabase.com/docs/latest/data-modeling/json-unfolding Is it correct? |
Yes, that's correct. Enabling the |
@frankyso, However, luckily, the new semi-structured data type (to be used in exactly these scenarios) is planned to be available in 24.7 (see ClickHouse/ClickHouse#54864 (comment)). Using this new type will allow the implementation of the So, when 24.7 (or maybe even the head version containing the required changeset) is out, I will start working on this in the driver code. |
:nested-field-columns
feature in the driver
Hello @slvrtrn ! The new JSON field was released a couple of versions ago (behind a feature flag) but its usage with Metabase is not very convenient :/ Selecting any property of the JSON field without casting it to a proper type fails with:
Would the implementation of Thanks! |
@cptjacky, I think we will need to wait until ClickHouse/clickhouse-java#1833 is resolved. |
You're right! I'll subscribe to that issue too, thank you! |
Enhance ClickHouse Driver to Support JSON Parsing
Introduction
Feature Description
SELECT JSONExtractRaw(data, '$.key') FROM table_name WHERE JSONHas(data, '$.key');
Benefits
Additional Context
JSONExtractRaw
,JSONHas
, etc., within the Metabase ClickHouse driver.The text was updated successfully, but these errors were encountered: