Skip to content

Commit

Permalink
test list type as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Tmonster committed Nov 8, 2023
1 parent bf309a8 commit 4b4506c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_read.R
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ test_that("duckdb_read_csv() works as expected", {
# test better na.strings handling
# see https://github.com/duckdb/duckdb/issues/8590
tf3 <- tempfile()
na_strings <- data.frame(num=c(1, 2, NA), char=c('yes', 'no', NA), logi=c(TRUE, FALSE, NA))
na_strings <- data.frame(num=c(0.5, 2, NA), char=c('yes', 'no', NA), logi=c(TRUE, FALSE, NA), lisst=c(list(1), list(2, 3), NA))
write.csv(na_strings, tf3, row.names = FALSE)
duckdb_read_csv(con, "na_table", tf3, na.strings = "-")
identical(
Expand Down

0 comments on commit 4b4506c

Please sign in to comment.