carrotquest / django-clickhouse

This project's goal is to build Yandex ClickHouse database into Django project.
MIT License
101 stars 26 forks source link

how to use array join for ORM #43

Closed hejianxin159 closed 2 years ago

hejianxin159 commented 2 years ago

example: select toys toy, count() from User array join toys group by toys

M1ha-Shvn commented 2 years ago

Hi, @hejianxin159. This library does not implement QuerySet functionality. It relies on features, realized in infi.clickhouse_orm. Unfortunately functionality for joining tables is not implemented there, as I remember. There is my old issue, requesting this functionality, but it is still opened. More than that it looks like infi libaray is nearly stale nowadays. I'll transfer this issue there, but I can not tell you how long it will take to implement your request...

hejianxin159 commented 2 years ago

Hi, @hejianxin159. This library does not implement QuerySet functionality. It relies on features, realized in infi.clickhouse_orm. Unfortunately functionality for joining tables is not implemented there, as I remember. There is my old issue, requesting this functionality, but it is still opened. More than that it looks like infi libaray is nearly stale nowadays. I'll transfer this issue there, but I can not tell you how long it will take to implement your request...

oh, thank you