skip to Main Content

JSON from snowflake

I'm working with Snowflake. I'm executing these statements: create table test( src varchar ); insert into test values ('{"value": {"evaluation_forms": [ {"evaluations": [ {"channel_meta": {"after_call_work_time": [], "agent_first_name": ["KATRINA"], "agent_hung_up": [], "agent_last_name": ["COX"], "agent_unique_id": ["LO_00130604"], "agent_username": [], "alternate_call_id": [], "total_time": []…

VIEW QUESTION

Create an object from a json value

I have a json file (estate.json) that looks like this: { "type": "FeatureCollection", "features": [ { "type": "Feature", "id": "724543e2-bd9d-4bef-b9d6-a3ae73d330b7", "properties": { "objektidentitet": "724543e2-bd9d-4bef-b9d6-a3ae73d330b7", "adressplatsattribut": { "adressplatstyp": "Gatuadressplats", "insamlingslage": "Infart" } } }, { "type": "Feature", "id": "1209dd85-d454-46be-bf9c-f2472095fcdc", "properties": {…

VIEW QUESTION

Json – JQ – Groupby and concatenate text objects

Not quite getting it. I can produce multiple lines but cannot get multiple entries to combine. Looking to take Source JSON and output to CSV as shown: Source JSON: [{"State": "NewYork","Drivers": [ {"Car": "Jetta","Users": [{"Name": "Steve","Details": {"Location": "Home","Time": "9a-7p"}}]}, {"Car":…

VIEW QUESTION
Back To Top
Search