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
Wonder if this is somewhat similar to #1169 in the sense that casting/argument handling invalidates valid SQL statements.
I'd have imagined that castings were performed in obvious and non-breaking scenarios, and scenarios where casting would be necessary, but are not obvious should be handled directly by the user. Breaking valid SQL statements seems counter intuitive IMHO.
The text was updated successfully, but these errors were encountered:
ccrvlh
changed the title
Unexpected CAST of date string toVARCHAR
Unexpected/undesirable CAST of date string to VARCHARAug 18, 2024
This will fail:
It seems that this is being casted as
VARCHAR
:This same filter is valid in Postgres
It works when using the datetime object:
Wonder if this is somewhat similar to #1169 in the sense that casting/argument handling invalidates valid SQL statements.
I'd have imagined that castings were performed in obvious and non-breaking scenarios, and scenarios where casting would be necessary, but are not obvious should be handled directly by the user. Breaking valid SQL statements seems counter intuitive IMHO.
The text was updated successfully, but these errors were encountered: