Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 11efca7

Browse files
authored
Add pandas extra for google-cloud-bigquery to pick up missing pyarrow (#1153) (#1155)
* Add `pandas` extra for `google-cloud-bigquery` to pick up missing `pyarrow` (cherry picked from commit 978a1ae)
1 parent 73a3454 commit 11efca7

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
kind: Fixes
2+
body: Add `pandas` extra for `google-cloud-bigquery` to pick up missing `pyarrow`
3+
dependency
4+
time: 2024-03-27T21:02:49.619691-04:00
5+
custom:
6+
Author: mikealfare
7+
Issue: "1152"

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ def _dbt_core_version(plugin_version: str) -> str:
7575
include_package_data=True,
7676
install_requires=[
7777
f"dbt-core~={_dbt_core_version(_dbt_bigquery_version())}",
78-
"google-cloud-bigquery~=3.0",
78+
# 3.20 introduced pyarrow>=3.0 under the `pandas` extra
79+
"google-cloud-bigquery[pandas]>=3.0,<4.0",
7980
"google-cloud-storage~=2.4",
8081
"google-cloud-dataproc~=5.0",
8182
# ----

0 commit comments

Comments
 (0)