Skip to content

Add args from RowIterator.to_dataframe() to QueryJob.to_dataframe()#7241

Merged
tseaver merged 2 commits into
googleapis:masterfrom
tswast:bq-to-dataframe
Feb 1, 2019
Merged

Add args from RowIterator.to_dataframe() to QueryJob.to_dataframe()#7241
tseaver merged 2 commits into
googleapis:masterfrom
tswast:bq-to-dataframe

Conversation

@tswast

@tswast tswast commented Jan 31, 2019

Copy link
Copy Markdown
Contributor

No description provided.

@tswast tswast added the api: bigquery Issues related to the BigQuery API. label Jan 31, 2019
@tswast tswast requested review from alixhami and shollyman January 31, 2019 01:39
@tswast tswast requested a review from crwilcox as a code owner January 31, 2019 01:39
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 31, 2019

@tseaver tseaver left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a new test in 'tests/unit/test_job.py' which exercises passing explicit values for the new arguments.

@shollyman shollyman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per the test failures related to DDL, looks like you need to add the signature change to _EmptyRowIterator as well.

@tswast

tswast commented Feb 1, 2019

Copy link
Copy Markdown
Contributor Author

Needs a new test in 'tests/unit/test_job.py' which exercises passing explicit values for the new arguments.

Added in latest commit. Also added a unit test for the case of an empty iterator to catch the error caught in system tests in the unit tests.

@shollyman shollyman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the additional tests!

@tseaver tseaver merged commit 92d76f8 into googleapis:master Feb 1, 2019
@tswast tswast deleted the bq-to-dataframe branch February 1, 2019 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the BigQuery API. cla: yes This human has signed the Contributor License Agreement.

4 participants