Uh oh!
There was an error while loading. Please reload this page.
BigQuery: Autofetch table schema on load if not provided - #9108
Conversation
Unit tests passing locally, but failing on Kokoro, investigating... Update: Found a non-essential lint issue (unused import), but unit tests also fail on the latest Update 2: Submitted a fix in #9112. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
A similar check is already performed on the server, and server-side errors are preferred to client errors.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
A mock should raise this error instead of returning a table to trigger schema generation from Pandas dtypes.
plamut
commented
Aug 29, 2019
Restarted due to failed snippets tests (500 - internal server error) - Kokoro log. |
plamut
commented
Aug 30, 2019
The |
plamut
commented
Sep 4, 2019
Uh oh!
There was an error while loading. Please reload this page.
…9108) * Autofetch table schema on load if not provided * Avoid fetching table schema if WRITE_TRUNCATE job * Skip dataframe columns list check A similar check is already performed on the server, and server-side errors are preferred to client errors. * Raise table NotFound in auto Pandas schema tests A mock should raise this error instead of returning a table to trigger schema generation from Pandas dtypes. * Use list_columns_and_indexes() for names list
…9108) * Autofetch table schema on load if not provided * Avoid fetching table schema if WRITE_TRUNCATE job * Skip dataframe columns list check A similar check is already performed on the server, and server-side errors are preferred to client errors. * Raise table NotFound in auto Pandas schema tests A mock should raise this error instead of returning a table to trigger schema generation from Pandas dtypes. * Use list_columns_and_indexes() for names list
Closes#8142.
This PR adds automatic table schema fetching to the
load_table_from_dataframe()method to improve automatic schema detection.No additional system tests, because there already exists a "schema autodetect" test.
How to test
Check that the code is in-line with ticket specs.