Skip to content

Commit 425a691

Browse files
authored
fix: remove warning for slot_millis_sum (#2047)
This warning is no longer relevant when bigframes is used with the latest google-cloud-bigquery. Follow-up to internal issue b/432238967
1 parent 88115fa commit 425a691

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

bigframes/session/__init__.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -345,15 +345,6 @@ def bytes_processed_sum(self):
345345
@property
346346
def slot_millis_sum(self):
347347
"""The sum of all slot time used by bigquery jobs in this session."""
348-
if not bigframes.options._allow_large_results:
349-
msg = bfe.format_message(
350-
"Queries executed with `allow_large_results=False` within the session will not "
351-
"have their slot milliseconds counted in this sum. If you need precise slot "
352-
"milliseconds information, query the `INFORMATION_SCHEMA` tables "
353-
"to get relevant metrics.",
354-
)
355-
warnings.warn(msg, UserWarning)
356-
357348
return self._metrics.slot_millis
358349

359350
@property

0 commit comments

Comments
 (0)