forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sqlsmith: implement DISTINCT TLP oracle
The DISTINCT oracle for TLP generates unpartitioned queries of the following form: SELECT DISTINCT {cols...} FROM t and partitioned queries of the following form: SELECT DISTINCT {cols...} FROM t WHERE pred UNION ALL SELECT DISTINCT {cols...} FROM t WHERE NOT (pred) UNION ALL SELECT DISTINCT {cols...} FROM t WHERE (pred) IS NULL Release note: None
- Loading branch information
1 parent
43178de
commit edef932
Showing
1 changed file
with
57 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters