ecto_ch
ecto_ch copied to clipboard
to_inline_sql/2 doesn't map large numbers to the correct type
There was recently an addition of some new cases for Ecto.Adapters.ClickHouse.Connection.param_type/1
to handle mapping numbers to Int128/256/etc. This works great when doing the usual Repo.all
calls, but calling Ecto.Adapters.ClickHouse.to_inline_sql/2
seems to miss this codepath and won't cast parameterized numbers correctly.