[go: up one dir, main page]

Skip to content

Commit

Permalink
fix: add pyarrow.large_strign to the _ARROW_SCALAR_IDS_TO_BQ map (#1796)
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Swast <swast@google.com>
  • Loading branch information
chelsea-lin and tswast committed Jan 24, 2024
1 parent 17e9d06 commit b402a6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions google/cloud/bigquery/_pyarrow_helpers.py
Expand Up @@ -91,6 +91,7 @@ def pyarrow_timestamp():
pyarrow.date64().id: "DATETIME", # because millisecond resolution
pyarrow.binary().id: "BYTES",
pyarrow.string().id: "STRING", # also alias for pyarrow.utf8()
pyarrow.large_string().id: "STRING",
# The exact scale and precision don't matter, see below.
pyarrow.decimal128(38, scale=9).id: "NUMERIC",
}
Expand Down

0 comments on commit b402a6d

Please sign in to comment.