-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Ruby] Use common keys when keys.nil? in Table#join #15084
Comments
Let's implement this! |
Thanks! I will try. |
heronshoes
added a commit
to heronshoes/arrow
that referenced
this issue
Dec 25, 2022
heronshoes
added a commit
to heronshoes/arrow
that referenced
this issue
Dec 26, 2022
heronshoes
added a commit
to heronshoes/arrow
that referenced
this issue
Dec 27, 2022
kou
added a commit
that referenced
this issue
Jan 5, 2023
### What I did * Add support for `keys = nil` in `Table#join` * When `keys.nil?` common keys in self and right will automatically set to keys. * Add assertions without argument keys. * Add missing comments for other overload cases. ### What I checked * It works the same way in RedAmber. ### Related Issue * Closes: #15084 Lead-authored-by: Hirokazu SUZUKI (heronshoes) <heronshoes877@gmail.com> Co-authored-by: Sutou Kouhei <kou@clear-code.com> Co-authored-by: Hirokazu SUZUKI <heronshoes877@gmail.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
EpsilonPrime
pushed a commit
to EpsilonPrime/arrow
that referenced
this issue
Jan 5, 2023
…pache#15088) ### What I did * Add support for `keys = nil` in `Table#join` * When `keys.nil?` common keys in self and right will automatically set to keys. * Add assertions without argument keys. * Add missing comments for other overload cases. ### What I checked * It works the same way in RedAmber. ### Related Issue * Closes: apache#15084 Lead-authored-by: Hirokazu SUZUKI (heronshoes) <heronshoes877@gmail.com> Co-authored-by: Sutou Kouhei <kou@clear-code.com> Co-authored-by: Hirokazu SUZUKI <heronshoes877@gmail.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
vibhatha
pushed a commit
to vibhatha/arrow
that referenced
this issue
Jan 9, 2023
…pache#15088) ### What I did * Add support for `keys = nil` in `Table#join` * When `keys.nil?` common keys in self and right will automatically set to keys. * Add assertions without argument keys. * Add missing comments for other overload cases. ### What I checked * It works the same way in RedAmber. ### Related Issue * Closes: apache#15084 Lead-authored-by: Hirokazu SUZUKI (heronshoes) <heronshoes877@gmail.com> Co-authored-by: Sutou Kouhei <kou@clear-code.com> Co-authored-by: Hirokazu SUZUKI <heronshoes877@gmail.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the enhancement requested
Target method
Arrow::Table#join
Target argument
keys
Proposed feature
Implicit common key(s) will used when
keys
is nil.Impact of this request
keys
will become an optional argument and nil may be the default value (keys = nil).Reference of this request
I am testing this feature in RedAmber on the line below.
https://github.com/heronshoes/red_amber/blob/main/lib/red_amber/data_frame_combinable.rb#L382-L383
Component(s)
Ruby
The text was updated successfully, but these errors were encountered: