A clickhouse may have entries with the same primary keys. And the alchemy in this line eliminates duplicates: https://github.com/AdCombo/flask-combo-jsonapi/blob/17e4a236e1f161b1f9a910426fcf1ef9a9b96d07/flask_combo_jsonapi/data_layers/alchemy.py#L226-L228 For such a case, I think you need to override the all method and use something like ```session.execute(query).fetchall()```
A clickhouse may have entries with the same primary keys. And the alchemy in this line eliminates duplicates:
flask-combo-jsonapi/flask_combo_jsonapi/data_layers/alchemy.py
Lines 226 to 228 in 17e4a23
For such a case, I think you need to override the all method and use something like
session.execute(query).fetchall()