Skip to content

Conversation

TrevorBergeron
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)

Fixes #<issue_number_goes_here> 🦕

@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels Jul 10, 2025
@TrevorBergeron TrevorBergeron marked this pull request as ready for review July 11, 2025 00:24
@TrevorBergeron TrevorBergeron requested review from a team as code owners July 11, 2025 00:24
left_on = []
right_on = []
for left_ex, right_ex in node.conditions:
left_ex, right_ex = lowering._coerce_comparables(left_ex, right_ex)
Copy link
Contributor

Choose a reason for hiding this comment

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

Does polars treat NULL as different each other (similar to pandas or BQ)? I am wondering if Polars needs a _join_condition like compiler too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Polars df.join actually has a very helpful join_nulls (nulls_equal in more recent versions) argument that does exactly what we need

@TrevorBergeron TrevorBergeron added the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 11, 2025
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 11, 2025
@TrevorBergeron TrevorBergeron enabled auto-merge (squash) July 11, 2025 17:40
@TrevorBergeron TrevorBergeron merged commit 1aa7950 into main Jul 11, 2025
24 of 25 checks passed
@TrevorBergeron TrevorBergeron deleted the engines_join branch July 11, 2025 17:42
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-dataframes API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants