PNixx / clickhouse-activerecord

A Ruby database ActiveRecord driver for ClickHouse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clickhouse ActiveRecord query working on Rails/ActiveRecord 7.1.0alpha but not on ActiveRecord 7.1.2

Anirudh2011 opened this issue · comments

I'm trying to run a query
Model.where(id in [1])
which is working when ActiveRecord version is activerecord (= 7.1.0.alpha)
but since I upgraded rails to 7.1.2
the same query throws error. The issue seems to be in this function new_column_from_field of clickhouse-activerecord
Screenshot 2023-11-28 at 4 12 22 PM
Screenshot 2023-11-28 at 4 13 44 PM

Any help would be appreciated
Thanks

Also seeing this.

fixed in v1.0.0