mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Merge pull request #22596 from ClickHouse/fix-some-tests-aarch64
Fix some tests on AArch64
This commit is contained in:
commit
a16a09eb2f
@ -52,110 +52,110 @@ uniqHLL12
|
||||
35 54328
|
||||
36 52997
|
||||
uniqHLL12 round(float)
|
||||
0.125 1
|
||||
0.5 1
|
||||
0.05 1
|
||||
0.143 1
|
||||
0.056 1
|
||||
0.048 2
|
||||
0.083 1
|
||||
0.25 1
|
||||
0.1 1
|
||||
0.028 1
|
||||
0.027 1
|
||||
0.028 1
|
||||
0.031 1
|
||||
0.067 1
|
||||
0.037 1
|
||||
0.045 161
|
||||
0.125 160
|
||||
0.5 164
|
||||
0.05 164
|
||||
0.143 162
|
||||
0.091 81
|
||||
0.056 163
|
||||
0.048 159
|
||||
0.083 158
|
||||
0.25 165
|
||||
1 159
|
||||
0.1 164
|
||||
0.028 160
|
||||
0.048 2
|
||||
0.05 1
|
||||
0.056 1
|
||||
0.067 1
|
||||
0.083 1
|
||||
0.1 1
|
||||
0.125 1
|
||||
0.143 1
|
||||
0.25 1
|
||||
0.5 1
|
||||
0.027 161
|
||||
0.028 160
|
||||
0.031 164
|
||||
0.067 160
|
||||
0.043 159
|
||||
0.037 160
|
||||
0.043 159
|
||||
0.045 161
|
||||
0.048 159
|
||||
0.05 164
|
||||
0.056 163
|
||||
0.067 160
|
||||
0.071 161
|
||||
0.083 158
|
||||
0.091 81
|
||||
0.1 164
|
||||
0.125 160
|
||||
0.143 162
|
||||
0.25 165
|
||||
0.5 164
|
||||
1 159
|
||||
0.027 52997
|
||||
0.028 54328
|
||||
0.031 54151
|
||||
0.037 53394
|
||||
0.043 54620
|
||||
0.045 54268
|
||||
0.125 54011
|
||||
0.5 55013
|
||||
0.05 55115
|
||||
0.143 52353
|
||||
0.091 26870
|
||||
0.056 55227
|
||||
0.048 54370
|
||||
0.05 55115
|
||||
0.056 55227
|
||||
0.067 53396
|
||||
0.071 53951
|
||||
0.083 54554
|
||||
0.091 26870
|
||||
0.1 54138
|
||||
0.125 54011
|
||||
0.143 52353
|
||||
0.25 52912
|
||||
0.5 55013
|
||||
1 54571
|
||||
0.1 54138
|
||||
0.028 54328
|
||||
0.027 52997
|
||||
0.031 54151
|
||||
0.067 53396
|
||||
0.043 54620
|
||||
0.037 53394
|
||||
0.071 53951
|
||||
uniqHLL12 round(toFloat32())
|
||||
0.5 1
|
||||
0.05 1
|
||||
0.25 1
|
||||
0.048 2
|
||||
0.083 1
|
||||
0.125 1
|
||||
0.031 1
|
||||
0.143 1
|
||||
0.028 1
|
||||
0.067 1
|
||||
0.027 1
|
||||
0.056 1
|
||||
0.028 1
|
||||
0.031 1
|
||||
0.037 1
|
||||
0.048 2
|
||||
0.05 1
|
||||
0.056 1
|
||||
0.067 1
|
||||
0.083 1
|
||||
0.1 1
|
||||
0.5 164
|
||||
0.05 164
|
||||
0.25 165
|
||||
0.048 159
|
||||
0.091 81
|
||||
0.125 1
|
||||
0.143 1
|
||||
0.25 1
|
||||
0.5 1
|
||||
0.027 161
|
||||
0.028 160
|
||||
0.031 164
|
||||
0.037 160
|
||||
0.043 159
|
||||
0.045 161
|
||||
0.048 159
|
||||
0.05 164
|
||||
0.056 163
|
||||
0.067 160
|
||||
0.071 161
|
||||
0.083 158
|
||||
0.125 160
|
||||
0.031 164
|
||||
0.143 162
|
||||
0.028 160
|
||||
0.067 160
|
||||
0.045 161
|
||||
0.027 161
|
||||
0.056 163
|
||||
0.037 160
|
||||
0.091 81
|
||||
0.1 164
|
||||
0.125 160
|
||||
0.143 162
|
||||
0.25 165
|
||||
0.5 164
|
||||
1 159
|
||||
0.5 55013
|
||||
0.05 55115
|
||||
0.25 52912
|
||||
0.048 54370
|
||||
0.091 26870
|
||||
0.027 52997
|
||||
0.028 54328
|
||||
0.031 54151
|
||||
0.037 53394
|
||||
0.043 54620
|
||||
0.045 54268
|
||||
0.048 54370
|
||||
0.05 55115
|
||||
0.056 55227
|
||||
0.067 53396
|
||||
0.071 53951
|
||||
0.083 54554
|
||||
0.125 54011
|
||||
0.031 54151
|
||||
0.143 52353
|
||||
0.028 54328
|
||||
0.067 53396
|
||||
0.045 54268
|
||||
0.027 52997
|
||||
0.056 55227
|
||||
0.037 53394
|
||||
0.091 26870
|
||||
0.1 54138
|
||||
0.125 54011
|
||||
0.143 52353
|
||||
0.25 52912
|
||||
0.5 55013
|
||||
1 54571
|
||||
uniqHLL12 IPv4NumToString
|
||||
1 1
|
||||
@ -425,428 +425,428 @@ uniqCombined(20)
|
||||
35 54054
|
||||
36 54054
|
||||
uniqCombined(round(float))
|
||||
0.125 1
|
||||
0.5 1
|
||||
0.05 1
|
||||
0.143 1
|
||||
0.056 1
|
||||
0.048 2
|
||||
0.083 1
|
||||
0.25 1
|
||||
0.1 1
|
||||
0.028 1
|
||||
0.027 1
|
||||
0.028 1
|
||||
0.031 1
|
||||
0.067 1
|
||||
0.037 1
|
||||
0.045 162
|
||||
0.125 163
|
||||
0.5 162
|
||||
0.05 162
|
||||
0.143 162
|
||||
0.091 81
|
||||
0.056 162
|
||||
0.048 162
|
||||
0.083 163
|
||||
0.25 162
|
||||
1 162
|
||||
0.1 163
|
||||
0.028 162
|
||||
0.048 2
|
||||
0.05 1
|
||||
0.056 1
|
||||
0.067 1
|
||||
0.083 1
|
||||
0.1 1
|
||||
0.125 1
|
||||
0.143 1
|
||||
0.25 1
|
||||
0.5 1
|
||||
0.027 162
|
||||
0.028 162
|
||||
0.031 162
|
||||
0.067 162
|
||||
0.043 162
|
||||
0.037 162
|
||||
0.043 162
|
||||
0.045 162
|
||||
0.048 162
|
||||
0.05 162
|
||||
0.056 162
|
||||
0.067 162
|
||||
0.071 162
|
||||
0.045 54117
|
||||
0.125 54213
|
||||
0.5 54056
|
||||
0.05 53923
|
||||
0.143 54129
|
||||
0.091 26975
|
||||
0.056 54129
|
||||
0.048 53958
|
||||
0.083 54064
|
||||
0.25 53999
|
||||
1 53901
|
||||
0.1 53853
|
||||
0.028 53931
|
||||
0.083 163
|
||||
0.091 81
|
||||
0.1 163
|
||||
0.125 163
|
||||
0.143 162
|
||||
0.25 162
|
||||
0.5 162
|
||||
1 162
|
||||
0.027 53982
|
||||
0.028 53931
|
||||
0.031 53948
|
||||
0.067 53997
|
||||
0.043 54150
|
||||
0.037 54047
|
||||
0.043 54150
|
||||
0.045 54117
|
||||
0.048 53958
|
||||
0.05 53923
|
||||
0.056 54129
|
||||
0.067 53997
|
||||
0.071 53963
|
||||
0.083 54064
|
||||
0.091 26975
|
||||
0.1 53853
|
||||
0.125 54213
|
||||
0.143 54129
|
||||
0.25 53999
|
||||
0.5 54056
|
||||
1 53901
|
||||
uniqCombined(12)(round(float))
|
||||
0.125 1
|
||||
0.5 1
|
||||
0.05 1
|
||||
0.143 1
|
||||
0.056 1
|
||||
0.048 2
|
||||
0.083 1
|
||||
0.25 1
|
||||
0.1 1
|
||||
0.028 1
|
||||
0.027 1
|
||||
0.028 1
|
||||
0.031 1
|
||||
0.067 1
|
||||
0.037 1
|
||||
0.045 162
|
||||
0.125 163
|
||||
0.5 162
|
||||
0.05 162
|
||||
0.143 162
|
||||
0.091 81
|
||||
0.056 162
|
||||
0.048 162
|
||||
0.083 163
|
||||
0.25 162
|
||||
1 162
|
||||
0.1 163
|
||||
0.028 162
|
||||
0.048 2
|
||||
0.05 1
|
||||
0.056 1
|
||||
0.067 1
|
||||
0.083 1
|
||||
0.1 1
|
||||
0.125 1
|
||||
0.143 1
|
||||
0.25 1
|
||||
0.5 1
|
||||
0.027 162
|
||||
0.028 162
|
||||
0.031 162
|
||||
0.067 162
|
||||
0.043 162
|
||||
0.037 162
|
||||
0.043 162
|
||||
0.045 162
|
||||
0.048 162
|
||||
0.05 162
|
||||
0.056 162
|
||||
0.067 162
|
||||
0.071 162
|
||||
0.045 53928
|
||||
0.125 52275
|
||||
0.5 53721
|
||||
0.05 54123
|
||||
0.143 54532
|
||||
0.091 26931
|
||||
0.056 55120
|
||||
0.048 53293
|
||||
0.083 54428
|
||||
0.25 53226
|
||||
1 54708
|
||||
0.1 53417
|
||||
0.028 54635
|
||||
0.083 163
|
||||
0.091 81
|
||||
0.1 163
|
||||
0.125 163
|
||||
0.143 162
|
||||
0.25 162
|
||||
0.5 162
|
||||
1 162
|
||||
0.027 53155
|
||||
0.028 54635
|
||||
0.031 53763
|
||||
0.067 53188
|
||||
0.043 53827
|
||||
0.037 53920
|
||||
0.043 53827
|
||||
0.045 53928
|
||||
0.048 53293
|
||||
0.05 54123
|
||||
0.056 55120
|
||||
0.067 53188
|
||||
0.071 53409
|
||||
0.083 54428
|
||||
0.091 26931
|
||||
0.1 53417
|
||||
0.125 52275
|
||||
0.143 54532
|
||||
0.25 53226
|
||||
0.5 53721
|
||||
1 54708
|
||||
uniqCombined(17)(round(float))
|
||||
0.125 1
|
||||
0.5 1
|
||||
0.05 1
|
||||
0.143 1
|
||||
0.056 1
|
||||
0.048 2
|
||||
0.083 1
|
||||
0.25 1
|
||||
0.1 1
|
||||
0.028 1
|
||||
0.027 1
|
||||
0.028 1
|
||||
0.031 1
|
||||
0.067 1
|
||||
0.037 1
|
||||
0.045 162
|
||||
0.125 163
|
||||
0.5 162
|
||||
0.05 162
|
||||
0.143 162
|
||||
0.091 81
|
||||
0.056 162
|
||||
0.048 162
|
||||
0.083 163
|
||||
0.25 162
|
||||
1 162
|
||||
0.1 163
|
||||
0.028 162
|
||||
0.048 2
|
||||
0.05 1
|
||||
0.056 1
|
||||
0.067 1
|
||||
0.083 1
|
||||
0.1 1
|
||||
0.125 1
|
||||
0.143 1
|
||||
0.25 1
|
||||
0.5 1
|
||||
0.027 162
|
||||
0.028 162
|
||||
0.031 162
|
||||
0.067 162
|
||||
0.043 162
|
||||
0.037 162
|
||||
0.043 162
|
||||
0.045 162
|
||||
0.048 162
|
||||
0.05 162
|
||||
0.056 162
|
||||
0.067 162
|
||||
0.071 162
|
||||
0.083 163
|
||||
0.091 81
|
||||
0.1 163
|
||||
0.125 163
|
||||
0.143 162
|
||||
0.25 162
|
||||
0.5 162
|
||||
1 162
|
||||
0.027 53982
|
||||
0.028 53931
|
||||
0.031 53948
|
||||
0.037 54047
|
||||
0.043 54150
|
||||
0.045 54117
|
||||
0.125 54213
|
||||
0.5 54056
|
||||
0.05 53923
|
||||
0.143 54129
|
||||
0.091 26975
|
||||
0.056 54129
|
||||
0.048 53958
|
||||
0.05 53923
|
||||
0.056 54129
|
||||
0.067 53997
|
||||
0.071 53963
|
||||
0.083 54064
|
||||
0.091 26975
|
||||
0.1 53853
|
||||
0.125 54213
|
||||
0.143 54129
|
||||
0.25 53999
|
||||
0.5 54056
|
||||
1 53901
|
||||
0.1 53853
|
||||
0.028 53931
|
||||
0.027 53982
|
||||
0.031 53948
|
||||
0.067 53997
|
||||
0.043 54150
|
||||
0.037 54047
|
||||
0.071 53963
|
||||
uniqCombined(20)(round(float))
|
||||
0.125 1
|
||||
0.5 1
|
||||
0.05 1
|
||||
0.143 1
|
||||
0.056 1
|
||||
0.048 2
|
||||
0.083 1
|
||||
0.25 1
|
||||
0.1 1
|
||||
0.028 1
|
||||
0.027 1
|
||||
0.028 1
|
||||
0.031 1
|
||||
0.067 1
|
||||
0.037 1
|
||||
0.045 162
|
||||
0.125 163
|
||||
0.5 162
|
||||
0.05 162
|
||||
0.143 162
|
||||
0.091 81
|
||||
0.056 162
|
||||
0.048 162
|
||||
0.083 163
|
||||
0.25 162
|
||||
1 162
|
||||
0.1 163
|
||||
0.028 162
|
||||
0.048 2
|
||||
0.05 1
|
||||
0.056 1
|
||||
0.067 1
|
||||
0.083 1
|
||||
0.1 1
|
||||
0.125 1
|
||||
0.143 1
|
||||
0.25 1
|
||||
0.5 1
|
||||
0.027 162
|
||||
0.028 162
|
||||
0.031 162
|
||||
0.067 162
|
||||
0.043 162
|
||||
0.037 162
|
||||
0.043 162
|
||||
0.045 162
|
||||
0.048 162
|
||||
0.05 162
|
||||
0.056 162
|
||||
0.067 162
|
||||
0.071 162
|
||||
0.045 54054
|
||||
0.125 54053
|
||||
0.5 54054
|
||||
0.05 54053
|
||||
0.143 54054
|
||||
0.091 27027
|
||||
0.056 54054
|
||||
0.048 54053
|
||||
0.083 54055
|
||||
0.25 54054
|
||||
1 54054
|
||||
0.1 54053
|
||||
0.028 54054
|
||||
0.083 163
|
||||
0.091 81
|
||||
0.1 163
|
||||
0.125 163
|
||||
0.143 162
|
||||
0.25 162
|
||||
0.5 162
|
||||
1 162
|
||||
0.027 54054
|
||||
0.028 54054
|
||||
0.031 54054
|
||||
0.067 54054
|
||||
0.043 54053
|
||||
0.037 54053
|
||||
0.043 54053
|
||||
0.045 54054
|
||||
0.048 54053
|
||||
0.05 54053
|
||||
0.056 54054
|
||||
0.067 54054
|
||||
0.071 54054
|
||||
0.083 54055
|
||||
0.091 27027
|
||||
0.1 54053
|
||||
0.125 54053
|
||||
0.143 54054
|
||||
0.25 54054
|
||||
0.5 54054
|
||||
1 54054
|
||||
uniqCombined(X)(round(toFloat32()))
|
||||
0.5 1
|
||||
0.05 1
|
||||
0.25 1
|
||||
0.048 2
|
||||
0.083 1
|
||||
0.125 1
|
||||
0.031 1
|
||||
0.143 1
|
||||
0.028 1
|
||||
0.067 1
|
||||
0.027 1
|
||||
0.056 1
|
||||
0.028 1
|
||||
0.031 1
|
||||
0.037 1
|
||||
0.048 2
|
||||
0.05 1
|
||||
0.056 1
|
||||
0.067 1
|
||||
0.083 1
|
||||
0.1 1
|
||||
0.5 162
|
||||
0.05 162
|
||||
0.25 162
|
||||
0.048 162
|
||||
0.091 81
|
||||
0.125 1
|
||||
0.143 1
|
||||
0.25 1
|
||||
0.5 1
|
||||
0.027 162
|
||||
0.028 162
|
||||
0.031 162
|
||||
0.037 162
|
||||
0.043 162
|
||||
0.045 162
|
||||
0.048 162
|
||||
0.05 162
|
||||
0.056 162
|
||||
0.067 162
|
||||
0.071 162
|
||||
0.083 163
|
||||
0.125 163
|
||||
0.031 162
|
||||
0.143 162
|
||||
0.028 162
|
||||
0.067 162
|
||||
0.045 162
|
||||
0.027 162
|
||||
0.056 162
|
||||
0.037 162
|
||||
0.091 81
|
||||
0.1 163
|
||||
0.125 163
|
||||
0.143 162
|
||||
0.25 162
|
||||
0.5 162
|
||||
1 162
|
||||
0.5 54056
|
||||
0.05 53923
|
||||
0.25 53999
|
||||
0.048 53958
|
||||
0.091 26975
|
||||
0.027 53982
|
||||
0.028 53931
|
||||
0.031 53948
|
||||
0.037 54047
|
||||
0.043 54150
|
||||
0.045 54117
|
||||
0.048 53958
|
||||
0.05 53923
|
||||
0.056 54129
|
||||
0.067 53997
|
||||
0.071 53963
|
||||
0.083 54064
|
||||
0.125 54213
|
||||
0.031 53948
|
||||
0.143 54129
|
||||
0.028 53931
|
||||
0.067 53997
|
||||
0.045 54117
|
||||
0.027 53982
|
||||
0.056 54129
|
||||
0.037 54047
|
||||
0.091 26975
|
||||
0.1 53853
|
||||
0.125 54213
|
||||
0.143 54129
|
||||
0.25 53999
|
||||
0.5 54056
|
||||
1 53901
|
||||
uniqCombined(12)(round(toFloat32()))
|
||||
0.5 1
|
||||
0.05 1
|
||||
0.25 1
|
||||
0.048 2
|
||||
0.083 1
|
||||
0.125 1
|
||||
0.031 1
|
||||
0.143 1
|
||||
0.028 1
|
||||
0.067 1
|
||||
0.027 1
|
||||
0.056 1
|
||||
0.028 1
|
||||
0.031 1
|
||||
0.037 1
|
||||
0.048 2
|
||||
0.05 1
|
||||
0.056 1
|
||||
0.067 1
|
||||
0.083 1
|
||||
0.1 1
|
||||
0.5 162
|
||||
0.05 162
|
||||
0.25 162
|
||||
0.048 162
|
||||
0.091 81
|
||||
0.125 1
|
||||
0.143 1
|
||||
0.25 1
|
||||
0.5 1
|
||||
0.027 162
|
||||
0.028 162
|
||||
0.031 162
|
||||
0.037 162
|
||||
0.043 162
|
||||
0.045 162
|
||||
0.048 162
|
||||
0.05 162
|
||||
0.056 162
|
||||
0.067 162
|
||||
0.071 162
|
||||
0.083 163
|
||||
0.125 163
|
||||
0.031 162
|
||||
0.143 162
|
||||
0.028 162
|
||||
0.067 162
|
||||
0.045 162
|
||||
0.027 162
|
||||
0.056 162
|
||||
0.037 162
|
||||
0.091 81
|
||||
0.1 163
|
||||
0.125 163
|
||||
0.143 162
|
||||
0.25 162
|
||||
0.5 162
|
||||
1 162
|
||||
0.5 53721
|
||||
0.05 54123
|
||||
0.25 53226
|
||||
0.048 53293
|
||||
0.091 26931
|
||||
0.027 53155
|
||||
0.028 54635
|
||||
0.031 53763
|
||||
0.037 53920
|
||||
0.043 53827
|
||||
0.045 53928
|
||||
0.048 53293
|
||||
0.05 54123
|
||||
0.056 55120
|
||||
0.067 53188
|
||||
0.071 53409
|
||||
0.083 54428
|
||||
0.125 52275
|
||||
0.031 53763
|
||||
0.143 54532
|
||||
0.028 54635
|
||||
0.067 53188
|
||||
0.045 53928
|
||||
0.027 53155
|
||||
0.056 55120
|
||||
0.037 53920
|
||||
0.091 26931
|
||||
0.1 53417
|
||||
0.125 52275
|
||||
0.143 54532
|
||||
0.25 53226
|
||||
0.5 53721
|
||||
1 54708
|
||||
uniqCombined(17)(round(toFloat32()))
|
||||
0.5 1
|
||||
0.05 1
|
||||
0.25 1
|
||||
0.048 2
|
||||
0.083 1
|
||||
0.125 1
|
||||
0.031 1
|
||||
0.143 1
|
||||
0.028 1
|
||||
0.067 1
|
||||
0.027 1
|
||||
0.056 1
|
||||
0.028 1
|
||||
0.031 1
|
||||
0.037 1
|
||||
0.048 2
|
||||
0.05 1
|
||||
0.056 1
|
||||
0.067 1
|
||||
0.083 1
|
||||
0.1 1
|
||||
0.5 162
|
||||
0.05 162
|
||||
0.25 162
|
||||
0.048 162
|
||||
0.091 81
|
||||
0.125 1
|
||||
0.143 1
|
||||
0.25 1
|
||||
0.5 1
|
||||
0.027 162
|
||||
0.028 162
|
||||
0.031 162
|
||||
0.037 162
|
||||
0.043 162
|
||||
0.045 162
|
||||
0.048 162
|
||||
0.05 162
|
||||
0.056 162
|
||||
0.067 162
|
||||
0.071 162
|
||||
0.083 163
|
||||
0.125 163
|
||||
0.031 162
|
||||
0.143 162
|
||||
0.028 162
|
||||
0.067 162
|
||||
0.045 162
|
||||
0.027 162
|
||||
0.056 162
|
||||
0.037 162
|
||||
0.091 81
|
||||
0.1 163
|
||||
0.125 163
|
||||
0.143 162
|
||||
0.25 162
|
||||
0.5 162
|
||||
1 162
|
||||
0.5 54056
|
||||
0.05 53923
|
||||
0.25 53999
|
||||
0.048 53958
|
||||
0.091 26975
|
||||
0.027 53982
|
||||
0.028 53931
|
||||
0.031 53948
|
||||
0.037 54047
|
||||
0.043 54150
|
||||
0.045 54117
|
||||
0.048 53958
|
||||
0.05 53923
|
||||
0.056 54129
|
||||
0.067 53997
|
||||
0.071 53963
|
||||
0.083 54064
|
||||
0.125 54213
|
||||
0.031 53948
|
||||
0.143 54129
|
||||
0.028 53931
|
||||
0.067 53997
|
||||
0.045 54117
|
||||
0.027 53982
|
||||
0.056 54129
|
||||
0.037 54047
|
||||
0.091 26975
|
||||
0.1 53853
|
||||
0.125 54213
|
||||
0.143 54129
|
||||
0.25 53999
|
||||
0.5 54056
|
||||
1 53901
|
||||
uniqCombined(20)(round(toFloat32()))
|
||||
0.5 1
|
||||
0.05 1
|
||||
0.25 1
|
||||
0.048 2
|
||||
0.083 1
|
||||
0.125 1
|
||||
0.031 1
|
||||
0.143 1
|
||||
0.028 1
|
||||
0.067 1
|
||||
0.027 1
|
||||
0.056 1
|
||||
0.028 1
|
||||
0.031 1
|
||||
0.037 1
|
||||
0.048 2
|
||||
0.05 1
|
||||
0.056 1
|
||||
0.067 1
|
||||
0.083 1
|
||||
0.1 1
|
||||
0.5 162
|
||||
0.05 162
|
||||
0.25 162
|
||||
0.048 162
|
||||
0.091 81
|
||||
0.125 1
|
||||
0.143 1
|
||||
0.25 1
|
||||
0.5 1
|
||||
0.027 162
|
||||
0.028 162
|
||||
0.031 162
|
||||
0.037 162
|
||||
0.043 162
|
||||
0.045 162
|
||||
0.048 162
|
||||
0.05 162
|
||||
0.056 162
|
||||
0.067 162
|
||||
0.071 162
|
||||
0.083 163
|
||||
0.125 163
|
||||
0.031 162
|
||||
0.143 162
|
||||
0.028 162
|
||||
0.067 162
|
||||
0.045 162
|
||||
0.027 162
|
||||
0.056 162
|
||||
0.037 162
|
||||
0.091 81
|
||||
0.1 163
|
||||
0.125 163
|
||||
0.143 162
|
||||
0.25 162
|
||||
0.5 162
|
||||
1 162
|
||||
0.5 54054
|
||||
0.05 54053
|
||||
0.25 54054
|
||||
0.048 54053
|
||||
0.091 27027
|
||||
0.027 54054
|
||||
0.028 54054
|
||||
0.031 54054
|
||||
0.037 54053
|
||||
0.043 54053
|
||||
0.045 54054
|
||||
0.048 54053
|
||||
0.05 54053
|
||||
0.056 54054
|
||||
0.067 54054
|
||||
0.071 54054
|
||||
0.083 54055
|
||||
0.125 54053
|
||||
0.031 54054
|
||||
0.143 54054
|
||||
0.028 54054
|
||||
0.067 54054
|
||||
0.045 54054
|
||||
0.027 54054
|
||||
0.056 54054
|
||||
0.037 54053
|
||||
0.091 27027
|
||||
0.1 54053
|
||||
0.125 54053
|
||||
0.143 54054
|
||||
0.25 54054
|
||||
0.5 54054
|
||||
1 54054
|
||||
uniqCombined(Z)(IPv4NumToString)
|
||||
1 1
|
@ -2,27 +2,27 @@
|
||||
|
||||
SELECT 'uniqHLL12';
|
||||
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqHLL12 round(float)';
|
||||
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqHLL12 round(toFloat32())';
|
||||
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqHLL12(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqHLL12 IPv4NumToString';
|
||||
|
||||
SELECT Y, uniqHLL12(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqHLL12(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqHLL12(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqHLL12(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqHLL12(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqHLL12(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqHLL12 remote()';
|
||||
|
||||
@ -32,99 +32,99 @@ SELECT uniqHLL12(dummy) FROM remote('127.0.0.{2,3}', system.one);
|
||||
|
||||
SELECT 'uniqCombined';
|
||||
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqCombined(12)';
|
||||
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqCombined(17)';
|
||||
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqCombined(20)';
|
||||
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqCombined(round(float))';
|
||||
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqCombined(12)(round(float))';
|
||||
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqCombined(17)(round(float))';
|
||||
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqCombined(20)(round(float))';
|
||||
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, round(1/(1 + (3*X*X - 7*X + 11) % 37), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqCombined(X)(round(toFloat32()))';
|
||||
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqCombined(12)(round(toFloat32()))';
|
||||
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(12)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqCombined(17)(round(toFloat32()))';
|
||||
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(17)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqCombined(20)(round(toFloat32()))';
|
||||
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(20)(X) FROM (SELECT number AS X, round(toFloat32(1/(1 + (3*X*X - 7*X + 11) % 37)), 3) AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqCombined(Z)(IPv4NumToString)';
|
||||
|
||||
SELECT Y, uniqCombined(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqCombined(12)(IPv4NumToString)';
|
||||
|
||||
SELECT Y, uniqCombined(12)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(12)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(12)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(12)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(12)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(12)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqCombined(17)(IPv4NumToString)';
|
||||
|
||||
SELECT Y, uniqCombined(17)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(17)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(17)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(17)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(17)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(17)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqCombined(20)(IPv4NumToString)';
|
||||
|
||||
SELECT Y, uniqCombined(20)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(20)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(20)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y;
|
||||
SELECT Y, uniqCombined(20)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 15) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(20)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 3000) GROUP BY Y ORDER BY Y;
|
||||
SELECT Y, uniqCombined(20)(Z) FROM (SELECT number AS X, IPv4NumToString(toUInt32(X)) AS Z, (3*X*X - 7*X + 11) % 37 AS Y FROM system.numbers LIMIT 1000000) GROUP BY Y ORDER BY Y;
|
||||
|
||||
SELECT 'uniqCombined remote()';
|
||||
|
@ -1,16 +1,16 @@
|
||||
3 8
|
||||
13 28
|
||||
23 48
|
||||
33 68
|
||||
13 28
|
||||
3 8
|
||||
13 28
|
||||
23 48
|
||||
33 68
|
||||
13 28
|
||||
3 8
|
||||
13 28
|
||||
23 48
|
||||
33 68
|
||||
13 28
|
||||
3 8
|
||||
13 28
|
||||
23 48
|
||||
33 68
|
||||
13 28
|
||||
|
@ -15,10 +15,10 @@ INSERT INTO union1 VALUES (11,12,13,14,15);
|
||||
INSERT INTO union2 VALUES (21,22,23,24,25);
|
||||
INSERT INTO union3 VALUES (31,32,33,34,35);
|
||||
|
||||
select b, sum(c) from ( select a, b, sum(c) as c from union2 where a>1 group by a,b UNION ALL select a, b, sum(c) as c from union2 where b>1 group by a, b ) as a group by b;
|
||||
select b, sum(c) from ( select a, b, sum(c) as c from union1 where a>1 group by a,b UNION ALL select a, b, sum(c) as c from union2 where b>1 group by a, b ) as a group by b;
|
||||
select b, sum(c) from ( select a, b, sum(c) as c from union1 where a>1 group by a,b UNION ALL select a, b, sum(c) as c from union1 where b>1 group by a, b ) as a group by b;
|
||||
select b, sum(c) from ( select a, b, sum(c) as c from union2 where a>1 group by a,b UNION ALL select a, b, sum(c) as c from union3 where b>1 group by a, b ) as a group by b;
|
||||
select b, sum(c) from ( select a, b, sum(c) as c from union2 where a>1 group by a,b UNION ALL select a, b, sum(c) as c from union2 where b>1 group by a, b order by a, b) as a group by b order by b;
|
||||
select b, sum(c) from ( select a, b, sum(c) as c from union1 where a>1 group by a,b UNION ALL select a, b, sum(c) as c from union2 where b>1 group by a, b order by a, b) as a group by b order by b;
|
||||
select b, sum(c) from ( select a, b, sum(c) as c from union1 where a>1 group by a,b UNION ALL select a, b, sum(c) as c from union1 where b>1 group by a, b order by a, b) as a group by b order by b;
|
||||
select b, sum(c) from ( select a, b, sum(c) as c from union2 where a>1 group by a,b UNION ALL select a, b, sum(c) as c from union3 where b>1 group by a, b order by a, b) as a group by b order by b;
|
||||
|
||||
DROP TABLE union1;
|
||||
DROP TABLE union2;
|
||||
|
@ -1,5 +1,4 @@
|
||||
--------read--------
|
||||
def [1,2] 2
|
||||
abc [0] 1
|
||||
def [1,2] 2
|
||||
abc [0] 1
|
||||
@ -7,6 +6,7 @@ def [1,2] 2
|
||||
abc [0] 1
|
||||
def [1,2] 2
|
||||
abc [0] 1
|
||||
def [1,2] 2
|
||||
--------joinGet--------
|
||||
|
||||
abc
|
||||
|
@ -22,10 +22,10 @@ INSERT INTO join_all_left VALUES ('abc', [0], 1), ('def', [1, 2], 2);
|
||||
-- read from StorageJoin
|
||||
|
||||
SELECT '--------read--------';
|
||||
SELECT * from join_any_inner;
|
||||
SELECT * from join_any_left;
|
||||
SELECT * from join_all_inner;
|
||||
SELECT * from join_all_left;
|
||||
SELECT * from join_any_inner ORDER BY k;
|
||||
SELECT * from join_any_left ORDER BY k;
|
||||
SELECT * from join_all_inner ORDER BY k;
|
||||
SELECT * from join_all_left ORDER BY k;
|
||||
|
||||
-- create StorageJoin tables with customized settings
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
a \N 1
|
||||
a b 1
|
||||
a \N 2
|
||||
a \N 1
|
||||
a b 1
|
||||
|
@ -8,7 +8,7 @@ INSERT INTO rollup_having VALUES (NULL, NULL);
|
||||
INSERT INTO rollup_having VALUES ('a', NULL);
|
||||
INSERT INTO rollup_having VALUES ('a', 'b');
|
||||
|
||||
SELECT a, b, count(*) FROM rollup_having GROUP BY a, b WITH ROLLUP HAVING a IS NOT NULL;
|
||||
SELECT a, b, count(*) FROM rollup_having GROUP BY a, b WITH ROLLUP HAVING a IS NOT NULL and b IS NOT NULL;
|
||||
SELECT a, b, count(*) FROM rollup_having GROUP BY a, b WITH ROLLUP HAVING a IS NOT NULL ORDER BY a, b;
|
||||
SELECT a, b, count(*) FROM rollup_having GROUP BY a, b WITH ROLLUP HAVING a IS NOT NULL and b IS NOT NULL ORDER BY a, b;
|
||||
|
||||
DROP TABLE rollup_having;
|
||||
|
@ -1,8 +1,8 @@
|
||||
1 1 1 1
|
||||
0 0 0 0
|
||||
0
|
||||
1
|
||||
0
|
||||
1 1 1 1 1 1
|
||||
2 2 0 0 0 0
|
||||
2 2 0
|
||||
1 1 1
|
||||
2 2 0
|
||||
|
@ -13,22 +13,22 @@ insert into y values (1,1);
|
||||
select s.a, s.a, s.b as s_b, s.b from t
|
||||
left join s on s.a = t.a
|
||||
left join y on s.b = y.b
|
||||
order by t.a;
|
||||
order by t.a, s.a, s.b;
|
||||
|
||||
select max(s.a) from t
|
||||
left join s on s.a = t.a
|
||||
left join y on s.b = y.b
|
||||
group by t.a;
|
||||
group by t.a order by t.a;
|
||||
|
||||
select t.a, t.a as t_a, s.a, s.a as s_a, y.a, y.a as y_a from t
|
||||
left join s on t.a = s.a
|
||||
left join y on y.b = s.b
|
||||
order by t.a;
|
||||
order by t.a, s.a, y.a;
|
||||
|
||||
select t.a, t.a as t_a, max(s.a) from t
|
||||
left join s on t.a = s.a
|
||||
left join y on y.b = s.b
|
||||
group by t.a;
|
||||
group by t.a order by t.a;
|
||||
|
||||
drop table t;
|
||||
drop table s;
|
||||
|
@ -1,18 +1,18 @@
|
||||
c d 1
|
||||
a b 1
|
||||
c \N 1
|
||||
a \N 1
|
||||
c d 1
|
||||
c \N 1
|
||||
\N \N 2
|
||||
c 1
|
||||
a 1
|
||||
c 1
|
||||
\N 2
|
||||
c d 1
|
||||
a b 1
|
||||
c \N 1
|
||||
a \N 1
|
||||
c d 1
|
||||
c \N 1
|
||||
\N b 1
|
||||
\N d 1
|
||||
\N \N 2
|
||||
c 1
|
||||
a 1
|
||||
c 1
|
||||
\N 2
|
||||
|
@ -3,10 +3,10 @@ CREATE TABLE lc (a LowCardinality(Nullable(String)), b LowCardinality(Nullable(S
|
||||
INSERT INTO lc VALUES ('a', 'b');
|
||||
INSERT INTO lc VALUES ('c', 'd');
|
||||
|
||||
SELECT a, b, count(a) FROM lc GROUP BY a, b WITH ROLLUP;
|
||||
SELECT a, count(a) FROM lc GROUP BY a WITH ROLLUP;
|
||||
SELECT a, b, count(a) FROM lc GROUP BY a, b WITH ROLLUP ORDER BY a, b;
|
||||
SELECT a, count(a) FROM lc GROUP BY a WITH ROLLUP ORDER BY a;
|
||||
|
||||
SELECT a, b, count(a) FROM lc GROUP BY a, b WITH CUBE;
|
||||
SELECT a, count(a) FROM lc GROUP BY a WITH CUBE;
|
||||
SELECT a, b, count(a) FROM lc GROUP BY a, b WITH CUBE ORDER BY a, b;
|
||||
SELECT a, count(a) FROM lc GROUP BY a WITH CUBE ORDER BY a;
|
||||
|
||||
DROP TABLE if exists lc;
|
||||
|
@ -28,7 +28,7 @@ SELECT `time`, groupArray((sensor_id, volume)) AS groupArr FROM (
|
||||
WHERE received_at BETWEEN '2018-12-12 00:00:00' AND '2018-12-30 00:00:00'
|
||||
GROUP BY `time`,sensor_id
|
||||
ORDER BY `time`
|
||||
) GROUP BY `time`;
|
||||
) GROUP BY `time` ORDER BY `time`;
|
||||
|
||||
DROP TABLE sensor_value;
|
||||
|
||||
@ -59,4 +59,4 @@ select s.a, s.b, max(s.dt1) dt1, s.c, s.d, s.f, s.i, max(s.dt2) dt2 from (
|
||||
, toDecimal128(268.970000000000, 12) f
|
||||
, toDecimal128(0.000000000000, 12) i
|
||||
, toDateTime('2018-11-02 00:00:00', 'Europe/Moscow') dt2
|
||||
) s group by s.a, s.b, s.c, s.d, s.f, s.i;
|
||||
) s group by s.a, s.b, s.c, s.d, s.f, s.i ORDER BY s.a, s.b, s.c, s.d, s.f, s.i;
|
||||
|
Loading…
Reference in New Issue
Block a user