Commit Graph

2792 Commits

Author SHA1 Message Date
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
Amos Bird
8736a3908f left pad 2018-12-24 23:51:06 +08: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
mf5137
c07b0659fd Performance tests for hash functions2 2018-12-24 15:09:54 +01: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
1923ee9423
Merge pull request #3913 from yandex/fix-buffer-overflow-in-add-days
Fix buffer overflow in functions addDays, subtractDays
2018-12-24 15:47:46 +03:00
Alexey Milovidov
1dffa56073 Fixed test #3913 2018-12-24 15:47:24 +03:00
KochetovNicolai
99c73209a9
Update build_catboost.sh
Fix build script for CatBoost models.
2018-12-24 15:37:46 +03:00
mf5137
67ad598582 Performance tests for hash functions 2018-12-24 12:38:07 +01: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
f04f13a77a
Merge branch 'master' into fix-buffer-overflow-in-add-days 2018-12-24 01:23:32 +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
b9c4ede4fd
Merge pull request #3785 from sergey-v-galtsev/match-process-euid-against-data-owner
Match the process' effective user id against the data owner at the server startup.
2018-12-23 22:28:54 +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
a0240d8a0e Remove accident change 2018-12-21 17:19:49 +03: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
cbbf0bdb58 Merge branch 'master' of github.com:yandex/ClickHouse 2018-12-20 19:11:55 +03:00
Alexey Milovidov
7f544da83c Added performance test #3139 2018-12-20 19:11:45 +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
Sergey V. Galtsev
fb5dbb7959 Do not require the server to fail to start in the test. 2018-12-20 01:50:05 +03:00
Sergey V. Galtsev
a2042d60bf Resolve conflict with upstream. 2018-12-20 00:16:44 +03:00
Sergey V. Galtsev
81eeaec7fe Cleanup test. 2018-12-20 00:12:06 +03:00
Sergey V. Galtsev
acb8cf1849 Fix test. 2018-12-19 23:29:52 +03: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
689de0289f Added performance test #3721 2018-12-19 05:37:20 +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
fd49cc3c34 Simpliest codec multiple works 2018-12-18 16:08:22 +03:00
alesapin
6fe01af829 Merge branch 'master' into custom_compression_codecs 2018-12-18 14:06:11 +03:00
alexey-milovidov
3efb01b3f8
Merge pull request #3857 from yandex/fix_odbc_bridge
Do not log from odbc-bridge when there is no console
2018-12-18 03:26:46 +03:00
Ivan Blinkov
93d4303922 minor trim test improvements 2018-12-17 23:20:25 +03:00
alesapin
bb1760c468 Remove idiotic if 2018-12-17 23:11:19 +03:00
Ivan Blinkov
b7566a8d4d Add manual implementation of trim base case (without character override) 2018-12-17 23:07:31 +03:00
Ivan Lezhankin
8c8dc333e5 Fix unavailable shard's host:port for testing. 2018-12-17 21:06:50 +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
Ivan Blinkov
ebc0a165f4 Add perf test for right function 2018-12-14 12:32:24 +03:00
Ivan Blinkov
7b4b768195 Some perf tests for trim functions 2018-12-14 12:20:22 +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