Commit Graph

15072 Commits

Author SHA1 Message Date
Alexey Milovidov
b624add2e7 Rewrite code to calculate integer conversion function monotonicity; fixed test #3870 2018-12-24 18:46:55 +03:00
Alexey Milovidov
ce10674107 Fixed weird error in PR #3870 2018-12-24 16:25:48 +03:00
alexey-milovidov
659bb3f56c
Merge pull request #3910 from amosbird/ub
Fix UB.
2018-12-24 16:04:14 +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
KochetovNicolai
1070702168
Update CatBoostModel.cpp
Do not evaluate CatBoost model on empty dataset.
2018-12-24 15:35:46 +03:00
Alexey Milovidov
7cfa7c3dbe KILL QUERY: make WHERE clause mandatory #3916 2018-12-24 14:08:09 +03:00
Alexey Milovidov
184c36d78d Fixed error in KILL QUERY #3916 2018-12-24 14:06:35 +03:00
qianlixiang
416d6aa788 Fixed core dump caused by kill query sync 2018-12-24 16:17:22 +08:00
Alexey Milovidov
0b760ee9e9 Fixed overflow in rounding functions with integer argument and large negative scale [#CLICKHOUSE-2] 2018-12-24 03:47:11 +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
fbee51bb7d Removed redundand code #3785 2018-12-24 00:38:53 +03:00
Alexey Milovidov
986f96ada9 Removed redundand code #3785 2018-12-24 00:37:42 +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
6368daff63 Merge branch 'master' of github.com:yandex/ClickHouse 2018-12-23 22:25:53 +03:00
Alexey Milovidov
7b420297ed Fixed "unbundled" build #3905 2018-12-23 22:25:40 +03:00
proller
bebaf9d861 Fix includes, Faster compile (#3898)
* Fix includes

* Faster compile

* WTFix

* Limit compile and linking jobs according to available memory

* Add comment

* fix

* Remove ALL from copy-headers target

* Freebsd fix

* Better

* cmake: split use libcxx
2018-12-23 17:19:11 +03:00
Amos Bird
71fad54eb2 Fix UB. 2018-12-23 16:21:55 +08: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
34bed6c078 Fixed test [#CLICKHOUSE-2] 2018-12-23 05:12:18 +03:00
Alexey Milovidov
dd7325480f Fixed test [#CLICKHOUSE-2] 2018-12-23 05:11:56 +03:00
Alexey Milovidov
4468462ca6 Fixed test #3909 2018-12-23 04:48:09 +03:00
Alexey Milovidov
19d57c78b5 Fixed test #3909 2018-12-23 04:46:30 +03:00
Alexey Milovidov
83cf88c9c1 Less garbage #3909 2018-12-23 04:41:03 +03:00
Alexey Milovidov
fac239147d Added test #3909 2018-12-22 19:19:16 +03:00
Alexey Milovidov
94948cb587 Less garbage [#CLICKHOUSE-2] 2018-12-22 18:40:51 +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
Alexey Zatelepin
37065b6b8f prevent race condition when locking a distributed ALTER task for execution [#CLICKHOUSE-4221] 2018-12-21 20:28:21 +03:00
Alexey Milovidov
a8f09809f5 Simplified logic with "IColumn::convertToFullColumnIfConst" (suggested by Amos Bird) [#CLICKHOUSE-2] 2018-12-21 19:00:07 +03:00
alexey-milovidov
e9619169b5
Merge pull request #3896 from zhang2014/fix/check_type_with_converts
Fix check data type with converts function
2018-12-21 18:43:46 +03: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
Alexey Milovidov
a7f768d623 Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate 2018-12-21 17:33:10 +03:00
Alexey Milovidov
08d573d402 Fixed error with unused variable #3826 2018-12-21 17:23:39 +03:00
zhang2014
6ffdcb38a2 Fix check data type with converts function 2018-12-21 19:37:33 +08: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 Milovidov
a042e4e9e7 Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate 2018-12-20 22:07:00 +03:00
Alexey Milovidov
f6ce803eff Better implementation of regexpQuoteMeta #3826 2018-12-20 22:06:46 +03:00