Skip to content

Conversation

@loferris
Copy link
Contributor

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:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

pallabiwrites and others added 12 commits August 26, 2021 03:10
Fixed language issues.

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:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕
@loferris loferris requested a review from a team March 29, 2022 22:50
@loferris loferris requested a review from a team as a code owner March 29, 2022 22:50
@loferris loferris requested a review from shollyman March 29, 2022 22:50
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Mar 29, 2022
@loferris loferris requested a review from tswast March 29, 2022 22:59
@loferris loferris self-assigned this Mar 30, 2022
@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Apr 8, 2022
Copy link
Contributor

@shollyman shollyman left a comment

Choose a reason for hiding this comment

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

Unclear on the completeness here, given the TODO comments and test failures.

Args:
line (str): "%%bigquery" followed by arguments as required
query (str): SQL query to run
cell_body (str): SQL query or other command to run TODO
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you clarify here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will update soon to resolve test failures - the TODOs are typos/oversights.

@loferris loferris requested a review from brijk7 April 18, 2022 17:59

if args.send_long_job:
if args.destination_var:
IPython.get_ipython().push({args.destination_var: result})
Copy link

Choose a reason for hiding this comment

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

execution can reach here while job thread is still running in the async case. i think you'd want to refactor this so that there is one copy of the result post-processing code, and it gets called in both scenarios (sync and async) after completion of the job (maybe as a separate function).

@tswast
Copy link
Contributor

tswast commented Apr 11, 2024

We're moving the magics code to a new repo. Closing this and tracking support here: googleapis/python-bigquery-magics#17

@tswast tswast closed this Apr 11, 2024
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 googleapis/python-bigquery API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants