The roundtrip_timestamp test explicitly allows the roundtrip timestamps to carry a different time zone when returned, which makes a lot of sense. For example, in DuckDB, timestamps are always stored as UTC and are returned accordingly. However, the local column does not have a time zone (NULL is set). The transform function does convert the returned columns except the local column, and because DuckDB returns this as UTC as well, the test fails.
I think the result transformer should also convert the local column, or am I missing something?
See
|
roundtrip_timestamp = function(ctx) { |
The
roundtrip_timestamptest explicitly allows the roundtrip timestamps to carry a different time zone when returned, which makes a lot of sense. For example, in DuckDB, timestamps are always stored as UTC and are returned accordingly. However, thelocalcolumn does not have a time zone (NULLis set). Thetransformfunction does convert the returned columns except thelocalcolumn, and because DuckDB returns this as UTC as well, the test fails.I think the result transformer should also convert the
localcolumn, or am I missing something?See
DBItest/R/spec-sql-write-table.R
Line 548 in d1fddec