-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:
read_gbq
suggests using BigQuery DataFrames with large results (
#769) * feat: `read_gbq` suggests using BigQuery DataFrames with large results * update docs * guard against non-int bytes * tweak message * remove unnecessary also * remove dead code * remove directory that doesn't exist * comment about GiB vs GB
- Loading branch information
Showing
8 changed files
with
153 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright (c) 2024 pandas-gbq Authors All rights reserved. | ||
# Use of this source code is governed by a BSD-style | ||
# license that can be found in the LICENSE file. | ||
|
||
# BigQuery uses powers of 2 in calculating data sizes. See: | ||
# https://cloud.google.com/bigquery/pricing#data The documentation uses | ||
# GiB rather than GB to disambiguate from the alternative base 10 units. | ||
# https://en.wikipedia.org/wiki/Byte#Multiple-byte_units | ||
BYTES_IN_KIB = 1024 | ||
BYTES_IN_MIB = 1024 * BYTES_IN_KIB | ||
BYTES_IN_GIB = 1024 * BYTES_IN_MIB | ||
BYTES_TO_RECOMMEND_BIGFRAMES = BYTES_IN_GIB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters