nealrichardson commented on a change in pull request #10381:
URL: https://github.com/apache/arrow/pull/10381#discussion_r641638494
##########
File path: r/tests/testthat/test-dplyr.R
##########
@@ -593,3 +594,12 @@ test_that("bad explicit type conversions with as.*()", {
)
})
+
+test_that("No duplicate field names are allowed in an arrow_dplyr_query", {
+ expect_error(
+ Table$create(tbl, tbl) %>%
+ filter(int > 0),
+ regexp = "The following field names were found more than once in the data:
int, dbl, dbl2, lgl, false, chr, fct, verses, padded_strings"
Review comment:
The last change altered the error message slightly so you'll need to fix
(I'd make a `suggestion` here but you'll still need to pull and run to confirm)
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]