unique_values
Extract distinct values matched by a JSONPath expression from a loaded JSON document and return each unique value with occurrence counts for data profiling.
Instructions
Get distinct values matched by a JSONPath expression.
Args: alias: The alias of the loaded document. expression: A JSONPath expression (e.g. "$.users[*].role").
Returns: A list of unique values with count information.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | ||
| expression | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |