Github user wangmiao1981 commented on a diff in the pull request: https://github.com/apache/spark/pull/13476#discussion_r65842260 --- Diff: R/pkg/inst/tests/testthat/test_sparkSQL.R --- @@ -1137,6 +1137,13 @@ test_that("string operators", { expect_equal(count(where(df, like(df$name, "A%"))), 1) expect_equal(count(where(df, startsWith(df$name, "A"))), 1) expect_equal(first(select(df, substr(df$name, 1, 2)))[[1]], "Mi") + if (as.numeric(R.version$major) >= 3 && as.numeric(R.version$minor) >= 3) { --- End diff -- I agree with you that it should work for Column anyway. These are all new tested added by me. I will move the column tests out.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org