Created
September 18, 2014 11:55
-
-
Save PMeinshausen/f88634b0833ff41051e7 to your computer and use it in GitHub Desktop.
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
--Syntax (version 1.0) | |
--You call this function by combining a local row function followed by a partition function: | |
SELECT * FROM ApproxDCountReduce( | |
ON(SELECT * FROM ApproxDCountMap( | |
ON {table_name | view_name | (query)} | |
COLUMNS ('column_name') | |
[ERROR ('error_tolerance')] | |
) | |
) | |
PARTITION BY expression [, ...] | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment