Hello,
I have a SQL query as data source for my table component. One of the columns is a JSON stored as varchar(max). I want to access the json data and display it in my table column instead of the whole JSON.
I've read all the topics about this problem but I can't seem to solve it. Here's an example of my JSON, but the EnvGroupList is not fixed and the STAGING part, for example, may be missing from the list.
{
"dataIntegrationStep":"IMPORT",
"ruleName":"REF FLIGHT SQL PROD",
"ruleDescription":"REF FLIGHT SQL PROD DESCRIPTION",
"enabled":true,
"dataTypes":[
"EVENT",
"EFB"
],
"dimensions":[
"COMPLETENESS",
"TIMELINESS"
],
"groups":[
"Descent",
"Data_Source"
],
"envGroupList":[
{
"id":"STAGING",
"envList":[
{
"id":"abc-staging"
},
{
"id":"def-staging"
}
]
},
{
"id":"INTEGRATION",
"envList":[
{
"id":"ghi-integration"
},
{
"id":"fyz-integration"
}
]
},
{
"id":"PRODUCTION",
"envList":[
{
"id":"ttt"
},
{
"id":"okl"
},
{
"id":"mpc"
}
]
}
],
"ruleDefinition":{
"ruleType":"REF_FLIGHT_SQL",
"context":{
"sql":"select * from test"
}
}
}
here is my table :