Commit Graph

12765 Commits

Author SHA1 Message Date
alexey-milovidov
4c9ad05781
Merge pull request #4851 from yandex/remove-assume-mutable-1
Removed "assumeMutable" usage in one case
2019-03-29 18:34:03 +03:00
alexey-milovidov
de07b70178
Merge pull request #4849 from yandex/remove-unsafe-method-column-function
Removed unsafe methods from ColumnFunction
2019-03-29 18:23:33 +03:00
Nikolai Kochetov
5bd46508e8 Fix comments. 2019-03-29 18:07:53 +03:00
Alexey Milovidov
f86abeb8df Fixed comments 2019-03-29 18:06:35 +03:00
Vitaly Baranov
a78e067c70 Allow empty row_delimiter when using Kafka. 2019-03-29 17:38:52 +03:00
zhang2014
0096ef3524 try fix 2019-03-29 22:25:37 +08:00
Alexey Milovidov
88e94bad74 Removed "assumeMutable" usage in one case 2019-03-29 17:17:29 +03:00
Nikolai Kochetov
53319e2d6e Fixed reading from Array(LowCardinality) column with long block of empty array. 2019-03-29 17:06:46 +03:00
Alexey Milovidov
fdb0747219 Removed unsafe methods from ColumnFunction 2019-03-29 16:46:36 +03:00
alexey-milovidov
d10b256a8a
Merge pull request #4845 from yandex/max_partitions_per_insert_block
Implement "max_partitions_per_insert_block" setting
2019-03-29 16:20:46 +03:00
alexey-milovidov
976ee8a7ca
Merge pull request #4844 from yandex/fix-data-race-in-clear-old-temporary-directories
Fixed data race in clearOldTemporaryDirectories
2019-03-29 14:35:44 +03:00
Alexey Milovidov
8e8b5c40e2 Fixed error 2019-03-29 14:24:37 +03:00
qianlixiang
bdb420cdfd Fixed segment fault of arrayIntersect 2019-03-29 18:53:50 +08:00
zhang2014
1eb5713a74 fix crash when predicate optimzer & join on 2019-03-29 18:41:26 +08:00
Artem Zuikov
03cd41fbc7
Merge pull request #4774 from Gladdy/martijn-asof-join
Request for feedback on implementation of ASOF join
2019-03-29 13:19:31 +03:00
Alexey Milovidov
8a31d998fd Merge remote-tracking branch 'origin/master' into max_partitions_per_insert_block 2019-03-29 12:50:41 +03:00
Alexey Milovidov
72d021c3d7 Implement "max_partitions_per_insert_block" setting #4700 2019-03-29 12:45:55 +03:00
alexey-milovidov
7aefd6663f
Merge pull request #4841 from danlark1/master
Added hyperscan fuzzy search
2019-03-29 12:39:25 +03:00
Alexey Milovidov
8cb1619607 Implement "max_partitions_per_insert_block" setting #4700 2019-03-29 12:34:07 +03:00
Alexey Milovidov
8d3ef5df19 Fixed data race in clearOldTemporaryDirectories 2019-03-29 12:28:16 +03:00
Alexey Milovidov
34c0682353 Removed useless method 2019-03-29 11:37:05 +03:00
Danila Kutenin
cd850f6f98 Fix clang build 2019-03-29 10:04:44 +03:00
Danila Kutenin
b822923f5a Better renamings of fuzzy string search 2019-03-29 04:27:17 +03:00
Alexey Milovidov
a2e0f5d29c Merge branch 'master' into fix-race-condition-in-fetch-data-part 2019-03-29 04:22:20 +03:00
alexey-milovidov
72f27f4dec
Merge pull request #4836 from yandex/fix-race-condition-in-system-tables
Fixed TSan report in StorageSystemTables
2019-03-29 04:15:00 +03:00
Danila Kutenin
ef0d622a5f Added hyperscan fuzzy search 2019-03-29 04:02:05 +03:00
Alexey Milovidov
46be1608a6 Fixed error #4836 2019-03-29 02:17:22 +03:00
alexey-milovidov
e3c5da0a69
Merge pull request #4783 from yandex/cow-ptr-compositions
WIP. Attempt to make compositions with COWPtr more convenient
2019-03-29 02:09:39 +03:00
Martijn Bakker
9ac52b9368 fix master merge 2019-03-28 21:06:49 +00:00
Martijn Bakker
46f4557944 Merge branch 'master' into martijn-asof-join 2019-03-28 20:20:17 +00:00
Alexey Milovidov
3fb9814e3e Fixed race condition in fetchPart 2019-03-28 22:59:07 +03:00
Alexey Milovidov
350a0fe129 Miscellaneous 2019-03-28 22:58:41 +03:00
Martijn Bakker
e7a10b8a3e add inner asof join with tests 2019-03-28 19:31:11 +00:00
Alexey Milovidov
4645422176 Fixed TSan report in StorageSystemTables 2019-03-28 22:13:59 +03:00
Alexey Milovidov
4aaf9eccce Fixed error 2019-03-28 22:12:37 +03:00
Martijn Bakker
817a9244c0 fix up code style 2019-03-28 19:03:57 +00:00
Martijn Bakker
b0fd915724 remove the ASOFSplit struct 2019-03-28 18:35:50 +00:00
alexey-milovidov
8f9c8defc5
Merge pull request #4834 from danlark1/master
String search restrictions added
2019-03-28 21:22:38 +03:00
Alexey Milovidov
0a5b1d0a24 Merge branch 'master' into cow-ptr-compositions 2019-03-28 21:18:20 +03:00
Alexey Milovidov
3c29b5f611 Fixed bad code 2019-03-28 21:17:44 +03:00
Danila Kutenin
d22d66a552 Fix exception message 2019-03-28 20:06:04 +03:00
Danila Kutenin
d4e67fa64c Another bug fixed to the comparison 2019-03-28 19:58:16 +03:00
Alexey Milovidov
c8bc4d6e26 Fixed error 2019-03-28 19:48:14 +03:00
Danila Kutenin
70a7f4805d Test to the restriction added, fix bug 2019-03-28 19:41:11 +03:00
Alexey Milovidov
fa598d427d Fixed error 2019-03-28 19:28:54 +03:00
Danila Kutenin
cae4a426c5 Hyperscan restriction 2019-03-28 17:59:25 +03:00
Alexey Milovidov
4417705f32 Merge branch 'master' into cow-ptr-compositions 2019-03-28 17:47:59 +03:00
alexey-milovidov
203e36c2fa
Merge pull request #4824 from proller/fix26
CLICKHOUSE-4386 Version in exceptions
2019-03-28 17:45:02 +03:00
proller
e4d45b7e50 Fix test include 2019-03-28 16:10:42 +03:00
proller
cbffebc22c Print with version 2019-03-28 16:08:38 +03:00
proller
ccd5db786c Merge remote-tracking branch 'upstream/master' into fix26 2019-03-28 13:39:03 +03:00
alexey-milovidov
d731b437d3
Merge pull request #4782 from yandex/always-backquote-column-names
Always backquote column names
2019-03-28 00:23:02 +03:00
Alexey Milovidov
faf9462c37 Added support for constant-constant case in multi-search functions 2019-03-27 22:25:58 +03:00
alexey-milovidov
0a01a2f2d9
Merge pull request #4816 from yandex/add-setting-to-disable-hyperscan
Added a setting to disallow Hyperscan.
2019-03-27 22:02:30 +03:00
proller
7d1be03a16 CLICKHOUSE-4386 Version in exceptions 2019-03-27 18:46:46 +03:00
chertus
2a5b4b3b31 fix ANY JOIN nulls in right key (ALL JOIN is still affected) 2019-03-27 16:37:11 +03:00
chertus
e92dcd4774 fix clang release build 2019-03-27 01:47:38 +03:00
Martijn Bakker
ac68fc8088 pass the half-enforced style checks such that they cannot be run on a whole file automatically :( 2019-03-26 22:05:51 +00:00
Alexey Milovidov
42dd521e45 Added a setting to disallow Hyperscan 2019-03-27 00:56:46 +03:00
Martijn Bakker
84f40ddf02 fix build as cpp does not do partial function specialization 2019-03-26 20:13:15 +00:00
chertus
274916d944 Merge branch 'master' into nulls 2019-03-26 23:04:39 +03:00
chertus
0a0e986f75 fix crash on join not nullable with nullable 2019-03-26 22:46:03 +03:00
Martijn Bakker
f6987cfa52 have the parser recognize asof joins and feed them through to the executor
insert the time series into a struct ready for joining

working version that inserts the data into the hash table using the existing dispatching machinery for various types

working asof left join in clickhouse

add a test for the asof join

do some asof join cleanup

revisit the logic in case the values match between left and right side
2019-03-26 19:17:21 +00:00
Alexey Milovidov
80a523f470 Merge branch 'master' into always-backquote-column-names 2019-03-26 21:29:33 +03:00
alexey-milovidov
aab7c79220
Merge pull request #4671 from LiuYangkuan/Buffer-supportsPrewhere
change supportsPrewhere() of Buffer and return its destination_table supportsPrewhere
2019-03-26 19:55:27 +03:00
alexey-milovidov
b8d9ed6f54
Merge pull request #4723 from 4ertus2/joins
Fix LEFT JOIN with const column + lots of Join.cpp refactoring
2019-03-26 19:46:46 +03:00
alexey-milovidov
c2e4942009
Merge pull request #4705 from 4ertus2/ast
SelectQueryOptions + fix duplicates in GLOBAL JOIN with asterisks
2019-03-26 19:45:27 +03:00
alexey-milovidov
d047a62e31
Merge pull request #4790 from TCeason/fix_crash
Fix crash when distributed modify order by
2019-03-26 19:41:00 +03:00
alexey-milovidov
e2b2ac0876
Merge pull request #4674 from smirnov-vs/fix-capnproto
Fix reading capnproto. Loading messages by HTTP does not working correctly :(
2019-03-26 19:21:21 +03:00
Danila Kutenin
62dde447ab Better type system in Volnitsky 2019-03-26 16:20:17 +03:00
tai
9d232778fc Fix crash when distributed modify order by
Did not determine if order_by_ast is empty.
If it is null, it will clone a null pointer and cause server crash.
2019-03-26 13:33:39 +08:00
Alexey Milovidov
14480744aa Removed excessive and unbalanced whitespaces from formatted CREATE query 2019-03-26 00:44:10 +03:00
proller
1584fd4367
Fix hyperscan library find and use (#4798) 2019-03-26 00:31:00 +03:00
Alexey Milovidov
7a8234580c Merge branch 'master' into always-backquote-column-names 2019-03-25 23:26:59 +03:00
Alexey Milovidov
67b6a8966b Attempt to make compositions with COWPtr more convenient 2019-03-25 20:56:18 +03:00
Vladislav Smirnov
7a02d320ff rewrite capnproto reading 2019-03-25 20:17:58 +03:00
Vladislav Smirnov
08b7c48286 Merge remote-tracking branch 'upstream/master' into fix-capnproto 2019-03-25 19:24:30 +03:00
chertus
aac69eaa2c Merge branch 'joins' into nulls 2019-03-25 14:54:47 +03:00
Alexey Milovidov
fb19cf1eec Attempt to make compositions with COWPtr more convenient 2019-03-25 04:43:54 +03:00
alexey-milovidov
06e79a7643
Merge pull request #4780 from danlark1/master
Hyperscan string search regular expression matching was added
2019-03-25 04:26:18 +03:00
Danila Kutenin
4b7824095e Possible fixes to docker containers 2019-03-24 21:24:56 +03:00
Alexey Milovidov
af5193736a Attempt to make compositions with COWPtr more convenient 2019-03-24 05:22:39 +03:00
Alexey Milovidov
c76a4e9dd2 Attempt to make compositions with COWPtr more convenient 2019-03-24 05:21:01 +03:00
Alexey Milovidov
2dca389f20 Attempt to make compositions with COWPtr more convenient 2019-03-24 04:42:58 +03:00
Danila Kutenin
1c90d98d16 Clang fix 2019-03-24 02:56:52 +03:00
Alexey Milovidov
001de1a340 Always backquote column names in CREATE/ATTACH queries 2019-03-24 02:01:57 +03:00
Alexey Milovidov
ad6648afb0 Moved more code to .cpp 2019-03-24 01:58:08 +03:00
Danila Kutenin
725139f0f5 Renamings, fixes to search algorithms, more tests 2019-03-24 01:49:38 +03:00
Alexey Milovidov
25ab402d21 ParserCreateQuery: moved code to cpp 2019-03-24 01:45:28 +03:00
Danila Kutenin
f8001b41ba Hyperscan multi regular expressions search 2019-03-23 22:40:16 +03:00
alexey-milovidov
2a57e69111
Merge pull request #4777 from yandex/olegkv-master
Merging #4741
2019-03-23 17:25:48 +03:00
alexey-milovidov
0913173f29
Merge pull request #4776 from yandex/sum-aggregate-function-states-fix-bad-code
Fixed bad code with arithmetic ops on aggregate function states
2019-03-23 17:25:31 +03:00
proller
d79fd73753 Fix critical naming bug 2019-03-23 14:23:17 +03:00
Alexey Milovidov
1fdbb11bfb Merge branch 'sum-aggregate-function-states-fix-bad-code' into olegkv-master 2019-03-23 05:44:53 +03:00
Alexey Milovidov
842721ffb1 Merge branch 'master' of https://github.com/olegkv/ClickHouse into olegkv-master 2019-03-23 05:39:44 +03:00
Alexey Milovidov
847abfdbb1 Fixed bad code with arithmetic ops on aggregate function states 2019-03-23 05:35:50 +03:00
Alexey Milovidov
ba474ab21a Merge branch 'master' of github.com:yandex/ClickHouse 2019-03-23 04:27:16 +03:00
Alexey Milovidov
5a7237cc13 Miscellaneous 2019-03-23 04:27:08 +03:00
alexey-milovidov
69340528ff
Merge pull request #4772 from yandex/fix-force-recheck-parts
Recheck parts in ReplicatedMergeTreeAlterThread in case of error
2019-03-23 04:22:55 +03:00
Nikolai Kochetov
2311bbd95c Restore recheck parts in ReplicatedMergeTreeAlterThread in case of error. 2019-03-22 20:24:35 +03:00