jsonextractscalar
This section contains reference documentation for the JSONEXTRACTSCALAR function.
Evaluates the 'jsonPath' on jsonField, returns the result as the type 'resultsType', use optional defaultValuefor null or parsing error.
JSONEXTRACTSCALAR(jsonField, 'jsonPath', 'resultsType', [defaultValue])
'jsonPath'and`` ``'resultsType'are literals. Pinot uses single quotes to distinguish them from identifiers.
The examples in this section are based on the . In particular we'll be querying the row WHERE id = 7044874109:
The following examples show how to use the JSONEXTRACTSCALAR function: