Commit 5c125c9
perf: defer query in
* perf: defer query in `read_gbq` with wildcard tables
* remove obsolete comments
* use sql node instead of ibis table node to keep select * from omitting pseudocolumns
Fixes this code sample:
import bigframes.pandas as bpd
df = bpd.read_gbq("bigquery-public-data.google_analytics_sample.ga_sessions_*")
df[df["_TABLE_SUFFIX"] == "20161204"].peek()
* test with cache and to_gbq
* rename columns before caching
* remove unnecessary comment
* add missing import
* do not materialize _TABLE_SUFFIX
* fix unit tests
* correct number of columns in cache with offsets
* fix formatting
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* revert datetime change, max_results change
* add pseudocolumns to node
* fix unit tests
* actually fix unit tests
* try to rename as part of compile
* use correct node for table schema
* revert pseudocolumn addition
* revert pseudocolumn fix
* add test for warning
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>read_gbq with wildcard tables (#1661)1 parent 8ec6079 commit 5c125c9
File tree
3 files changed
+18
-8
lines changed- bigframes/session
- _io/bigquery
- tests/system/small
3 files changed
+18
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
105 | 114 | | |
106 | 115 | | |
107 | 116 | | |
| |||
137 | 146 | | |
138 | 147 | | |
139 | 148 | | |
140 | | - | |
| 149 | + | |
141 | 150 | | |
142 | 151 | | |
143 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
| 521 | + | |
526 | 522 | | |
527 | 523 | | |
528 | 524 | | |
| |||
540 | 536 | | |
541 | 537 | | |
542 | 538 | | |
543 | | - | |
| 539 | + | |
544 | 540 | | |
545 | 541 | | |
546 | 542 | | |
547 | 543 | | |
548 | 544 | | |
549 | 545 | | |
550 | 546 | | |
| 547 | + | |
551 | 548 | | |
552 | 549 | | |
553 | 550 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
452 | 455 | | |
| 456 | + | |
453 | 457 | | |
454 | 458 | | |
455 | 459 | | |
456 | | - | |
| 460 | + | |
457 | 461 | | |
458 | 462 | | |
459 | 463 | | |
| |||
0 commit comments