fix: Localize BigQuery log suppression for gbq.py (#2541) · google/bigframes@af49ca2 · GitHub
Skip to content

Commit af49ca2

Browse files
authored
fix: Localize BigQuery log suppression for gbq.py (#2541)
Fixes #<496320476> 🦕
1 parent 825b7c5 commit af49ca2

3 files changed

Lines changed: 13 additions & 6 deletions

File tree

bigframes/operations/ai.py

Lines changed: 5 additions & 2 deletions

bigframes/session/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,9 +664,11 @@ def read_gbq_query(
664664
... WHERE year = 2016
665665
... GROUP BY pitcherFirstName, pitcherLastName
666666
... ''', index_col="rowindex")
667-
>>> df.head(2)
667+
>>> print("START_OF_OUTPUT"); df.head(2) # doctest: +ELLIPSIS,+NORMALIZE_WHITESPACE
668+
START_OF_OUTPUT
669+
...
668670
pitcherFirstName pitcherLastName averagePitchSpeed
669-
rowindex
671+
...
670672
1 Albertin Chapman 96.514113
671673
2 Zachary Britton 94.591039
672674
<BLANKLINE>

third_party/bigframes_vendored/pandas/io/gbq.py

Lines changed: 4 additions & 2 deletions

0 commit comments

Comments
 (0)