Skip to content
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

JOIN on NR #10

Closed
peheje opened this issue Jun 26, 2019 · 2 comments
Closed

JOIN on NR #10

peheje opened this issue Jun 26, 2019 · 2 comments

Comments

@peheje
Copy link

peheje commented Jun 26, 2019

I would like to join two tables on the their NR column.

select * join <filepath> ON aNR == bNR does not work I get error:

Invalid join syntax. Must be: "<JOIN> /path/to/B/table on a<i> == b<j>"

@mechatroner
Copy link
Owner

I like the idea. For some reason I never though about this myself.
I think this can be implemented as "SequentialMap" which would be more efficient than standard "HashJoinMap" and would avoid keeping the join B table in memory.

@mechatroner
Copy link
Owner

Join on NR is now supported in the master branch. But it will take some time to release it to the apps.
Current implementation is not optimal: it uses the default HashJoinMap, instead of SequentialMap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants