summaryrefslogtreecommitdiffstats
path: root/yql/essentials/docs/en/syntax/pragma/debug.md
blob: cd547238734927d8af622020d839e1755f7cd46c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Debugging and service settings {#debug}

## `config.flags("ValidateUdf", "Lazy")`

| Value type | Default |
| --- | --- |
| String: None/Lazy/Greedy | None |

Validating whether UDF results match the declared signature. The Greedy mode enforces materialization of lazy containers, although the Lazy mode doesn't.

## `config.flags("Diagnostics")`

| Value type | Default |
| --- | --- |
| Flag | false |

Getting diagnostic information from YQL as an additional result of a query.

## `DebugPositions`

Disable deduplication of expression evaluation that may lead to errors (`Ensure`/`Unwrap` or UDF call).
This may result in slower query at the cost of increasing the precision of the position that will be tied to a runtime error.