tests/testthat/test_parquet.R

test_that("parquet reader works on the notorious userdata1 file", {
  con <- dbConnect(duckdb::duckdb())
  res <- dbGetQuery(con, "SELECT * FROM parquet_scan('userdata1.parquet')")
  dbDisconnect(con, shutdown = T)

  expect_true(T)
})

Try the duckdb package in your browser

Any scripts or data that you put into this service are public.

duckdb documentation built on Dec. 15, 2020, 5:35 p.m.