]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add TABLESAMPLE clause support.
authorsaarni <saarni@gmail.com>
Thu, 26 May 2016 14:15:24 +0000 (10:15 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 15 Jun 2016 18:42:08 +0000 (14:42 -0400)
commit20f2f5b169d35cfee7cc21ff697e23fd00858171
tree5c6a893dadb8d64b84b1f89879ffb8fc747d048f
parent0620a76b582cc93d55e3ddfb74ac22682e148a36
Add TABLESAMPLE clause support.

The TABLESAMPLE clause allows randomly selecting an approximate percentage
of rows from a table. At least DB2, Microsoft SQL Server and recent
Postgresql support this standard clause.

Fixes: #3718
Change-Id: I3fb8b9223e12a57100df30876b461884c58d72fa
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/277
doc/build/changelog/changelog_11.rst
doc/build/changelog/migration_11.rst
doc/build/core/selectable.rst
lib/sqlalchemy/__init__.py
lib/sqlalchemy/sql/__init__.py
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/expression.py
lib/sqlalchemy/sql/selectable.py
test/sql/test_tablesample.py [new file with mode: 0644]