You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: rename columns with protected names such as _TABLE_SUFFIX in to_gbq() (#1691)
* 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
* add tests for fix for invalid columns
* revert cached changes
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
0 commit comments