-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Improve readability of ReadRowsHelper debug log #26518
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
Improve readability of ReadRowsHelper debug log #26518
Conversation
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Joy Haldar.
|
|
I have emailed a signed copy of the Trino Foundation Individual CLA. |
plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/ReadRowsHelper.java
Outdated
Show resolved
Hide resolved
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Joy Haldar.
|
86a91de to
7f0be6d
Compare
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Joy Haldar.
|
|
Hello @raunaqmorarka , @ebyhr, any chance you might have information on my signed copy of the Trino Foundation Individual CLA being on record? |
|
@cla-bot check |
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Joy Haldar.
|
|
The cla-bot has been summoned, and re-checked this pull request! |
7f0be6d to
765a6c1
Compare
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Joy Haldar.
|
|
I've just received an email stating that my signed CLA has been received. |
|
@cla-bot check |
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Joy Haldar.
|
|
The cla-bot has been summoned, and re-checked this pull request! |
|
@cla-bot check |
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Joy Haldar.
|
|
The cla-bot has been summoned, and re-checked this pull request! |
765a6c1 to
3bd9fa3
Compare
|
@cla-bot check |
|
The cla-bot has been summoned, and re-checked this pull request! |
Description
The existing log statement in
ReadRowsHelperlogs the fullReadRowsResponseobject, which can contain large and unreadable serialized Arrow batches. This clutters the logs and makes debugging difficult.Example:
This change updates the log to:
This preserves useful logging for monitoring progress while avoiding unnecessary output of serialized record data.
Additional context and related issues
Fixes #25409 by replacing a verbose debug log that printed the entire
ReadRowsResponsewith a concise message logging only the stream name and offset.Screenshot (local run)
Trino running locally and logging expected debug message:

Release notes
(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text: