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
When trying to query postgresql function with condition WHERE 1=1 and (id=id) (generated query) ch generates query with wrong syntax for postgres.
Any query to postgres:
select*from postgresql(...)
where1=1and id=id
Code: 1001. DB::Exception: Received from localhost:9000. DB::Exception: pqxx::sql_error: ERROR: argument of AND must be type boolean, not type integer
LINE 1: ...column" FROM "table" WHERE 1 AND ("id...
It's same issue as #33152 but when condition (which ch can not optimize) added provided fix is not working
The text was updated successfully, but these errors were encountered:
CH 22.8.12.45
When trying to query postgresql function with condition WHERE 1=1 and (id=id) (generated query) ch generates query with wrong syntax for postgres.
Any query to postgres:
Code: 1001. DB::Exception: Received from localhost:9000. DB::Exception: pqxx::sql_error: ERROR: argument of AND must be type boolean, not type integer
LINE 1: ...column" FROM "table" WHERE 1 AND ("id...
It's same issue as #33152 but when condition (which ch can not optimize) added provided fix is not working
The text was updated successfully, but these errors were encountered: