Skip to content

Commit

Permalink
GroupByQueryConfig: Skip unnecessary toString. (#17396)
Browse files Browse the repository at this point in the history
Calling toString on newConfig is unnecessary, because it will be done
automatically by the logger. This saves some effort under log levels
higher than DEBUG.
  • Loading branch information
gianm authored Oct 23, 2024
1 parent 1e96c85 commit 7e8671c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ public GroupByQueryConfig withOverrides(final GroupByQuery query)
isMultiValueUnnestingEnabled()
);

logger.debug("Override config for GroupBy query %s - %s", query.getId(), newConfig.toString());
logger.debug("Override config for GroupBy query %s - %s", query.getId(), newConfig);
return newConfig;
}

Expand Down

0 comments on commit 7e8671c

Please sign in to comment.