Skip to content

Commit

Permalink
Skipping DuckDB unit test for now
Browse files Browse the repository at this point in the history
  • Loading branch information
schuemie committed Jun 13, 2024
1 parent 7c40454 commit c1eaf11
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions tests/testthat/dbplyrTestFunction.R
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,16 @@ testDbplyrFunctions <- function(connectionDetails, cdmDatabaseSchema) {
collect()
expect_gt(personTwice$n, 1)

tripleJoin <- person %>%
left_join(observationPeriod, by = join_by(person_id)) %>%
left_join(observationPeriod %>%
select(person_id, dummy = observation_period_start_date),
if (dbms(connection) != "duckdb") {
# Skipping on DuckDB until DatabaseConnector 7. See #271
tripleJoin <- person %>%
left_join(observationPeriod, by = join_by(person_id)) %>%
left_join(observationPeriod %>%
select(person_id, dummy = observation_period_start_date),
by = join_by(person_id)) %>%
collect()
expect_gt(nrow(tripleJoin), 0)
collect()
expect_gt(nrow(tripleJoin), 0)
}

# Test row_number ------------------------------------------------------------
top10PersonsHardWay <- person %>%
Expand Down

0 comments on commit c1eaf11

Please sign in to comment.