Skip to content

Commit 86a91de

Browse files
Joy HaldarJoy Haldar
authored andcommitted
Avoid logging full ReadRowsResponse in ReadRowsHelper debug log, adding streamName and nextOffset to the debug message
Avoid logging full ReadRowsResponse in ReadRowsHelper debug log, adding streamName and nextOffset to the debug message
1 parent bef46d3 commit 86a91de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/ReadRowsHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public ReadRowsResponse next()
8585
do {
8686
try {
8787
ReadRowsResponse response = serverResponses.next();
88-
log.debug("ReadRowsResponse from BigQuery at offset: %s", nextOffset);
88+
log.debug("ReadRowsResponse from BigQuery stream: %s at offset: %s", helper.streamName, nextOffset);
8989
nextOffset += response.getRowCount();
9090
return response;
9191
}

0 commit comments

Comments
 (0)