0

I am working with tableau and need to parse JSON array which has stored in Apache Cassandra. I could able make connect tableau with Cassandra through spark as described here. I have succeeded to parse JSON object by using jsonpath, but I don't get a solution to parse JSON array.

Please see the sample structure of my data

[{ "name": "Obama" },{ "name": "Barak" }]

Any suggestion please, thanks in advance.

1 Answer 1

0

Please refer this link to get solution for this.

I have applied bellow solution from the reference

SELECT 
    get_json_object(concat(concat('{"root":', jt.value), '}'), '$.root')
FROM jt;
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.