Alexey Milovidov
4c35a73a74
Fixed UB #3926
2018-12-27 04:03:16 +03:00
Alexey Milovidov
e8328c576b
Fixed UB #3926
2018-12-27 03:59:52 +03:00
Alexey Milovidov
1c0659ac2f
Fixed test #3926
2018-12-27 03:55:05 +03:00
Alexey Milovidov
fec30acf81
Allowed some UB #3926
2018-12-27 03:51:14 +03:00
Alexey Milovidov
673fa80a9c
Allowed some UB #3926
2018-12-27 03:40:10 +03:00
Alexey Milovidov
c20f05875a
Moved code; added comment #3926
2018-12-27 03:34:49 +03:00
Alexey Milovidov
3c84e47419
Fixed UB #3926
2018-12-27 03:33:54 +03:00
Alexey Milovidov
713a44c38e
Fixed UB #3926
2018-12-27 03:33:32 +03:00
Alexey Milovidov
39492139f0
Allowed some UB #3926
2018-12-27 03:25:47 +03:00
Alexey Milovidov
d6c7825328
Addition to prev. revision #3926
2018-12-27 03:11:42 +03:00
Alexey Milovidov
e308d2e069
Addition to prev. revision #3926
2018-12-27 03:10:38 +03:00
Alexey Milovidov
2e20bd4b4a
Addition to prev. revision #3926
2018-12-27 03:09:39 +03:00
Alexey Milovidov
408f935754
Addition to prev. revision #3926
2018-12-27 03:03:18 +03:00
Alexey Milovidov
2e323192a2
Addition to prev. revision #3926
2018-12-27 03:02:11 +03:00
Alexey Milovidov
732f60c8be
Allowed some UB under UBSan #3926
2018-12-27 02:55:09 +03:00
Alexey Milovidov
37a2d51e0c
Added attribute #3926
2018-12-27 02:17:04 +03:00
Alexey Milovidov
10362ab7e1
Fixed build #3926
2018-12-27 01:56:54 +03:00
Alexey Milovidov
5570ddada5
Fixed error in internal implementation of quantileTDigest [#CLICKHOUSE-2]
2018-12-27 00:02:39 +03:00
alesapin
9e32de053d
Update Compressor.cpp
2018-12-26 23:53:39 +03:00
alexey-milovidov
5c4ebfa2e1
Update RequiredSourceColumnsVisitor.h
2018-12-26 23:35:06 +03:00
alexey-milovidov
67dbfd8e81
Update ExpressionAnalyzer.cpp
2018-12-26 23:33:29 +03:00
Alexey Milovidov
7509db544c
Merge branch 'master' of github.com:yandex/ClickHouse into ubsan-fixes-3
2018-12-26 22:38:11 +03:00
alexey-milovidov
b7f25f6ffe
Merge pull request #3932 from yandex/fix_no_message_received
...
Move processing pool to ternary logic
2018-12-26 22:16:01 +03:00
alexey-milovidov
cd00fc8b56
Merge pull request #3934 from yandex/fix-zk-node-cache
...
Fix ZooKeeperNodeCache becoming unusable after SessionExpired event
2018-12-26 22:15:32 +03:00
chertus
4b63c11cea
Merge branch 'master' into ast
2018-12-26 21:56:41 +03:00
chertus
0812f79421
remove unused code
2018-12-26 21:56:21 +03:00
Alexey Zatelepin
601a6af0ec
fix ZooKeeperNodeCache becoming unusable after SessionExpired event #2947 #3891
...
Previously after a SessionExpired event the context->zookeeper field was
reinitialized with the old expired ZooKeeper instance. This led to inability
to get new paths. Better not cache the ZooKeeper instance and get it at the
start of each request.
2018-12-26 20:27:25 +03:00
alesapin
9342700ce1
Move processing pool to ternary logic
2018-12-26 20:03:29 +03:00
alesapin
31f82940e1
Update Compressor.cpp
2018-12-26 19:18:21 +03:00
chertus
371ec0d576
fix gcc build
2018-12-26 18:40:47 +03:00
Alexey Milovidov
c88fd6025a
Merge branch 'master' of github.com:yandex/ClickHouse into ubsan-fixes-3
2018-12-26 18:09:54 +03:00
alesapin
89966db3ba
Add multiple codecs to compressor
2018-12-26 18:01:26 +03:00
chertus
6ea13516f0
rewrite ExpressionAnalyzer.collectUsedColumns CLICKHOUSE-3996
2018-12-26 17:43:25 +03:00
chertus
11982046d6
Merge branch 'master' into joins
2018-12-26 17:17:18 +03:00
chertus
62905013d7
rewrite ExpressionAnalyzer.collectUsedColumns CLICKHOUSE-3996
2018-12-26 17:08:57 +03:00
alesapin
98b372415d
Decrease sleep time
2018-12-26 14:23:15 +03:00
alesapin
444eb21d28
Fix exponential backoff for replication queue
2018-12-26 12:56:52 +03:00
alesapin
8f82d5a687
Merge branch 'master' into custom_compression_codecs
2018-12-26 10:43:33 +03:00
Alexey Milovidov
15a218f951
Fixed UB #3926
2018-12-26 09:03:18 +03:00
Alexey Milovidov
5abb2d02b9
Fixed UB #3926
2018-12-26 08:34:25 +03:00
Alexey Milovidov
ee4c7fe815
Allowed UB in certain cases #3926
2018-12-26 07:59:20 +03:00
Alexey Milovidov
d54d2f7558
Allowed UB in certain cases #3926
2018-12-26 07:56:38 +03:00
Alexey Milovidov
ed50d90812
Allowed UB in certain cases #3926
2018-12-26 07:50:56 +03:00
Alexey Milovidov
4a45db2b9b
Fixed UB #3926
2018-12-26 07:40:16 +03:00
Alexey Milovidov
5ca01486dd
Fixed UB #3926
2018-12-26 07:32:58 +03:00
Alexey Milovidov
fc39ce8673
Fixed UB #3926
2018-12-26 07:12:14 +03:00
Alexey Milovidov
3d3385139b
Fixed error #3926
2018-12-26 07:09:24 +03:00
Alexey Milovidov
c86e861b6d
Fixed error #3926
2018-12-26 06:38:57 +03:00
Alexey Milovidov
0ba7c1dd3a
Fixed UB #3926
2018-12-26 06:32:18 +03:00
Alexey Milovidov
665fc23f57
Fixed UB #3569
2018-12-26 06:27:26 +03:00
Alexey Milovidov
b5013194ec
Fixed UB #3569
2018-12-26 06:21:39 +03:00
Alexey Milovidov
56bd082105
Fixed UB #3926
2018-12-26 06:15:34 +03:00
Alexey Milovidov
b7f085c525
Fixed UB #3926
2018-12-26 05:47:16 +03:00
Alexey Milovidov
a2fae24e07
Fixed UB #3926
2018-12-26 05:09:59 +03:00
Alexey Milovidov
f2d789d384
Fixed UB #3926
2018-12-26 05:06:54 +03:00
Alexey Milovidov
897199c220
Fixed UB #3926
2018-12-26 04:29:48 +03:00
Alexey Milovidov
985aa2c034
Fixed build #3926
2018-12-26 04:12:13 +03:00
Alexey Milovidov
37bbc0ecd5
Fixed UB #3926
2018-12-26 04:08:14 +03:00
Alexey Milovidov
ee953b4653
Fixed UB (requires performance testing) #3569
2018-12-26 03:31:51 +03:00
Alexey Milovidov
b1b1c676c9
Fixed error #3926
2018-12-26 03:30:11 +03:00
Alexey Milovidov
e8dc222b61
Fixed UB #3926
2018-12-26 03:28:13 +03:00
Alexey Milovidov
4104a0610e
Added a test #3569
2018-12-26 03:18:11 +03:00
Alexey Milovidov
5d1bc8540e
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:50:12 +03:00
Alexey Milovidov
1191f1575d
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:44:44 +03:00
Alexey Milovidov
c858c144ef
Fixed UB #3926
2018-12-26 02:39:40 +03:00
Alexey Milovidov
07bfa2f460
Added instruction for UBSan usage #3926
2018-12-26 02:32:41 +03:00
Alexey Milovidov
cfc1e207ab
Fixed UB #3926
2018-12-26 02:27:52 +03:00
Alexey Milovidov
bbbefe2c03
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:18:07 +03:00
Alexey Milovidov
a204ed264f
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:15:28 +03:00
Alexey Milovidov
436b9b6eac
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:14:39 +03:00
Alexey Milovidov
3be55436bf
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:13:30 +03:00
Alexey Milovidov
4c0b95ac02
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:11:36 +03:00
Alexey Milovidov
4cb431264a
Fixed UB #3926
2018-12-26 02:06:39 +03:00
Alexey Milovidov
06783113a7
Fixed UB [#CLICKHOUSE-2]
2018-12-26 00:18:40 +03:00
Alexey Milovidov
8f306e8b45
Small improvements #3920
2018-12-25 22:31:18 +03:00
alexey-milovidov
de88010ac8
Merge pull request #3920 from amosbird/leftpad
...
POC zero left padding for PODArray
2018-12-25 21:54:17 +03:00
alexey-milovidov
8120d5495e
Update PODArray.h
2018-12-25 21:52:43 +03:00
alexey-milovidov
d99072ffb0
Update PODArray.h
2018-12-25 21:51:37 +03:00
alexey-milovidov
e1568fd9ad
Update PODArray.h
2018-12-25 21:49:09 +03:00
alexey-milovidov
3490ddb51d
Merge pull request #3921 from yandex/int-monotonicity-cleanups
...
Rewrite code to calculate integer conversion function monotonicity
2018-12-25 21:45:00 +03:00
Alexey Milovidov
4ee7b80ab4
Fixed error #3870
2018-12-25 21:40:47 +03:00
Alexey Milovidov
fc4f7d2e77
Investigation #3921
2018-12-25 21:06:38 +03:00
alexey-milovidov
3687980ccf
Merge pull request #3918 from filimonov/xxhash
...
Performance tests for hash functions
2018-12-25 20:55:55 +03:00
Alexey Milovidov
a868180516
Fixed test, try 2 #3914
2018-12-25 20:54:26 +03:00
Alexey Milovidov
877750cd6a
Fixed test #3914
2018-12-25 20:54:26 +03:00
Alexey Milovidov
a66ce65b22
Fixed test, try 2 #3914
2018-12-25 20:52:28 +03:00
Alexey Milovidov
3a8f3a05de
Fixed test #3914
2018-12-25 20:45:02 +03:00
Alexey Milovidov
6758c76da3
Removed the only test case that use "mouse_clicks" table [#CLICKHOUSE-2]
2018-12-25 20:32:12 +03:00
Alexey Milovidov
3500d5a72e
Removed the only test case that use "mouse_clicks" table [#CLICKHOUSE-2]
2018-12-25 20:30:53 +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
Alexey Milovidov
7763104090
Merge branch 'master' into int-monotonicity-cleanups
2018-12-25 17:28:32 +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
c91687f9d7
Small refactoring
2018-12-25 13:35:46 +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
alesapin
a82dfef893
Fix in parser
2018-12-24 20:12:14 +03:00
Alexey Milovidov
5e8035f166
Fixed error #3921
2018-12-24 19:13:04 +03:00
alesapin
bbdfc77f21
Update CachedCompressedReadBuffer.h
2018-12-24 19:12:25 +03:00
alesapin
f7e06cf9ac
Remove random changes
2018-12-24 19:03:22 +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
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
14e425ddb4
Merge pull request #3919 from yandex/kafka-segfault-investigation
...
StorageKafka: minor modifications.
2018-12-24 18:48:54 +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
f2fd1e4da6
Fix style and includes
2018-12-24 17:10:37 +03:00
mf5137
c07b0659fd
Performance tests for hash functions2
2018-12-24 15:09:54 +01:00
Alexey Milovidov
ce10674107
Fixed weird error in PR #3870
2018-12-24 16:25:48 +03:00
alesapin
29ad7f9fb1
Remove redundant changes and shift error codes
2018-12-24 16:19:24 +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
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
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
Alexey Milovidov
2ee4c443d5
Merge branch 'master' of github.com:yandex/ClickHouse into kafka-segfault-investigation
2018-12-24 14:05:36 +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
2c6e49c3f3
More checks [#CLICKHOUSE-2]
2018-12-21 19:24:47 +03:00
Alexey Milovidov
661a117b91
Added assertion [#CLICKHOUSE-2]
2018-12-21 19:03:40 +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
alesapin
a0240d8a0e
Remove accident change
2018-12-21 17:19:49 +03:00
alesapin
74ea831240
Remove commented codec
2018-12-21 17:06:49 +03:00
alesapin
42b9735760
Add LZ4HC
2018-12-21 17:03:53 +03:00
alesapin
6f7333840a
Move header with compression info to another place
2018-12-21 16:25:39 +03:00
alesapin
7c11455bd3
Remove compression settings
2018-12-21 15:17:30 +03:00
zhang2014
6ffdcb38a2
Fix check data type with converts function
2018-12-21 19:37:33 +08: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 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
Alexey Zatelepin
b7afe46dfd
remove ALTER MODIFY PRIMARY KEY command [#CLICKHOUSE-4214]
2018-12-20 21:57:20 +03:00
Alexey Milovidov
6a914f5b3c
Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate
2018-12-20 21:17:21 +03:00
Alexey Milovidov
980d6d9e46
Fixed error in "regexpQuoteMeta" function #3826
2018-12-20 21:16:06 +03:00
alexey-milovidov
d9e8cd46da
Merge pull request #3879 from yandex/setting-low_cardinality_allow_in_native_format
...
Added low_cardinality_allow_in_native_format setting.
2018-12-20 21:02:02 +03:00
Alexey Milovidov
5346e1c575
Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate
2018-12-20 20:58:58 +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
1841634ae2
Removed accidential change [#CLICKHOUSE-2]
2018-12-20 20:49:37 +03:00
Alexey Milovidov
9c65c539cd
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-20 20:48:20 +03:00
Alexey Milovidov
b7b418a6f5
Renamed setting #3851
2018-12-20 20:48:11 +03:00
alexey-milovidov
4993cb53d1
Merge pull request #3886 from yandex/low-cardinality-specialized-aggregation
...
Added LowCardinality support for specialized aggregation.
2018-12-20 20:46:49 +03:00
Alexey Milovidov
edc415857c
Removed accidential change [#CLICKHOUSE-2]
2018-12-20 20:46:31 +03:00
alesapin
aee6c0a606
Remove dump code
2018-12-20 20:37:02 +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
c8cab3cf1e
Added performance test #3139
2018-12-20 19:11:22 +03:00
Alexey Milovidov
8f4b10bc51
Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate
2018-12-20 18:19:15 +03:00
Nikolai Kochetov
18b530544e
Fix setting description.
2018-12-20 18:17:07 +03:00
Alexey Milovidov
731d76821d
Merging abandoned pull request with "boundingRatio" function #3139
2018-12-20 18:14:32 +03:00
Nikolai Kochetov
fbcf6640c9
Fix style.
2018-12-20 17:54:26 +03:00
Nikolai Kochetov
7b994d983f
Fix Native streams headers.
2018-12-20 17:26:54 +03:00
Alexey Milovidov
113ff56384
Merge branch 'master' into twosixlabs-add_rate_function
2018-12-20 17:19:06 +03:00
Alexey Milovidov
2ae6b6414c
Fixed error in 'compressor' tool: the 'level' parameter wasn't working #1345
2018-12-20 17:16:07 +03:00
zhang2014
263de501f5
add test & use isRepresentedByNumber
2018-12-20 22:08:17 +08:00
Nikolai Kochetov
4e58b62b0c
Added LowCardinality support for specialized aggregation.
2018-12-20 16:28:20 +03: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
alesapin
04902c569a
Non effective, but working code
2018-12-20 13:27:38 +03:00
proller
bd17982224
Fix clang build
2018-12-20 12:54:28 +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
proller
6869771ae4
Fix includes
2018-12-19 20:57:51 +03:00
proller
fdd22ad187
Fix includes
2018-12-19 20:56:58 +03:00
Nikolai Kochetov
4eb7a820d6
Fix style
2018-12-19 20:54:46 +03:00
alesapin
512fe3c854
Refactoring (sanitizer failure)
2018-12-19 20:20:18 +03:00
Nikolai Kochetov
0f8f5836fb
Fix build.
2018-12-19 19:55:01 +03:00
Nikolai Kochetov
78321a04a1
Added low_cardinality_allow_in_native_format setting.
2018-12-19 19:47:30 +03:00
Alexey Milovidov
2f9ead4548
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-19 19:18:56 +03:00
alexey-milovidov
f05bf6c046
Merge pull request #3873 from s-mx/send_logs_level2
...
Fix strange behavior of send_logs_level setting.
2018-12-19 19:18:02 +03:00
alexey-milovidov
ca75d18414
Merge pull request #3875 from abyss7/issue-3591
...
Treat Enums as Ints inside If() function
2018-12-19 18:30:09 +03:00
Alexey Milovidov
92499c725d
Fixed test #3811
2018-12-19 18:27:57 +03:00
Ivan Blinkov
24a0b3a53e
Additional function case insensitivity from #3704
2018-12-19 17:46:18 +03:00
Ivan Lezhankin
4c3af43ed3
Add test.
2018-12-19 17:36:55 +03:00
Ivan Lezhankin
937c0fb4a4
Treat Enum* types as Int* inside If() function.
2018-12-19 17:02:26 +03:00
Ivan
37345468b3
Explicitly include <optional> for clang-6.0
2018-12-19 16:57:55 +03:00
Sabyanin Maxim
ea27ec463e
add SettingLogsLevel
2018-12-19 16:20:41 +03:00
chertus
7e6a39f623
Merge branch 'master' into joins
2018-12-19 16:14:17 +03:00
chertus
cbf3c34cf3
minor improvement in ExpressionAnalyzer + array join
2018-12-19 16:13:51 +03:00
Alexey Milovidov
b7ce79c423
Miscellaneous [#CLICKHOUSE-2]
2018-12-19 16:11:06 +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
Ivan Blinkov
0b79053afd
remove accidental file duplicate
2018-12-19 12:05:04 +03:00
Ivan Blinkov
714bd5b88a
Add lost zero byte in regexpQuoteMeta
2018-12-19 12:02:59 +03:00
Alexey Milovidov
2874061410
Fix use after free in arrayEnumerate [#CLICKHOUSE-2]
2018-12-19 07:21:23 +03:00
Alexey Milovidov
68e0af176e
Fix use after free in arrayEnumerate [#CLICKHOUSE-2]
2018-12-19 06:53:09 +03:00
Alexey Milovidov
8889f0859a
Fixed typo [#CLICKHOUSE-2]
2018-12-19 06:43:37 +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
8e83a3c4ef
Merge branch 'persiyanov-feature/roundDown-function'
2018-12-19 04:30:53 +03:00
Alexey Milovidov
4a6c25e65d
Merging #3721 ; Added a test
2018-12-19 04:30:32 +03:00
Alexey Milovidov
b9a68fbe93
Merging #3721 ; Added a test
2018-12-19 04:29:40 +03:00
Alexey Milovidov
cf68f08099
Merge branch 'feature/roundDown-function' of https://github.com/persiyanov/ClickHouse into persiyanov-feature/roundDown-function
2018-12-19 03:29:21 +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
c47dfb064e
Update ExecuteScalarSubqueriesVisitor.cpp
2018-12-19 03:19:31 +03:00
Alexey Milovidov
d5d1c34017
Merging #3811
2018-12-18 23:24:16 +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
chertus
f992f0a9a0
better check when rewrites needed
2018-12-18 21:28:02 +03:00
proller
b213ee5e5d
Fix macos build ( #3863 )
2018-12-18 20:41:03 +03:00
Ivan Blinkov
c5cb1573b5
One more kind of aliases for DATE_DIFF
2018-12-18 18:47:27 +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