It looks like the filter pushdown incorrectly converts dates into timestamps.
This is my DuckDB query:
set mysql_experimental_filter_pushdown=true;
select *
from mysql.infohash_update_log
where updated_on <= '2021-09-30'
limit 100;
The updated_on column has timestamp null type.
As a result I see this error message:
IO Error: Failed to run query "SELECT `updated_on`, `id`, `infohash`, `value` FROM `helpdesk`.`infohash_update_log` WHERE (`updated_on` <= '2021-09-29 11:00:00+00' AND `updated_on` IS NOT NULL) LIMIT 100": Incorrect TIMESTAMP value: '2021-09-29 11:00:00+00'
What happens?
It looks like the filter pushdown incorrectly converts dates into timestamps.
This is my DuckDB query:
The
updated_on
column hastimestamp null
type.As a result I see this error message:
MySQL itself supports these syntaxes:
I think it somehow relates to #36 But I tried the latest MySQL extension (with
force install
) and my problem persists:To Reproduce
timestamp
type.OS:
linux
MySQL Version:
8.0.32
DuckDB Version:
1.0.0
DuckDB Client:
Python
Full Name:
Yury Badalyants
Affiliation:
Parrot Analytics
Have you tried this on the latest
main
branch?Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?