Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

select(...).final() is not applying the final clause to the query #341

Open
udupama opened this issue Oct 8, 2024 · 0 comments
Open

select(...).final() is not applying the final clause to the query #341

udupama opened this issue Oct 8, 2024 · 0 comments

Comments

@udupama
Copy link

udupama commented Oct 8, 2024

Describe the bug
select(...).final() is not applying the final clause to the query when we use in ORM mode

To Reproduce
class SimpleEntity:
__tablename__ = 'xxx' a = Column(types.String, nullable=False, primary_key=True) b = Column(types.String, nullable=False, primary_key=True) c = Column(types.String, nullable=False)

select(SimpleEntity).final().where(...)

Expected behavior
FINAL clause applied to the query

Versions
clickhouse-sqlalchemy: 0.3.2, sqlalchemy:2.0.35, python: 3.11

  • Version of package with the problem.
  • Python version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant