westonpace commented on code in PR #15180:
URL: https://github.com/apache/arrow/pull/15180#discussion_r1095231357
##########
r/tests/testthat/test-type.R:
##########
@@ -280,7 +280,9 @@ test_that("infer_type() gets the right type for
Expression", {
expect_equal(y$type(), infer_type(y))
expect_equal(infer_type(y), float64())
expect_equal(add_xy$type(), infer_type(add_xy))
- expect_equal(infer_type(add_xy), float64())
+ # even though 10 is a float64, arrow will clamp it to the narrowest
Review Comment:
Correct.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]