Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.

Block produces Errors, PDT build impossible #5

Open
adesso-thomasrose opened this issue Aug 24, 2022 · 1 comment
Open

Block produces Errors, PDT build impossible #5

adesso-thomasrose opened this issue Aug 24, 2022 · 1 comment

Comments

@adesso-thomasrose
Copy link

Incremental PDT Build never works:
SQL Error in incremental PDT: Failed to retrieve data - Resources exceeded during query execution: The query could not be executed in the allotted memory. Peak usage: 122% of limit. Top memory consumer(s): sort operations used for analytic OVER() clauses: 99% other/unattributed: 1%

@davidbrinegar
Copy link
Contributor

Hello,

Another issue relating to scaling of the query had resolution by limiting the number of events captured per session. This refinement template (attached) adds a QUALIFY clause to the initial PDT to limit the number of captured events to <= 10,000 per session. In addition, the increment period has been reduced to 2 days instead of 3. This may help resolve the resource exceeded errors being encountered.

refinement_template.lkml.txt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants