]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
represent tablesample.sampling as FunctionElement in all cases
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 11 Jul 2021 23:40:59 +0000 (19:40 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 11 Jul 2021 23:40:59 +0000 (19:40 -0400)
commit2aae37f93b413176d683259e0bc712728af931db
tree8b46b2b4e60998a3131040be32c66a6d54cd93b3
parentca52e87268fec966f6005b1e4aa30206ae895e9e
represent tablesample.sampling as FunctionElement in all cases

Fixed regression where the :func:`_sql.tablesample` construct would fail to
be executable when constructed given a floating-point sampling value not
embedded within a SQL function.

Fixes: #6735
Change-Id: I557bcd4bdbffc4329ad69d5659ba99b1c8deb554
doc/build/changelog/unreleased_14/6735.rst [new file with mode: 0644]
lib/sqlalchemy/sql/selectable.py
test/sql/test_compare.py