forked from ClickHouse/ClickHouse
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from nicelulu/update_22
Update 22 to click_update
- Loading branch information
Showing
12 changed files
with
144 additions
and
105 deletions.
There are no files selected for viewing
Submodule poco
updated
from d7a438 to 566162
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
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
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
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
16 changes: 16 additions & 0 deletions
16
dbms/tests/queries/0_stateless/00753_quantile_format.reference
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
2016-06-15 23:00:00 | ||
['2016-06-15 23:00:00'] | ||
2016-06-15 23:00:00 | ||
['2016-06-15 23:00:00'] | ||
2016-06-15 23:00:00 | ||
['2016-06-15 23:00:00'] | ||
2016-06-15 23:00:00 | ||
['2016-06-15 23:00:00'] | ||
30000 | ||
[30000] | ||
30000 | ||
[30000] | ||
2016-06-15 23:01:04 | ||
['2016-06-15 23:01:04'] | ||
2016-06-15 23:01:04 | ||
['2016-06-15 23:01:04'] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
CREATE TABLE test.datetime (d DateTime) ENGINE = Memory; | ||
INSERT INTO test.datetime(d) VALUES(toDateTime('2016-06-15 23:00:00')); | ||
|
||
SELECT quantile(0.2)(d) FROM test.datetime; | ||
SELECT quantiles(0.2)(d) FROM test.datetime; | ||
|
||
SELECT quantileDeterministic(0.2)(d, 1) FROM test.datetime; | ||
SELECT quantilesDeterministic(0.2)(d, 1) FROM test.datetime; | ||
|
||
SELECT quantileExact(0.2)(d) FROM test.datetime; | ||
SELECT quantilesExact(0.2)(d) FROM test.datetime; | ||
|
||
SELECT quantileExactWeighted(0.2)(d, 1) FROM test.datetime; | ||
SELECT quantilesExactWeighted(0.2)(d, 1) FROM test.datetime; | ||
|
||
SELECT quantileTiming(0.2)(d) FROM test.datetime; | ||
SELECT quantilesTiming(0.2)(d) FROM test.datetime; | ||
|
||
SELECT quantileTimingWeighted(0.2)(d, 1) FROM test.datetime; | ||
SELECT quantilesTimingWeighted(0.2)(d, 1) FROM test.datetime; | ||
|
||
SELECT quantileTDigest(0.2)(d) FROM test.datetime; | ||
SELECT quantilesTDigest(0.2)(d) FROM test.datetime; | ||
|
||
SELECT quantileTDigestWeighted(0.2)(d, 1) FROM test.datetime; | ||
SELECT quantilesTDigestWeighted(0.2)(d, 1) FROM test.datetime; |