Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3d77a75

Browse files
authored
docs: add limitation note for loading REPEATED fields (#35)
1 parent 344c00f commit 3d77a75

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

google/cloud/bigquery/client.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1712,6 +1712,14 @@ def load_table_from_dataframe(
17121712
Similar to :meth:`load_table_from_uri`, this method creates, starts and
17131713
returns a :class:`~google.cloud.bigquery.job.LoadJob`.
17141714
1715+
.. note::
1716+
1717+
Due to the way REPEATED fields are encoded in the ``parquet`` file
1718+
format, a mismatch with the existing table schema can occur, and
1719+
100% compatibility cannot be guaranteed for REPEATED fields.
1720+
1721+
https://github.com/googleapis/python-bigquery/issues/17
1722+
17151723
Arguments:
17161724
dataframe (pandas.DataFrame):
17171725
A :class:`~pandas.DataFrame` containing the data to load.

0 commit comments

Comments
 (0)