-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SNOW-1566363] Add telemetry for new compilation stage #2394
base: main
Are you sure you want to change the base?
Conversation
ebe1e26
to
786b795
Compare
QUERY_PLAN_HEIGHT = "query_plan_height" | ||
QUERY_PLAN_NUM_SELECTS_WITH_COMPLEXITY_MERGED = ( | ||
"query_plan_num_selects_with_complexity_merged" | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we move these to _internal/compiler/telemetry_constants.py
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sfc-gh-aalam do you mean move all QUERY_PLAN_HEIGHT, QUERY_PLAN_NUM_SELECTS_WITH_COMPLEXITY_MERGED, QUERY_PLAN_NUM_DUPLICATE_NODES, QUERY_PLAN_COMPLEXITY all to telemetry_constants.py?
or just QUERY_PLAN_NUM_SELECTS_WITH_COMPLEXITY_MERGED. i felt if we want to move, probably be better to move all of them, instead of just wan , which seems little bit wired
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually, let's move all those over, even though those telemetry are not just issued during the compilation stage, but the information is used by the compilation stage,
1818bfc
to
f1d4b34
Compare
Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
SNOW-1566363
Fill out the following pre-review checklist:
Please describe how your code solves the related issue.
add status for number of selectStatement with complexity merged
2.add status for number of cte created during repeated subquery elimination