Skip to content

feat: DH-20323: Add reserve_bits parameter for cross joins and outer joins in Python#8266

Merged
jmao-denver merged 10 commits into
deephaven:mainfrom
jmao-denver:jmao-DH-20323-py-joins-reservebits
Jul 24, 2026
Merged

feat: DH-20323: Add reserve_bits parameter for cross joins and outer joins in Python#8266
jmao-denver merged 10 commits into
deephaven:mainfrom
jmao-denver:jmao-DH-20323-py-joins-reservebits

Conversation

@jmao-denver

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

No docs changes detected for 1e536ca

try:
on = to_sequence(on)
joins = to_sequence(joins)
on = ",".join(to_sequence(on))

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.

I think we should prefer to use sequence methods instead of string methods.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

In principle yes. But the string arguments work well and the code is cleaner and simpler since we don't need to create java JoinMatch objects.

from the left table and rows from the right table, all matching combinations will be included. If no columns
to match (on) are specified, every combination of left and right table rows is included.

To efficiently produce updates, the bits that represent a key for a given row are split into two. Unless

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.

This might be too much credit for "10 bits is carefully chosen." @lbooker42 will need to update this comment when doing https://deephaven.atlassian.net/browse/DH-22612

Comment thread py/server/tests/test_pt_proxy.py Outdated
@jmao-denver jmao-denver changed the title feat: DH-20323: Add reserve_bits parameter for cross join and outer join in Python feat: DH-20323: Add reserve_bits parameter for cross joins and outer joins in Python Jul 23, 2026
Co-authored-by: Charles P. Wright <cpwright@gmail.com>
@jmao-denver
jmao-denver requested a review from niloc132 July 23, 2026 18:13
Comment thread engine/table/src/main/java/io/deephaven/engine/util/OuterJoinTools.java Outdated
@jmao-denver
jmao-denver marked this pull request as ready for review July 23, 2026 19:42
@jmao-denver
jmao-denver requested review from cpwright and niloc132 July 23, 2026 20:23
@jmao-denver
jmao-denver merged commit 0bcf83c into deephaven:main Jul 24, 2026
24 checks passed
@jmao-denver
jmao-denver deleted the jmao-DH-20323-py-joins-reservebits branch July 24, 2026 17:03
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants