Hi,
I need help on index for the below query and explain plan. Please help me what is index required for the below query.
explain select object_remove(success, ‘child’).* from SucceedData.RQS_MOUNT success UNNEST success.data AS child where child.order_Number=‘SZZXNFQ’ limit 1
Explain Plan:
[
{
“plan”: {
"#operator": “Sequence”,
"~children": [
{
"#operator": “Sequence”,
"~children": [
{
"#operator": “PrimaryScan”,
“index”: “#primary”,
“keyspace”: “SucceedData”,
“namespace”: “default”,
“using”: “gsi”
},
{
"#operator": “Parallel”,
"~child": {
"#operator": “Sequence”,
"~children": [
{
"#operator": “Fetch”,
“as”: “success”,
“keyspace”: “SucceedData”,
“namespace”: “default”,
“projection”: “RQS_MOUNT
”
},
{
"#operator": “Unnest”,
“as”: “child”,
“expr”: “(success
.data
)”
},
{
"#operator": “Filter”,
“condition”: “((child
.order_Number
) = “S171225K0ZZXNFQ”)”
},
{
"#operator": “InitialProject”,
“result_terms”: [
{
“expr”: “object_remove(success
, “child”)”,
“star”: true
}
]
},
{
"#operator": “FinalProject”
}
]
}
}
]
},
{
"#operator": “Limit”,
“expr”: “1”
}
]
},
“text”: “select object_remove(success, ‘child’).* from SucceedData.RQS_MOUNT success UNNEST success.data AS child where child.order_Number=‘SZZXNFQ’ limit 1”
}
]