-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Reading the following parquet file (saved with a jpg suffix to allow for upload) fails in the R duckdb package v1.4.2.
> duckdb::sql_query('select * from read_parquet("time_test.parquet.jpg")')
Error in `dbSendQuery()`:
! Unknown column type for prepare: TIME WITH TIME ZONE
ℹ Context: rapi_prepare
Run `rlang::last_trace()` to see where the error occurred.
> rlang::last_trace()
<error/rlang_error>
Error in `dbSendQuery()`:
! Unknown column type for prepare: TIME WITH TIME ZONE
ℹ Context: rapi_prepare
---
Backtrace:
▆
1. └─duckdb::sql_query("select * from \"time_test.parquet\"")
2. ├─DBI::dbGetQuery(conn, sql)
3. └─DBI::dbGetQuery(conn, sql)
4. └─DBI (local) .local(conn, statement, ...)
5. ├─DBI::dbSendQuery(conn, statement, ...)
6. └─duckdb::dbSendQuery(conn, statement, ...)
Run rlang::last_trace(drop = FALSE) to see 17 hidden frames.
Reading the file in python works:
import duckdb
duckdb.sql("select * from read_parquet('time_test.parquet.jpg')")
┌─────────────────────┐
│ t │
│ time with time zone │
├─────────────────────┤
│ 00:00:00+00 │
└─────────────────────┘
Metadata
Metadata
Assignees
Labels
No labels
