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 authored and krlmlr committed Feb 22, 2024
1 parent 8f3b149 commit f01ab9e
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 f01ab9e

Please sign in to comment.