Alexey Milovidov
b94bfa5785
Fixed test #3926
2018-12-27 18:39:41 +03:00
chertus
22bb17250f
autodisable logs in negative tests CLICKHOUSE-4228
2018-12-27 16:09:11 +03:00
Alexey Milovidov
d2b7a847c7
Allow tests to execute in random order #3926
2018-12-27 04:09:27 +03:00
Alexey Milovidov
1c0659ac2f
Fixed test #3926
2018-12-27 03:55:05 +03:00
alesapin
8f82d5a687
Merge branch 'master' into custom_compression_codecs
2018-12-26 10:43:33 +03:00
Alexey Milovidov
4104a0610e
Added a test #3569
2018-12-26 03:18:11 +03:00
Alexey Milovidov
3502859803
Merge branch 'master' of github.com:yandex/ClickHouse into int-monotonicity-cleanups
2018-12-25 17:28:41 +03:00
alesapin
8abcdc70f1
More tabs in desc table tests
2018-12-25 15:56:11 +03:00
alesapin
6e8ed0c942
Merge branch 'master' into custom_compression_codecs
2018-12-25 14:34:19 +03:00
alesapin
1228645a79
Fix segfault and add tabs to ton of tests (desc table)
2018-12-25 14:33:54 +03:00
alesapin
4309775fc8
Add coments and fix compression for nested types
2018-12-25 13:04:38 +03:00
Alexey Milovidov
41e3bf5518
Added more formats to "parseDateTimeBestEffort" function [#CLICKHOUSE-2]
2018-12-24 21:31:43 +03:00
Alexey Milovidov
66a0c1691d
Added more formats to "parseDateTimeBestEffort" function [#CLICKHOUSE-2]
2018-12-24 21:28:41 +03:00
Alexey Milovidov
f36c9a1747
Fixed test #3921
2018-12-24 18:56:38 +03:00
alesapin
22b9969f05
Merge branch 'master' into custom_compression_codecs
2018-12-24 18:53:31 +03:00
alesapin
f991232fe3
Add custom network compression settings to test
2018-12-24 18:52:12 +03:00
alesapin
36fb2d16cd
Add test with non default config
2018-12-24 18:50:02 +03:00
Alexey Milovidov
b624add2e7
Rewrite code to calculate integer conversion function monotonicity; fixed test #3870
2018-12-24 18:46:55 +03:00
alesapin
29ad7f9fb1
Remove redundant changes and shift error codes
2018-12-24 16:19:24 +03:00
alexey-milovidov
add2c0a6fc
Merge branch 'master' into int-round-overflow
2018-12-24 15:50:13 +03:00
Alexey Milovidov
1dffa56073
Fixed test #3913
2018-12-24 15:47:24 +03:00
alesapin
1e771a4aec
Fix error codes
2018-12-24 14:34:50 +03:00
Alexey Milovidov
8c00157bc8
Merge branch 'master' into fix-buffer-overflow-in-add-days
2018-12-24 02:18:16 +03:00
Alexey Milovidov
80f155cfda
Fixed overflow in rounding functions with integer argument and large negative scale [#CLICKHOUSE-2]
2018-12-24 02:12:30 +03:00
Alexey Milovidov
aca29588c7
Added test for already fixed bug [#CLICKHOUSE-2]
2018-12-24 01:39:49 +03:00
Alexey Milovidov
7678db6e9d
Added a test for already fixed bug [#CLICKHOUSE-2]
2018-12-24 01:22:55 +03:00
Alexey Milovidov
c828afd3db
Added a test for already fixed bug [#CLICKHOUSE-2]
2018-12-24 01:20:44 +03:00
Alexey Milovidov
5ccf9e1d54
Updated test #3913
2018-12-24 01:16:04 +03:00
Alexey Milovidov
f09da489f7
Added test #3913
2018-12-24 01:10:48 +03:00
alexey-milovidov
a03c28d0e6
Merge pull request #3909 from yandex/fix-use-after-free-in-array-enumerate
...
Fix use after free in arrayEnumerateUniq and -Dense function.
2018-12-23 06:11:43 +03:00
alexey-milovidov
b658ea452e
Merge pull request #3900 from infovista/add_column_if_not_exists
...
Support for IF NOT EXISTS in ALTER TABLE ADD COLUMN
2018-12-23 05:37:39 +03:00
Alexey Milovidov
4468462ca6
Fixed test #3909
2018-12-23 04:48:09 +03:00
Alexey Milovidov
fac239147d
Added test #3909
2018-12-22 19:19:16 +03:00
alexey-milovidov
536c41102c
Merge branch 'master' into xxhash
2018-12-21 21:59:51 +03:00
mf5137
3757007118
Adding xxHash64 and xxHash32 functions
2018-12-21 18:53:16 +01:00
Boris Granveaud
d776d1164a
support for IF EXISTS/IF NOT EXISTS in ALTER TABLE ADD/DROP/CLEAR/MODIFY/COMMENT COLUMN
2018-12-21 15:53:00 +01:00
alesapin
42b9735760
Add LZ4HC
2018-12-21 17:03:53 +03:00
alesapin
5b23210062
Merge branch 'master' into custom_compression_codecs
2018-12-21 11:57:21 +03:00
alexey-milovidov
52efaf6bb7
Merge pull request #3870 from zhang2014/fix/string_monotonicity
...
Fixed convert function monotonic failure when string data type
2018-12-20 23:55:58 +03:00
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
zhang2014
263de501f5
add test & use isRepresentedByNumber
2018-12-20 22:08:17 +08:00
Alexey Milovidov
7c5cff2dd4
Renamed test #3350
2018-12-20 16:23:49 +03:00
alesapin
0ae14be8d2
Fix codes
2018-12-20 13:44:20 +03:00
Ivan Blinkov
f63aa0eb3b
Support MySQL-style syntax for DATE_ADD and similar functions
2018-12-20 11:22:24 +03:00
zhang2014
dc61a73a6e
Fixed convert function monotonic failure when string data type
2018-12-20 10:04:30 +08:00
alesapin
512fe3c854
Refactoring (sanitizer failure)
2018-12-19 20:20:18 +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
alesapin
9b0d47c0c3
Add zstd params validation
2018-12-18 18:00:51 +03:00
alesapin
bc0e0c220e
Add level test
2018-12-18 17:43:15 +03:00
alesapin
314fbbd71f
Remove some debug output
2018-12-18 17:41:58 +03:00
Ivan Blinkov
5abfcfcd48
Support proper syntax for dateDiff
2018-12-18 17:40:30 +03:00
alesapin
3d0da644f1
one more test
2018-12-18 17:37:55 +03:00
alesapin
60456eb742
More tests on compression codecs
2018-12-18 17:34:18 +03:00
Ivan Blinkov
362948e891
Introduce quarter interval kind as 3 months (in preparation for #3705 )
2018-12-18 16:16:48 +03:00
alesapin
6fe01af829
Merge branch 'master' into custom_compression_codecs
2018-12-18 14:06:11 +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
alesapin
36a6121f75
Merge branch 'master' into custom_compression_codecs
2018-12-17 12:56:21 +03:00
alesapin
436845ff7e
Debuging codec multiple
2018-12-17 11:31:59 +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
alesapin
8a95eb9dc1
More tests for parser
2018-12-14 16:27:35 +03:00
Ivan Blinkov
9dca1e3ca2
Test for left/right with cut size larger than input
2018-12-14 14:45:45 +03:00
alesapin
cc229ac9cc
Remove strange test
2018-12-14 14:32:23 +03:00
alesapin
29e2bbaa94
Merge remote-tracking branch 'origin' into custom_compression_codecs
2018-12-14 11:24:23 +03:00
alesapin
d7bc4ae115
Seems like first simpliest working code
2018-12-13 19:21:08 +03:00
alesapin
a492d0f6bf
Seems like working parser
2018-12-13 18:26:28 +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
zhang2014
6d0c4eaf89
ISSUES-838 add lz4、none、zstd codec
2018-12-13 12:10:34 +08: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