Skip to content

Commit 3a4f4a7

Browse files
author
Matti Remes
committed
Fix use schema from params
1 parent 3239cf6 commit 3a4f4a7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pandas_gbq/gbq.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -337,10 +337,6 @@ def get_user_account_credentials(self):
337337
This method authenticates using user credentials, either loading saved
338338
credentials from a file or by going through the OAuth flow.
339339
340-
Parameters
341-
----------
342-
None
343-
344340
Returns
345341
-------
346342
GoogleCredentials : credentials
@@ -567,7 +563,7 @@ def load_data(
567563
try:
568564
for remaining_rows in _load.load_chunks(
569565
self.client, dataframe, dataset_id, table_id,
570-
chunksize=chunksize):
566+
chunksize=chunksize, schema=schema):
571567
self._print("\rLoad is {0}% Complete".format(
572568
((total_rows - remaining_rows) * 100) / total_rows))
573569
except self.http_error as ex:

0 commit comments

Comments
 (0)