jsonpath in bigquery doesn't support @ for filter. Suggestions for alternatives?
问题 At https://jsonpath.curiousconcept.com/ with this JSON document: [{ "key": "name", "value": "john doe" }, { "key": "age", "value": "8" }, { "key": "gender", "value": "male" }] I can use JsonPath expression $[?(@.key=="age")].value to extract the value ["8"] which is what I want. However, when I try and use that same JsonPath in bigquery like so: select JSON_EXTRACT_SCALAR('[{"key": "name","value": "john-doe"}, {"key": "age","value": "8"}, {"key": "gender","value": "male"}]', '$[?(@.key=="age"