Closed
Description
After v1.5 I started getting:
"'_thread._local' object has no attribute 'bigquery_options'"
while using bigframes to upload a pandas data frame to bigquery ala:
bf.options.bigquery.project = PROJECT_ID
bf.options.bigquery.location = "us-central1"
bdf = bf.bigframes.pandas.read_pandas(df)
# dataframe to bigquery
bdf.to_gbq(
f"{PROJECT_ID}.dataset-name.table-name",
if_exists="replace",
)
I noticed that v1.5 included this change:
#652
I'm running this in cloud run in a python container using gunicorn with threading and wondering if it's related?
If I revert to bigframes==1.4.0 I no longer have the issue.
Metadata
Metadata
Assignees
Labels
Issues related to the googleapis/python-bigquery-dataframes API.Issues related to the googleapis/python-bigquery-dataframes API.Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.