Martijn Bakker
20e5fb61c4
fix style
2019-03-30 13:02:30 +00:00
Martijn Bakker
4a94545882
add test for multiple supported asof types
2019-03-30 12:52:48 +00:00
alexey-milovidov
14b8e64992
Disable usage of "mremap" when compiled with Thread Sanitizer. ( #4859 )
...
* Disable mremap under Thread Sanitizer
* Disable mremap under Thread Sanitizer
* Disable mremap under Thread Sanitizer
2019-03-30 13:47:25 +03:00
alexey-milovidov
254369324b
Miscellanous changes in ColumnArray ( #4857 )
...
* Miscellanous
* Miscellanous
* Miscellanous
2019-03-30 13:46:17 +03:00
Danila Kutenin
18d3813ff9
Optimize Volnitsky by inlining compare function
2019-03-30 12:39:45 +03:00
Martijn Bakker
7c5febb6aa
Merge branch 'master' into martijn-asof-nomap
2019-03-30 02:02:48 +00:00
Martijn Bakker
389f108807
working multi type asof join columns
2019-03-30 01:32:08 +00:00
alexey-milovidov
0dee8cf79c
Merge pull request #4855 from 4ertus2/joins
...
Fix crash when joining nulluble vs not nullable
2019-03-30 02:15:50 +03:00
Martijn Bakker
89515861df
asof join without using std::map, but still only on u32
2019-03-29 21:20:23 +00:00
Ivan
957d23267b
Minimal implementation of row-level security CLICKHOUSE-4315 ( #4792 )
...
For detailed description see the related PR
2019-03-29 23:31:06 +03:00
alexey-milovidov
5588618c64
Merge pull request #4856 from yandex/fix_no_message_received_keepalive
...
Fix exception 'No message received'
2019-03-29 23:08:28 +03:00
Vitaly Baranov
ba58fbbbec
Add a kafka test using protobuf format.
2019-03-29 22:36:19 +03:00
Vitaly Baranov
378c6f7a23
Improve the error message when format schema isn't set.
2019-03-29 22:36:10 +03:00
alexey-milovidov
cb486da9cd
Merge pull request #4852 from zhang2014/improvement/const_interpreter
...
Const context for insert interpreter
2019-03-29 21:42:35 +03:00
alesapin
2764401d0f
Fix exception 'No message received'
2019-03-29 21:10:03 +03:00
chertus
6bdbf75e30
fix crash when joining nulluble vs not nullable
2019-03-29 21:07:22 +03:00
Alexey Milovidov
61832964e1
Revert "ColumnFunction: better code (incomplete)"
...
This reverts commit 327f527d33
.
2019-03-29 19:42:26 +03:00
Alexey Milovidov
5dddee50eb
Merge branch 'master' of github.com:yandex/ClickHouse
2019-03-29 19:41:59 +03:00
alexey-milovidov
296731dd85
Merge pull request #4850 from yandex/fix-reading-from-empty-low-cardinality-arrays
...
Fixed reading from Array(LowCardinality) with long block of empty arrays.
2019-03-29 19:38:32 +03:00
zhang2014
aab314f154
const insert interpreter
2019-03-29 23:47:16 +08:00
Alexey Milovidov
ff0c269847
Merge branch 'master' of github.com:yandex/ClickHouse
2019-03-29 18:35:58 +03:00
Alexey Milovidov
327f527d33
ColumnFunction: better code (incomplete)
2019-03-29 18:35:53 +03:00
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
08f85804d0
Send query settings before data from client to server.
...
Apply query settings only for the containing query (client).
2019-03-29 17:39:00 +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
Alexey Milovidov
ae8655f217
Added a test
2019-03-29 14:20:53 +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
alexey-milovidov
3e3ab8acb7
Merge pull request #4839 from yandex/fix-race-condition-in-fetch-data-part
...
Fixed TSan report in fetchPart
2019-03-29 11:27:21 +03:00
alesapin
d086a63f66
clickhouse-test retry on session expired
2019-03-29 11:26:42 +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
965b478a8e
Fuzzy search perf test
2019-03-29 04:08:55 +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
9fc7f67c52
add no asof joined values to tests
2019-03-28 18:59:10 +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
Alexey Milovidov
ac22a34b76
Merge branch 'master' into cow-ptr-compositions
2019-03-28 20:53:22 +03:00
Alexey Milovidov
f4b819c692
Added TRUNCATE to the list of suggested keywords in clickhouse-client
2019-03-28 20:52:50 +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
alexey-milovidov
5e184d6cca
Merge pull request #4815 from 4ertus2/nulls
...
Fix crash when joining not nullable with nullable
2019-03-27 21:59:38 +03:00
Alexey Milovidov
4c71f1ba4b
Updated tests, part 2
2019-03-27 21:58:08 +03:00
proller
4355172afe
Merge remote-tracking branch 'upstream/master' into fix26
2019-03-27 18:03:43 +00:00
proller
7bcf8ec344
Fix install in shared mode
2019-03-27 20:37:38 +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
874e06d284
Added a test
2019-03-27 01:03:02 +03:00
Alexey Milovidov
42dd521e45
Added a setting to disallow Hyperscan
2019-03-27 00:56:46 +03:00
Martijn Bakker
8d6f554f1a
fix the timestamps for the tests
2019-03-26 21:26:14 +00: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
Alexey Milovidov
9e263fb0ca
Updated tests, part 1 #4782
2019-03-26 22:23:12 +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