sonar-verify-query
Verify query syntax. The query to verify goes in brackets and is not quoted: sonar-verify-query [ QUERY_TO_VERIFY ]. Each stage is parsed on its own and reported as one row, so a stage that fails does not stop the ones after it.
sonar-verify-query [ QUERY_TO_VERIFY ]
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| query_id | Integer | Query ID | e.g. 0. Nesting depth of the stage: 0 is the top level, 1 a sub-query in brackets |
| command | String | Command | Command to verify |
| offset | Integer | Offset | Command offset |
| is_driver | Boolean | Driver | e.g. true. Whether the stage is a data source. Absent on a stage that failed to parse |
| is_streamable | Boolean | Streamable | e.g. true. Whether the stage can process rows as they arrive |
| error | String | Error | Error message |