alexey-milovidov
b1602a5e62
Merge pull request #3887 from yandex/remove-alter-primary-key
...
Remove ALTER MODIFY PRIMARY KEY command
2018-12-20 22:21:08 +03:00
Alexey Milovidov
b6ebe2df19
Added missing test #3826
2018-12-20 22:13:12 +03:00
Alexey Zatelepin
b7afe46dfd
remove ALTER MODIFY PRIMARY KEY command [#CLICKHOUSE-4214]
2018-12-20 21:57:20 +03:00
alexey-milovidov
f85857d8ff
Merge pull request #3826 from yandex/missing-sql-compatibility-functions
...
Additional functions for SQL compatibility
2018-12-20 20:51:05 +03:00
Alexey Milovidov
b7b418a6f5
Renamed setting #3851
2018-12-20 20:48:11 +03:00
alexey-milovidov
3cefb27e56
Merge pull request #3851 from abyss7/issue-3592
...
Refactor constant folding
2018-12-20 19:26:02 +03:00
Alexey Milovidov
731d76821d
Merging abandoned pull request with "boundingRatio" function #3139
2018-12-20 18:14:32 +03:00
Alexey Milovidov
113ff56384
Merge branch 'master' into twosixlabs-add_rate_function
2018-12-20 17:19:06 +03:00
Alexey Milovidov
7c5cff2dd4
Renamed test #3350
2018-12-20 16:23:49 +03:00
Ivan Blinkov
f63aa0eb3b
Support MySQL-style syntax for DATE_ADD and similar functions
2018-12-20 11:22:24 +03:00
Alexey Milovidov
2f9ead4548
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-19 19:18:56 +03:00
Alexey Milovidov
92499c725d
Fixed test #3811
2018-12-19 18:27:57 +03:00
Ivan Lezhankin
4c3af43ed3
Add test.
2018-12-19 17:36:55 +03:00
Ivan Lezhankin
b9440fe99d
Another minor refactoring.
2018-12-19 15:38:13 +03:00
Ivan Blinkov
0352c5a57c
Introduce DATE_ADD/DATE_SUB/TIMESTAMP_ADD/TIMESTAMP_SUB #3705
2018-12-19 14:37:14 +03:00
Ivan Blinkov
f88b497555
Introduce common parser for interval kind names and use it for DATE_DIFF, EXTRACT and INTERVAL (allows to use same set of aliases in them)
2018-12-19 13:27:07 +03:00
Alexey Milovidov
36836faf62
Full support for Decimal #3721
2018-12-19 05:43:09 +03:00
Alexey Milovidov
9c23556cb0
Basic implementation for Decimal #3721
2018-12-19 05:11:31 +03:00
Alexey Milovidov
4a6c25e65d
Merging #3721 ; Added a test
2018-12-19 04:30:32 +03:00
alexey-milovidov
92bb4471df
Merge pull request #3865 from abyss7/issue-3590
...
ISSUE-3590: Forbid using aggregate functions inside scalar subqueries
2018-12-19 03:19:45 +03:00
Alexey Milovidov
6a779661c8
Merge branch 'java-hash' of https://github.com/shangshujie365/ClickHouse into shangshujie365-java-hash
2018-12-18 23:04:32 +03:00
Ivan Lezhankin
617082f444
ISSUE-3590: Forbid using aggregate functions inside scalar subqueries
2018-12-18 21:43:06 +03:00
Ivan Blinkov
a378b919af
Add a bunch of aliases to DATE_DIFF interval names
2018-12-18 18:28:13 +03:00
Ivan Blinkov
5abfcfcd48
Support proper syntax for dateDiff
2018-12-18 17:40:30 +03:00
Ivan Blinkov
362948e891
Introduce quarter interval kind as 3 months (in preparation for #3705 )
2018-12-18 16:16:48 +03:00
Ivan Blinkov
93d4303922
minor trim test improvements
2018-12-17 23:20:25 +03:00
Ivan Lezhankin
1a539b3a6d
Merge remote-tracking branch 'upstream/master' into issue-3592
2018-12-17 19:30:20 +03:00
Ivan Lezhankin
6df757c6f7
Refactor constant folding and make it reusable for primary_key_expr
2018-12-17 17:59:01 +03:00
Samuel Chou
c465bd8d2b
Fix rollup_with_having test
2018-12-16 23:55:04 -08:00
Samuel Chou
fcde47b45e
Ensure ROLLUP and CUBE respect HAVING (no change to TOTALS)
2018-12-14 22:27:40 -08:00
Alexey Milovidov
af31ff24b9
Better code; added a test #3835
2018-12-14 23:21:47 +03:00
alexey-milovidov
3a2c85a06c
Merge pull request #3717 from amosbird/arrayjoin
...
Support unaligned array join.
2018-12-14 21:12:24 +03:00
Ivan Blinkov
9dca1e3ca2
Test for left/right with cut size larger than input
2018-12-14 14:45:45 +03:00
Ivan Blinkov
180311b42b
Introduce regexpQuoteMeta function to properly handle regexp special chars in TRIM #3714
2018-12-13 15:58:00 +03:00
Ivan Blinkov
034265f044
Introduce TRIM/LTRIM/RTRIM functions #3714
2018-12-13 14:50:37 +03:00
alexey-milovidov
7898caed19
Merge pull request #3800 from edonin/master
...
Better management of DateTime partitionning #3786
2018-12-13 14:05:19 +03:00
Ivan Blinkov
3209ac84d0
Rewrite LEFT and RIGHT functions to corresponding SUBSTRING calls #3712
2018-12-13 12:34:12 +03:00
Emmanuel Donin de Rosière
61adf58ac3
Better management of DateTime partitionning yandex#3786
...
issue with reference file for test
it is due to partition naming that seems to have changed recently.
2018-12-13 07:08:56 +01:00
Emmanuel Donin de Rosière
87791a2484
Better management of DateTime partitionning yandex#3786
...
Stills issue on tests reference
2018-12-12 21:36:13 +01:00
alexey-milovidov
611437c4e3
Update 00802_daylight_saving_time_shift_backwards_at_midnight.sql
2018-12-12 22:04:24 +03:00
Emmanuel Donin de Rosière
ed57179f17
Better management of DateTime partitionning yandex#3786
...
issue with reference file for tests
2018-12-12 19:18:21 +01:00
Emmanuel Donin de Rosière
6cf4bdedf9
Better management of DateTime partitionning yandex#3786
...
Adding test queries
2018-12-12 17:36:54 +01:00
Amos Bird
86f462acff
Support unaligned array join
...
For left ARRAY JOIN, expand to the greatest size. If all sizes are zero,
resize to one which is the same as the old behavior, i.e. emptyArrayToSingle
For non-left ARRAY JOIN, expand to the greatest size but keep empty if all sizes are zero.
2018-12-12 22:08:28 +08:00
Alexey Milovidov
d02d79118c
Added comment #3819
2018-12-12 16:32:14 +03:00
Alexey Milovidov
b250a95c48
Added test #3220
2018-12-12 16:29:58 +03:00
shangshujie
5de9577ecd
add test function
2018-12-11 18:29:59 +08:00
alexey-milovidov
7af621f6f7
Merge pull request #3728 from amosbird/join
...
Versatile StorageJoin
2018-12-10 23:16:53 +03:00
alexey-milovidov
a083e6bc64
Merge pull request #3799 from yandex/low-cardinality-join
...
Low cardinality join
2018-12-10 21:46:42 +03:00
Alexey Milovidov
22aa593d6b
Fixed global variable buffer read overflow [#CLICKHOUSE-4191]
2018-12-10 21:19:37 +03:00
Alexey Milovidov
aec8c149dc
Fixed test [#CLICKHOUSE-4191]
2018-12-10 18:59:56 +03:00