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
Hi, I found that limit and offset queries don't work properly with parameters because of different order in parameters list and ClickHouse LIMIT ?, ? query.
with parameters: [limit, offset] and final query will be like this SELECT ... FROM "schema" LIMIT #{limit}, #{offset}, but should be SELECT ... FROM "schema" LIMIT #{offset}, #{limit}
Hi, I found that
limit
andoffset
queries don't work properly with parameters because of different order in parameters list and ClickHouseLIMIT ?, ?
query.Simple example:
Such query
generates such sql:
with parameters:
[limit, offset]
and final query will be like thisSELECT ... FROM "schema" LIMIT #{limit}, #{offset}
, but should beSELECT ... FROM "schema" LIMIT #{offset}, #{limit}
I think this is regression of #7 PR.
The text was updated successfully, but these errors were encountered: