-
Notifications
You must be signed in to change notification settings - Fork 48
chore: ensure colab sample notebooks are tested #351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Tested locally, and the session is now passing:
|
@@ -719,16 +733,33 @@ def notebook(session): | |||
pytest_command = [ | |||
"py.test", | |||
"--nbmake", | |||
"--nbmake-timeout=600", | |||
"--nbmake-timeout=900", # 15 minutes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason why we increase the timeout limit specifically to 15 mins. Do we test the boundary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default was too slow for the LLM sample when I tested locally.
"notebooks/getting_started/getting_started_bq_dataframes.ipynb", | ||
"notebooks/getting_started/ml_fundamentals_bq_dataframes.ipynb", | ||
"notebooks/generative_ai/bq_dataframes_llm_code_generation.ipynb", | ||
"notebooks/generative_ai/bq_dataframes_llm_kmeans.ipynb", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need DATASET when running bf.read_gbq()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know what you mean. DATASET variable doesn't appear in https://github.com/googleapis/python-bigquery-dataframes/blob/677f0146acf19def88fddbeb0527a078458948ae/notebooks/generative_ai/bq_dataframes_llm_kmeans.ipynb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We read it here, right?
https://screenshot.googleplex.com/32s3pbtqnWZakiM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a read, which doesn't need to be parametrized. DATASET is used a a destination in the other samples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks got it!
…hon-bigquery-dataframes into b321013333-notebook-tests
Looks like |
Still have a failing notebook test after dfee838 I'll maybe revert that commit and exclude that particular notebook for now. |
Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot. |
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes internal issue 321013333
🦕