Join Slack
Powered by
This message was deleted.
# general
s
Slackbot
08/30/2023, 3:46 PM
This message was deleted.
j
John Kowtko
08/30/2023, 4:05 PM
Hi Zohaib, yes there are a number of JSON related functions that allow you to convert strings into object format and also to extract objects or individual values from JSON fields or converted strings.
https://druid.apache.org/docs/latest/misc/math-expr#json-functions
You can also ingest data directly into a nested JSON format into Druid:
https://druid.apache.org/docs/latest/querying/sql-data-types#nested-columns
Hopefully this is what you are looking for ... if not, let us know. Thanks. John
z
zohaib daruwala
08/30/2023, 4:08 PM
Can you please provide an example as i have tried json_object function but it is not working
j
John Kowtko
08/30/2023, 4:21 PM
Here's an example using the kttm-nested demo table ... pulling both simple typed elements, and JSON sub-object.
z
zohaib daruwala
08/30/2023, 4:22 PM
Thanks i will check
Open in Slack
Previous
Next