DP-700 · Question #33
You have a KQL database that contains two tables named Stream and Reference. Stream contains streaming data in the following format: Column name Data type Timestamp Datetime Geolocation Dynamic…
The correct answer is B. No. Changing the project operator to extend in the KQL queryset will not reduce runtime; in this context, project is used to select a subset of columns, whereas extend would add new columns while retaining all existing ones, potentially increasing the data volume passed through the…
Question
Options
- AYes
- BNo
How the community answered
(37 responses)- A24% (9)
- B76% (28)
Why each option
Changing the project operator to extend in the KQL queryset will not reduce runtime; in this context, project is used to select a subset of columns, whereas extend would add new columns while retaining all existing ones, potentially increasing the data volume passed through the pipeline.
Replacing project with extend in this scenario would result in passing more data down the pipeline because extend keeps all original columns, whereas project discards unwanted ones, making it inefficient for reducing runtime.
The project operator on line 04 is used to select a specific subset of columns after the join, effectively reducing the data's width for subsequent operations. Changing project to extend would instead retain all columns from the preceding join operation and then add any new calculated columns, leading to a wider dataset being processed by the filter and render stages, which would likely increase rather than decrease query runtime.
Concept tested: KQL project vs extend performance implications
Source: https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/projectoperator
Topics
Community Discussion
No community discussion yet for this question.