distinctJSONPaths
distinctJSONPaths
Introduced in: v24.9
Calculates a list of distinct paths stored in a JSON column.
Syntax
Arguments
json— JSON column.JSON
Returned value
Returns the sorted list of paths. Array(String)
Examples
Basic usage with nested JSON
With declared JSON paths