You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bind time.Time to sql query param, an error occured.I found in v2.6.0 bind.go time.Time convert to toDateTime('%d') and which in v2.0.14 is toDateTime(%d).so I doublt is this change cause this error.
Expected behaviour
transfer time.Time to toDateTime(0), and not toDateTime('0')
Error log
Cannot parse datetime: Cannot parse DateTime from String: While processing SELECT id FROM my_table WHERE (created_at >= toDateTime('0')) AND (created_at <= toDateTime('1687859100'))"
Configuration
Environment
Client version:v2.6.0
Language version:1.18.6
OS:docker image 22.9.7.29-alpine
Interface: ClickHouse API / database/sql compatible driver
bind time.Time to sql query param, an error occured.I found in v2.6.0 bind.go time.Time convert to toDateTime('%d') and which in v2.0.14 is toDateTime(%d).so I doublt is this change cause this error.
Expected behaviour
transfer time.Time to toDateTime(0), and not toDateTime('0')
Error log
Cannot parse datetime: Cannot parse DateTime from String: While processing SELECT id FROM my_table WHERE (created_at >= toDateTime('0')) AND (created_at <= toDateTime('1687859100'))"
Configuration
Environment
ClickHouse server
CREATE TABLE
statements for tables involved:The text was updated successfully, but these errors were encountered: