| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
I just realized Bigtable has me trained too much. Wrote Bigquery instead of BigQuery in the commit messages. |
Sorry, something went wrong.
|
FWIW I cherry-picked the second commit onto head and ran the system test with the error reported by @kamatama41 and got the following: ======================================================================
ERROR: test_load_table_then_dump_table (bigquery.TestBigQuery)
----------------------------------------------------------------------
Traceback (most recent call last):
File ".../gcloud-python/system_tests/bigquery.py", line 232, in test_load_table_then_dump_table
rows, _, _ = table.fetch_data()
File ".../gcloud-python/.tox/system-tests/local/lib/python2.7/site-packages/gcloud/bigquery/table.py", line 611, in fetch_data
rows_data = _rows_from_json(response.get('rows', ()), self._schema)
File ".../gcloud-python/.tox/system-tests/local/lib/python2.7/site-packages/gcloud/bigquery/_helpers.py", line 81, in _rows_from_json
row_data.append(converter(cell['v'], field))
File ".../gcloud-python/.tox/system-tests/local/lib/python2.7/site-packages/gcloud/bigquery/_helpers.py", line 42, in _datetime_from_json
return _datetime_from_microseconds(1e6 * float(value))
File ".../gcloud-python/.tox/system-tests/local/lib/python2.7/site-packages/gcloud/_helpers.py", line 235, in _datetime_from_microseconds
return _EPOCH + datetime.timedelta(microseconds=value)
OverflowError: date value out of range
----------------------------------------------------------------------
Ran 11 tests in 69.796s |
Sorry, something went wrong.
|
LGTM. OK to merge w/ pylint failing on Travis, pending #1248. |
Sorry, something went wrong.
As stated in the docs > BigQuery stores TIMESTAMP data internally as a > UNIX timestamp with microsecond precision > ...Specifies the number of seconds since the epoch.
|
@tseaver Assuming your LGTM still holds after rebasing. |
Sorry, something went wrong.
Fix handling of timestamps in BigQuery insert data method
|
Great job! Thank you for fixing quickly 😄 |
Sorry, something went wrong.
|
Sure thing. Thanks for reporting and finding the bug. |
Sorry, something went wrong.
* chore(deps): update all dependencies * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Fixes #1247.