Skip to content
Prev Previous commit
Next Next commit
coverage
  • Loading branch information
Linchin committed Oct 16, 2023
commit 1903dae12d4fc02f3d10ed5117cf43be901b7a9b
2 changes: 0 additions & 2 deletions google/cloud/bigquery/_pyarrow_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ def pyarrow_timestamp():
"STRING": pyarrow.string,
"TIME": pyarrow_time,
"TIMESTAMP": pyarrow_timestamp,
"BIGNUMERIC": pyarrow_bignumeric,
}

_ARROW_SCALAR_IDS_TO_BQ = {
Expand All @@ -94,7 +93,6 @@ def pyarrow_timestamp():
pyarrow.string().id: "STRING", # also alias for pyarrow.utf8()
# The exact scale and precision don't matter, see below.
pyarrow.decimal128(38, scale=9).id: "NUMERIC",
pyarrow.decimal256(76, scale=38).id: "BIGNUMERIC",
}

# Adds bignumeric support only if pyarrow version >= 3.0.0
Expand Down