Skip to content

Get the details of Liveboard formuals #215

Discussion options

You must be logged in to vote

You can create a sql view over the TML table. I have included a simple sample for the sql view:

WITH base AS (
SELECT
CLUSTER_GUID,
ORG_ID,
OBJECT_GUID,
TRY_PARSE_JSON(TML_BLOB) as parsed_json
FROM CSTOOLS.TS_METADATA_TML
) SELECT
base.CLUSTER_GUID,
base.ORG_ID,
base.OBJECT_GUID,
-- TO PARSE ON NEXT LVL
v.value:answer:formulas as FORMULAE,
FROM
base,
LATERAL FLATTEN(input => parsed_json:liveboard:visualizations) v

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Subhransuusa
Comment options

@TS-sumeet-jain
Comment options

Answer selected by Subhransuusa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants