-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
R-Version: 4.2.2
RClickhouse Version: 0.6.7
Clickhouse Version: 23.3.2.37
Currently seems there is no support for the Date32 or Nullable(Date32) data types in the driver.
Reproducing:
- Create a table in clickhouse
create table default.test_table(
id int, date_32 Date32, date_32_null Nullable(Date32)
)
engine=MergeTree()
order by id
;
insert into default.test_table (id, date_32, date_32_null)
values (1, '1966-01-01'::Date32, Null);
- Run a select query in R on integer column, succeeds
DBI::dbGetQuery(pool::localCheckout(DW_POOL), "select id from default.test_table")
id
1 1
- Run a select on either other column fails
> DBI::dbGetQuery(pool::localCheckout(DW_POOL), "select id, date_32 from default.test_table")
Error in select(conn@ptr, statement) : some data was not readed
DBI::dbGetQuery(pool::localCheckout(DW_POOL), "select id, date_32_null from default.test_table")
Error in select(conn@ptr, statement) : some data was not readed
dplyr::tbl(pool::localCheckout(DW_POOL), DBI::Id(schema="default", table="test_table"))
Error in fetch(res@ptr, n) : cannot read unsupported type: Void
Metadata
Metadata
Assignees
Labels
No labels