Skip to content
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

[QPROF] Updating session params #1283

Merged
merged 2 commits into from
Sep 25, 2024
Merged

[QPROF] Updating session params #1283

merged 2 commits into from
Sep 25, 2024

Conversation

oualib
Copy link
Member

@oualib oualib commented Sep 25, 2024

@oualib oualib added the Performance QPROF, ... or anything related to query performance. label Sep 25, 2024
@oualib oualib added this to the VerticaPy 1.1.0 milestone Sep 25, 2024
@oualib oualib self-assigned this Sep 25, 2024
session_params_current allows to get the current params.
@@ -239,6 +241,9 @@ class QueryProfiler:
tables_dtypes: list
Datatypes of all the loaded
performance tables.
session_params: list
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
session_params: list
session_params_non_default: list

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You will need to change the name everywhere if you decide to accept this.

@@ -225,6 +225,8 @@ class QueryProfiler:
Current Transaction ID.
statement_id: int
Current Statement ID.
session_params_current: dict
Current Session Parameters.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Current Session Parameters.
Non Default Session Parameters used
to run the current/active query.

@@ -225,6 +225,8 @@ class QueryProfiler:
Current Transaction ID.
statement_id: int
Current Statement ID.
session_params_current: dict
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
session_params_current: dict
session_params_non_default_current: dict

@@ -239,6 +241,9 @@ class QueryProfiler:
tables_dtypes: list
Datatypes of all the loaded
performance tables.
session_params: list
Non Default Session Parameters used
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Non Default Session Parameters used
List of Non Default Session Parameters used

@@ -239,6 +241,9 @@ class QueryProfiler:
tables_dtypes: list
Datatypes of all the loaded
performance tables.
session_params: list
Non Default Session Parameters used
to run the transactions.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
to run the transactions.
to run all the queries that are profiled.

@oualib oualib merged commit e397408 into master Sep 25, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Performance QPROF, ... or anything related to query performance.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants