clickhouse-sqlalchemy icon indicating copy to clipboard operation
clickhouse-sqlalchemy copied to clipboard

Does `clickhouse-sqlalchemy` 3.0.0 support `sqlalchemy` of the version 1.4.*?

Open MordorianGuy opened this issue 11 months ago • 5 comments

Does clickhouse-sqlalchemy 3.0.0 support sqlalchemy of the version 1.4.*? If no, will there be further development of clickhouse-sqlalchemy 2.* version for supporting sqlalchemy 1.*, for instance, like a separate branch?

MordorianGuy avatar Feb 29 '24 15:02 MordorianGuy

Please use clickhouse-sqlalchemy==0.2.x for SA==1.4.x.

What do you mean in further development? Critical bug fixes may be backported.

xzkostyan avatar Mar 14 '24 14:03 xzkostyan

I mean supporting all new features. SA 1.4 is the only variant if you use airflow, for example.

MordorianGuy avatar Apr 17 '24 14:04 MordorianGuy

@MordorianGuy what new features do you need? May be I can easily backport them to 0.2.x branch.

xzkostyan avatar Apr 23 '24 18:04 xzkostyan

Like DISTINCT ON, Date32. For a while, I created a fork of 0.2.6 branch where realised these features and added some more like subexpression aliases & INTERVAL. It would be great to know your plans about older versions so that we can make the decision to develop our own fork or to support your branch with pull requests.

MordorianGuy avatar Apr 24 '24 10:04 MordorianGuy

You can backport existing features from master and make PR to version-0,2.x branch. I'll release package on pypi. New features should be submitted to master as well. I guess community need them too.

xzkostyan avatar Apr 24 '24 16:04 xzkostyan