Commit Graph

3102 Commits

Author SHA1 Message Date
alesapin
cb0e77dce6 Fix non initialized codec and wrong size in CacheCompressedReadBuffer 2019-01-29 17:55:57 +03:00
chertus
294f68c4ee fix wrong test result 2019-01-29 15:54:46 +03:00
chertus
9c6f71bb7e fix inner and left join with duplicates [issue-4108] 2019-01-29 15:38:53 +03:00
Alexey Milovidov
c792191831 Fixed possible overflow in function "sleep" (found by fuzz test with UBSan) #4166 2019-01-29 13:42:45 +03:00
alexey-milovidov
032ed27c27
Merge pull request #4154 from 4ertus2/joins
Add IdentifierSemantic and PredicateExpressionsOptimizer refactoring
2019-01-28 01:47:57 +03:00
alexey-milovidov
4b8cf83de7
Merge pull request #4151 from ercolanelli-leo/fix/sumMap-overflow
Fix/sum map overflow
2019-01-27 21:11:51 +03:00
alexey-milovidov
ba8fcfd32b
Merge pull request #4158 from vitlibar/add-support-for-absolute-format-schema-paths
Add support for absolute format schema paths.
2019-01-27 21:07:00 +03:00
Vitaly Baranov
e9721c9548 Add support for absolute format schema paths. 2019-01-27 12:15:32 +03:00
alexey-milovidov
9557b33e83
Update 00832_storage_file_lock.sql 2019-01-27 03:43:16 +03:00
Alexey Milovidov
de56cc7a8e Added a test #2150 2019-01-27 03:40:54 +03:00
Alexey Milovidov
7100a74e41 Removed bug 2019-01-27 00:40:24 +03:00
proller
5328251ff1
Fix build without protobuf, gtest, cppkafka (#4152) 2019-01-25 23:02:03 +03:00
Léo Ercolanelli
f680176ade sumMapWithOverflow: add test 2019-01-25 20:54:46 +01:00
alexey-milovidov
8124ee50e8
Merge pull request #4153 from amosbird/joingetfix
Better joinGet.
2019-01-25 20:47:53 +03:00
alexey-milovidov
c07dbee50d
Merge pull request #4148 from vitlibar/master
Use more IO/WriteHelpers.h functions in the class ProtobufSimpleWriter, rename variant=>varint.
2019-01-25 19:22:31 +03:00
chertus
091efcda95 add IdentifierSemantic and PredicateExpressionsOptimizer refactoring 2019-01-25 18:42:24 +03:00
Amos Bird
d8eba7e71b Better joinGet. 2019-01-25 23:38:13 +08:00
Vitaly Baranov
ed1136e49e Use more IO/WriteHelpers.h functions in the class ProtobufSimpleWriter,
rename variant=>varint.
2019-01-25 17:15:44 +03:00
Léo Ercolanelli
0d6094a3ea sumMap: return types less prone to oveflows
It used to be that sumMap would return the same type as the values
columns. If columns of Array(UInt8) were to be given, that would really
easily cause oveflow. It now uses `getWidenDataType` (and ultimately
`NearestFieldType`) in order to define the result type.
2019-01-25 14:29:45 +01:00
chertus
02f236e457 one more test 2019-01-25 16:15:29 +03:00
alexey-milovidov
20970154d8
Merge pull request #4141 from 4ertus2/ast
JOIN with USING: do not duplicate columns
2019-01-25 03:22:43 +03:00
alexey-milovidov
2626a2614c
Merge pull request #4145 from yandex/fix-fuzz-test-in-ubsan-quantile-weighted
Fix fuzz test in ubsan: added parameter type check for quantile*Weighted.
2019-01-25 02:45:07 +03:00
alexey-milovidov
f96b8e4ed6
Merge pull request #4005 from vitlibar/add-protobuf-output-format
Add protobuf output format
2019-01-24 22:05:23 +03:00
chertus
1e04ef16a0 one more test fix 2019-01-24 21:55:18 +03:00
Alexey Milovidov
2d490acc3e Added test 2019-01-24 21:36:45 +03:00
chertus
8a11f753be fix test results 2019-01-24 21:34:31 +03:00
alexey-milovidov
fbefc99fb1
Merge pull request #4129 from ercolanelli-leo/sumMapFiltered
implement sumMapFiltered
2019-01-24 21:27:03 +03:00
Alexey Milovidov
0e59fe0b46 Renamed setting and variables #3973 2019-01-24 20:12:05 +03:00
alexey-milovidov
d79ed9fde6
Update 00502_sum_map.reference 2019-01-24 19:34:27 +03:00
Vitaly Baranov
2e383bfdeb Added tests for writing protobufs. 2019-01-24 17:54:57 +03:00
chertus
cbbf04204b JOIN with USING: do not duplicate columns 2019-01-24 17:22:58 +03:00
Léo Ercolanelli
e64dc4798e sumMapFiltered: fix test output 2019-01-24 14:54:29 +01:00
Ivan Lezhankin
20b94a635c Select the materialized view only once 2019-01-24 14:58:25 +03:00
Ivan Lezhankin
c50583126e Fix tests 2019-01-24 14:58:25 +03:00
Ivan Lezhankin
425d483cfb Add integration tests 2019-01-24 14:58:25 +03:00
alesapin
a8524b6e36 Fix wrong code in clickhouse-test 2019-01-24 14:03:33 +03:00
alexey-milovidov
f13d094a4e
Merge pull request #3973 from amosbird/join_overwrite
Add join_overwrite settings for StorageJoin.
2019-01-24 02:05:13 +03:00
alexey-milovidov
c5ca446547
Merge pull request #4130 from Miniwoffer/testscript_printhelp
clickhouse-test "no binary found"
2019-01-23 23:02:02 +03:00
Léo Ercolanelli
8ad1a55f3b implement sumMapFiltered 2019-01-23 15:23:04 +01:00
Odin Hultgren Van Der Horst
e3d5b21d6a Fixes to clickhouse-test script 2019-01-23 15:05:11 +01:00
alesapin
eb207b2c5c Replace untrusted hits_1000m with hits_1000m_single in performance test 2019-01-23 15:48:15 +03:00
maiha
6c83beafdd dbms: Fixed misspells in comments 2019-01-23 04:56:53 +09:00
alexey-milovidov
12845599a9
Merge pull request #4121 from 4ertus2/ast
Fix ArrayJoin columns calculation
2019-01-22 22:09:36 +03:00
chertus
97199b9712 fix ArrayJoin columns calculation 2019-01-22 20:36:08 +03:00
Nikolai Kochetov
3b0c67b6cd Added test with all joins to bugs. 2019-01-22 19:21:55 +03:00
chertus
1d0bee7dee fix collecting required columns in lambda 2019-01-21 22:56:11 +03:00
alesapin
34fb1c89f1 Add ability to choose codecs for storage log and tiny log 2019-01-21 17:00:06 +03:00
Alexey Milovidov
be4eed19ae Merge branch 'master' of github.com:yandex/ClickHouse 2019-01-20 03:10:58 +03:00
Alexey Milovidov
05e713e724 Fixed test #3960 2019-01-20 03:10:49 +03:00
alexey-milovidov
ee23f6997d
Merge pull request #4084 from yandex/storage_hdfs_improvements
Storage hdfs write and refactoring
2019-01-20 02:51:39 +03:00
Alexey Milovidov
0fd1eca8cc Fixed test 2019-01-20 01:43:49 +03:00
alesapin
21f1c4d1ce Better code and tests for bad cases 2019-01-19 23:17:19 +03:00
Alexey Milovidov
2752cf7eaf Added a test #4097 2019-01-19 01:15:58 +03:00
alexey-milovidov
b7544c12f4
Merge pull request #3969 from yandex/open-test-data-2
Adapted "stateful" tests for public test dataset.
2019-01-18 22:25:35 +03:00
alexey-milovidov
3c6263e89e
Merge pull request #4094 from abyss7/issue-2675
Add setting to Kafka Engine to control number of parsing errors
2019-01-18 21:46:52 +03:00
alesapin
d8b01bec80 Merge branch 'master' of github.com:yandex/ClickHouse 2019-01-18 14:48:18 +03:00
alesapin
a5af465b20 Add option for stateless tests disabling 2019-01-18 14:47:50 +03:00
alexey-milovidov
908015aa4b
Merge pull request #4088 from proller/fix14
CLICKHOUSE-4257 remoteSecure
2019-01-18 00:48:55 +03:00
proller
f2bbac6523 CLICKHOUSE-4257 remoteSecure 2019-01-17 20:55:44 +03:00
Alexey Milovidov
7a4c46b38f Reading the test #4063 2019-01-17 18:30:44 +03:00
Alexey Milovidov
303c3cc043 Merge branch 'master' of https://github.com/Miniwoffer/ClickHouse into Miniwoffer-master 2019-01-17 18:04:06 +03:00
alexey-milovidov
af32828d9a
Update 00823_capnproto_input.sh 2019-01-17 18:02:49 +03:00
alesapin
07e11577d3 Add write logic and remove strange multifile read logic 2019-01-17 17:10:30 +03:00
alexey-milovidov
0ec1fdef04
Merge pull request #3960 from yandex/zk-columns-compact-storage
Compact storage of the part header in ZooKeeper
2019-01-17 17:05:01 +03:00
Odin Hultgren Van Der Horst
da4f4c882f Added test for capnproto 2019-01-17 10:40:18 +01:00
alexey-milovidov
2cbd1263a9
Merge pull request #4053 from danlark1/master
MultiVolnitsky added with tests and some benchmark, many multiFunctions are added to support multistring search
2019-01-16 22:24:57 +03:00
Alexey Milovidov
fc2a0cdfb1 Added a test #4004 2019-01-16 22:24:21 +03:00
Alexey Zatelepin
0f8e5f8522 Merge branch 'master' into zk-columns-compact-storage
Conflicts:
	dbms/src/Storages/StorageReplicatedMergeTree.cpp
2019-01-16 17:45:16 +03:00
Alexey Milovidov
95d4f5089e Merge branch 'master' into open-test-data-2 2019-01-16 17:15:04 +03:00
Danila Kutenin
1badabdcd0 Merge branch 'master' of https://github.com/yandex/ClickHouse 2019-01-16 17:06:38 +03:00
alesapin
87229baac0
commit just to trigger ci 2019-01-16 15:07:26 +03:00
Alexey Milovidov
63f62f2548 Added a bug #3837 2019-01-16 03:22:10 +03:00
Alexey Milovidov
368b5f965e Fixed bad test #3837 2019-01-16 03:20:44 +03:00
Alexey Milovidov
36f679f59a Removed test case that reproduces a bug 2019-01-16 03:19:47 +03:00
alesapin
cb42608fab Add data comparison 2019-01-15 19:34:43 +03:00
alesapin
8d2f0e0cda Add compression ratio tests for Float64, UInt64 and String 2019-01-15 19:20:33 +03:00
alesapin
361d26c643 Use information about type in Delta codec to choose correct delta size if possible 2019-01-15 17:20:34 +03:00
alesapin
37c78aa3d2 Merge branch 'master' of github.com:yandex/ClickHouse into compression_codec_delta 2019-01-15 16:24:49 +03:00
Danila Kutenin
43965c1703 Merge branch 'master' of https://github.com/yandex/ClickHouse 2019-01-15 16:19:15 +03:00
Ivan Lezhankin
76c4b86e0a Add sample instruction on how to test Kafka with ClickHouse locally 2019-01-15 15:57:06 +03:00
alesapin
48847441f1 Add spaces in codecs description 2019-01-15 14:06:00 +03:00
alesapin
84e3dbc2eb Add test codec don't changes 2019-01-14 19:00:56 +03:00
Danila Kutenin
a5669b6b7a MultiVolnitsky added with tests and some benchmark, many multiFunctions are added to support multistring search 2019-01-14 18:54:47 +03:00
alesapin
24b7214611 Even more tests 2019-01-14 18:53:10 +03:00
alesapin
43436aaf9d More strict tests 2019-01-14 18:34:06 +03:00
zhang2014
cdb138f13c merge 2019-01-14 18:14:34 +03:00
alesapin
c8257f6d0b Add compression codec delta and fix naming for parametric codecs 2019-01-14 14:54:40 +03:00
alexey-milovidov
08f4e792b1
Merge pull request #4009 from yandex/test_for_remote_global_in_user
Fix bug with wrong user in remote table function.
2019-01-09 19:29:34 +03:00
alexey-milovidov
ca7c3c0bfd
Merge pull request #4012 from yandex/fix-low-cardinality-numeric-distinct
Distinct by single LowCardinality numeric column.
2019-01-09 19:28:42 +03:00
alexey-milovidov
715abd0e0a
Merge pull request #4011 from yandex/fix-empty-low-cardinality-array
LowCardinality empty array serialization.
2019-01-09 18:22:05 +03:00
Nikolai Kochetov
5ab362a303 Fix distinct by single LowCardinality numeric column. 2019-01-09 17:47:51 +03:00
alesapin
f00b7ba08a Simplify test 2019-01-09 15:23:41 +03:00
alesapin
b8efafd400 Fix bug with wrong user restrictions in remote table func 2019-01-09 15:21:04 +03:00
Nikolai Kochetov
cea23a1486 Fix LowCardinality empty array serialization. #3907 2019-01-09 15:16:03 +03:00
alesapin
a1cdb0049d Add test for user exception check 2019-01-09 13:47:22 +03:00
alexey-milovidov
0648088ff0
Merge pull request #4000 from housepower/feature/gccHash
Add gccHash function
2019-01-09 10:29:37 +03:00
sundy-li
31a516300a rename to gccMurmurHash 2019-01-09 10:03:50 +08:00
Alexey Milovidov
224e688e9c Added test for #3920 2019-01-08 18:27:58 +03:00
sundy-li
e6c02a2356 Add gccHash function 2019-01-08 13:12:52 +08:00
Amos Bird
8ea4d7987b Add join_overwrite settings for StorageJoin.
This makes using StorageJoin as dictionary more flexible.
2019-01-07 01:23:26 +08:00
alexey-milovidov
457bb58f3e
Update sanitizers.md 2019-01-06 19:43:46 +03:00
zhang2014
a445514b61 ISSUES-3710 fix alias is missing when distributed & join on 2019-01-03 15:33:03 +08:00
Amos Bird
df5b735894 Better writeInt 2019-01-01 19:36:50 +08:00
alexey-milovidov
014e344a36
Merge pull request #3970 from yandex/storage-dictionary-race-condition
Fixed race condition in StorageDictionary
2018-12-30 06:22:34 +03:00
Alexey Milovidov
531560a6a5 Added bug [#CLICKHOUSE-3695] 2018-12-30 06:22:05 +03:00
Alexey Milovidov
67932a9562 Added a test [#CLICKHOUSE-3625] 2018-12-30 06:19:50 +03:00
Alexey Milovidov
f3dbfec808 Added a test #3286 2018-12-30 06:14:16 +03:00
Alexey Milovidov
d5881957fc Added suppressions list for TSan 2018-12-30 04:28:07 +03:00
Alexey Milovidov
00978e757d Fixed race condition in StorageDictionary [#CLICKHOUSE-3628] 2018-12-30 04:09:06 +03:00
Alexey Milovidov
d734215bc2 Adapted tests for open test data [#CLICKHOUSE-3] 2018-12-30 01:13:23 +03:00
Alexey Zatelepin
c0d6b84a91 add test for minimalistic part header [#CLICKHOUSE-4024] 2018-12-29 17:11:17 +03:00
Alexey Milovidov
e5729c58b1 Added bug [#CLICKHOUSE-4235] 2018-12-29 03:31:49 +03:00
alexey-milovidov
4ac9f7a204
Merge pull request #3959 from yandex/catboost-multiclass-models
Catboost multiclass models
2018-12-29 01:22:14 +03:00
Alexey Milovidov
3725116793 Added a test from Boris Granveaud #3421 2018-12-28 23:58:52 +03:00
Alexey Milovidov
d5b00298eb Revert "Added a test by Denis Zhuravlev #2170"
This reverts commit cb63179951.
2018-12-28 23:35:05 +03:00
Alexey Milovidov
cb63179951 Added a test by Denis Zhuravlev #2170 2018-12-28 23:34:01 +03:00
alexey-milovidov
f712f5be0d
Merge pull request #3956 from yandex/threadpool-constructor-exception-safety
Fixed exception safety of ThreadPool constructor
2018-12-28 23:31:48 +03:00
alesapin
b2727399b1
Merge pull request #3957 from yandex/nicelulu-click_update
Fix user and password forwarding
2018-12-28 22:50:16 +03:00
Alexey Milovidov
de10df4b12 Added a test just in case [#CLICKHOUSE-3995] 2018-12-28 21:37:23 +03:00
Nikolai Kochetov
2632c080d7 Added multiclass model test. 2018-12-28 21:22:39 +03:00
alesapin
43da59d0fc Improve test 2018-12-28 20:11:52 +03:00
alesapin
ab32a06c85 Fix code remove redundat files 2018-12-28 19:28:24 +03:00
alesapin
8bc00f4632 CLICKHOUSE-4229: Fix user forwarding for replicated queries which actually send queries to master node 2018-12-28 19:21:32 +03:00
alesapin
f42f511e89 Merge pr 2018-12-28 19:21:07 +03:00
Ivan
e21f414a34
Describe how to get build log in chrome-trace format 2018-12-28 19:05:39 +03:00
chertus
bae0370954 fix crash in JoinToSubqueryTransformVisitor (wrong casts) 2018-12-28 18:38:58 +03:00
alexey-milovidov
d16447c3f4
Merge pull request #3899 from yandex/custom_compression_codecs
Custom compression codecs
2018-12-28 08:29:09 +03:00
alexey-milovidov
5ff30f4512
Merge pull request #3946 from 4ertus2/joins
Multiple join emulation (very experimental - developers only)
2018-12-28 03:06:01 +03:00
Alexey Milovidov
f17095b146 Updated instruction #3948 2018-12-28 02:53:09 +03:00
Alexey Milovidov
ab85175e7f Merge branch 'master' of github.com:yandex/ClickHouse into ubsan-fixes-4 2018-12-28 00:23:13 +03:00
alexey-milovidov
cbc9e03038
Merge pull request #3945 from yandex/fix_ipv4_masks
Fix ipv4 mask restrictions for users and add integration tests
2018-12-28 00:22:02 +03:00
Alexey Milovidov
dae73f4d32 Fixed tests that was depend on timezone #3948 2018-12-27 23:44:07 +03:00
alexey-milovidov
0c6e6649b5
Merge pull request #3940 from 4ertus2/minor
Automatically  disable logs in negative tests CLICKHOUSE-4228
2018-12-27 22:53:28 +03:00
alesapin
c3c053e7b6 Add cap SYS_PTRACE for LeakSanitizer 2018-12-27 22:42:25 +03:00
Alexey Milovidov
01db559a70 Fixed test in non-local timezone [#CLICKHOUSE-2] 2018-12-27 22:39:14 +03:00
alexey-milovidov
1098fd834a
Merge pull request #3926 from yandex/ubsan-fixes-3
Ubsan fixes 3
2018-12-27 21:12:38 +03:00
chertus
be02d3fe33 Merge branch 'master' into joins 2018-12-27 19:20:20 +03:00
chertus
e8245f5935 basic support for multiple_joins_emulation CLICKHOUSE-3996 2018-12-27 19:12:42 +03:00
alesapin
3d0c26f573 Fix ipv4 mask restrictions for users and add integration tests 2018-12-27 18:55:51 +03:00
Alexey Milovidov
b94bfa5785 Fixed test #3926 2018-12-27 18:39:41 +03:00
proller
aab8e5f4b2 2443 Do not write preprocessed configs to /etc/ - Microfixes 2018-12-27 17:49:43 +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
07bfa2f460 Added instruction for UBSan usage #3926 2018-12-26 02:32:41 +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
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
3687980ccf
Merge pull request #3918 from filimonov/xxhash
Performance tests for hash functions
2018-12-25 20:55:55 +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
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
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
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