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

ARROW-15775 [R] Clean up as.* methods to use build_expr() #12563

Closed
wants to merge 2 commits into from

Conversation

dragosmg
Copy link
Contributor

@dragosmg dragosmg commented Mar 4, 2022

build_expr() handles the conversion of the inputs to Array or Scalar.

#12433 (comment)

@github-actions
Copy link

github-actions bot commented Mar 4, 2022

@dragosmg dragosmg marked this pull request as ready for review March 4, 2022 13:53
Copy link
Member

@jonkeane jonkeane left a comment

Choose a reason for hiding this comment

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

These look great, thanks! Would it be worth it to add a test or two for the behavior that this enables? You don't need to be super exhaustive and test all the possible combinations, but having at least one test for as.character(1), as.double("1.1"), as.integer("1"), etc. would be nice to catch if we break this in the future.

@dragosmg dragosmg requested a review from jonkeane March 5, 2022 13:43
Copy link
Member

@jonkeane jonkeane left a comment

Choose a reason for hiding this comment

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

This is great, thank you!

@jonkeane jonkeane closed this in 5772d65 Mar 8, 2022
@ursabot
Copy link

ursabot commented Mar 8, 2022

Benchmark runs are scheduled for baseline = 7aecc83 and contender = 5772d65. 5772d65 is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Finished ⬇️0.0% ⬆️0.0%] ec2-t3-xlarge-us-east-2
[Finished ⬇️0.21% ⬆️0.21%] test-mac-arm
[Finished ⬇️0.36% ⬆️0.0%] ursa-i9-9960x
[Finished ⬇️0.26% ⬆️0.0%] ursa-thinkcentre-m75q
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

@dragosmg dragosmg deleted the build_expr_in_as_methods branch April 26, 2022 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants