Created
September 18, 2014 06:05
-
-
Save PMeinshausen/4a41721519692a9e3ec4 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.1) | |
/* | |
DWT is adopted to emit a list of coefficients and some meta data for each sequence. | |
The function assumes that each sequence can be fitted into the memory of the worker. | |
*/ | |
SELECT * FROM DWT( | |
ON (SELECT 1) PARTITION BY 1 | |
[DOMAIN('host:port')] | |
[DATABASE('db_name')] | |
[USERID('user_id')] | |
[PASSWORD('password')] | |
[SSLSETTINGS('SSLsettings')] | |
[SSLTRUSTSTOREPASSWORD('SSLtruststorepassword')] | |
INPUTTABLE('input_table_name') | |
OUTPUTTABLE('output_table_name') | |
METATABLE('meta_table_name') | |
INPUTCOLUMNS('col1', 'col2',...,'colN') | |
SORTCOLUMN('sort_column_name') | |
[PARTITIONCOLUMNS('partition_column_name1', | |
'partition_column_name2',...,'partition_column_nameN')] | |
WAVELETNAME('wavelet_name') | | |
WAVELETFILTERTABLE('wavelet_filter_table_name') | |
LEVEL(level) | |
[EXTENSIONMODE('extension_mode')] | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment