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

test analytics: add logging #27914

Conversation

nrainer-materialize
Copy link
Contributor

@nrainer-materialize nrainer-materialize commented Jun 27, 2024

Commits

034ae9e test analytics: improve logging
b84e099 test analytics: log duration of DML statements
d8bbda8 test analytics: log duration of queries
4c253a0 test analytics: enable verbose mode for queries for now
8f58358 test analytics: search: extract function
b77fb13 test analytics: search: print duration
a4f5311 test analytics: search: non-verbose mode for queries

@@ -22,7 +23,7 @@ def __init__(self, database_connector: DatabaseConnector):
def query_data(
self,
query: str,
verbose: bool = False,
verbose: bool = True,
Copy link
Contributor

Choose a reason for hiding this comment

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

Intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes (a02243e), to gain some insights about durations.

@nrainer-materialize nrainer-materialize merged commit 99724d6 into MaterializeInc:main Jun 27, 2024
8 checks passed
@nrainer-materialize nrainer-materialize deleted the test-analytics/logging branch June 27, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants