Commit Graph

1779 Commits

Author SHA1 Message Date
alesapin
c22e8f6b9b
Merge pull request #11283 from filimonov/kafka_virtual_column_headers
Virtual columns for Kafka headers
2020-06-01 12:06:00 +03:00
alesapin
364ebe9246
Merge pull request #11260 from filimonov/kafka_virtual_column_timestamp_ms
Add _timestamp_ms virtual columns to Kafka engine
2020-06-01 12:04:17 +03:00
Nikolai Kochetov
e6bbc2763d Parallel processing for PushingToViewsBlockOutputStream::writeSuffix 2020-06-01 11:36:48 +03:00
alexey-milovidov
166b267dcf
Merge pull request #11323 from ClickHouse/improve-performance-of-client-interactive-mode-2
Improve performance of client interactive mode
2020-06-01 04:21:23 +03:00
Andrei Nekrashevich
1cd888f505 fix 2020-06-01 02:40:38 +03:00
Alexey Milovidov
7fa1366a4a Fix build after merge #11230 2020-06-01 01:25:37 +03:00
alexey-milovidov
256f84ddc2
Merge pull request #11230 from Jokser/s3-poco-http-client
S3 Poco Http Client
2020-06-01 01:20:21 +03:00
Alexey Milovidov
c901a657f8 Improvement 2020-06-01 01:17:40 +03:00
Alexey Milovidov
a76bd99e84 Added setting "output_format_pretty_max_value_width" 2020-06-01 01:12:13 +03:00
alexey-milovidov
9984e989c1
Merge pull request #11317 from ClickHouse/logger-fmt-2
Preparation for structured logging
2020-06-01 00:11:29 +03:00
Alexey Milovidov
4c2950b438 Merge branch 'improve-performance-of-client-interactive-mode-2' into improve-performance-of-client-interactive-mode 2020-05-31 23:03:21 +03:00
Alexey Milovidov
eb0e28b26d Added a function "computeBytesBeforeWidth" 2020-05-31 23:03:11 +03:00
Alexey Milovidov
ad14025b5e Further improvement 2020-05-31 22:47:39 +03:00
Alexey Milovidov
2895cfb480 Limit value width in Pretty formats 2020-05-31 22:22:59 +03:00
Alexey Milovidov
463d2cf836 Improve performance of UTF8::computeWidth 2020-05-31 22:22:31 +03:00
Alexey Milovidov
07c14e12dd Fix build after merge of #11162 with master 2020-05-31 19:53:30 +03:00
alexey-milovidov
8accde79b5
Merge pull request #11162 from azat/data-skip-index-merging-params-fix
[RFC] Fix data skipping indexes for columns with additional actions during merge
2020-05-31 19:10:53 +03:00
alexey-milovidov
9416e82b75
Update MergeTreeDataMergerMutator.cpp 2020-05-31 19:06:59 +03:00
alexey-milovidov
a8f5b10f15
Merge pull request #10621 from azat/enable_optimize_predicate_expression-order
Fix predicates optimization for distributed queries with HAVING
2020-05-31 18:55:35 +03:00
alexey-milovidov
9a362eb02e
Merge pull request #11252 from filimonov/kafka-clientid
Kafka clientid (finishing #11073)
2020-05-31 18:37:30 +03:00
Alexey Milovidov
87cf123ef8 Merge branch 'master' into remove-system-tables-lazy-load 2020-05-31 18:06:08 +03:00
Alexey Milovidov
e1202759c5 Fix style #11318 2020-05-31 18:01:59 +03:00
alexey-milovidov
5b2b3739b9
Merge pull request #11318 from devwout/master
Fix visitParamExtractRaw for strings with unbalanced { or [.
2020-05-31 17:52:00 +03:00
Alexey Milovidov
85537d7b94 Miscellaneous changes for SystemLogs 2020-05-31 17:38:02 +03:00
alexey-milovidov
1a8c19741e
Merge pull request #11311 from ClickHouse/fix-uninitialized-memory-in-cast
Fix uninitialized memory in conversion
2020-05-31 17:33:06 +03:00
Alexey Milovidov
f47320cb96 Added clarification #10678 2020-05-31 17:28:44 +03:00
Alexey Milovidov
de2f7a0a9d Regenerate ya.make after #10678 2020-05-31 17:26:00 +03:00
alexey-milovidov
bebc6f82fc
Merge pull request #10678 from livace/add_geo_types
Add geo data types Point and Polygon
2020-05-31 17:25:15 +03:00
Alexey Milovidov
26395709a1 Regenerate ya.make to prepare for #10678 2020-05-31 17:24:11 +03:00
alexey-milovidov
195635d1cb
Merge pull request #11316 from ClickHouse/better-not-enough-memory-message
Better exception message in case when there is shortage of memory mappings
2020-05-31 16:59:34 +03:00
alexey-milovidov
1df5c28dbc
Merge pull request #11314 from ClickHouse/fix-race-condition-thread-pool
Fix very rare race condition in ThreadPool
2020-05-31 16:58:50 +03:00
alexey-milovidov
97d9f218af
Merge pull request #11296 from ClickHouse/fix-false-too-slow
Fix bug with Throttler and query speed estimation
2020-05-31 14:18:29 +03:00
Ewout
70eaae38f2 Fix visitParamExtractRaw for strings with unbalanced { or [.
Closes #11254 .
2020-05-31 00:58:30 +02:00
Alexey Milovidov
25f941020b Remove namespace pollution 2020-05-31 00:57:37 +03:00
Alexey Milovidov
5aff138956 Preparation for structured logging 2020-05-31 00:35:52 +03:00
alexey-milovidov
383962e47c
Update trap.cpp 2020-05-30 23:45:30 +03:00
Alexey Ilyukhov
1b0c9fae6c Fix style 2020-05-30 23:15:35 +03:00
Alexey Milovidov
b95b6ec0ee Tested with "trap" function 2020-05-30 23:02:44 +03:00
Alexey Milovidov
9a41eb14a6 Fix build 2020-05-30 22:40:23 +03:00
Alexey Milovidov
09d2f19287 Better exception in case when there is shortage of memory mappings 2020-05-30 22:38:25 +03:00
Alexey Milovidov
43c2a46672 Fix very rare race condition in ThreadPool 2020-05-30 21:57:02 +03:00
Alexey Ilyukhov
853872b404 Fix style 2020-05-30 21:37:32 +03:00
alexey-milovidov
3eea042d16
Merge pull request #11243 from ClickHouse/remove-experimental-use-processors-flag-4
Remove some code.
2020-05-30 21:05:14 +03:00
alexey-milovidov
a5770fe041
Update PullingPipelineExecutor.cpp 2020-05-30 21:05:05 +03:00
Alexey Milovidov
421a62e978 Merge branch 'master' into fix-false-too-slow 2020-05-30 19:36:55 +03:00
Alexey Milovidov
41bfa8a275 Addition to prev. revision 2020-05-30 19:35:59 +03:00
Alexey Milovidov
326d2f9af8 Fix uninitialized memory in conversion 2020-05-30 19:21:14 +03:00
Alexey Milovidov
6468d7af8c Regenerate ya.make 2020-05-30 19:20:19 +03:00
Alexey Ilyukhov
3b78b010e5 Add empty line 2020-05-30 18:30:09 +03:00
Alexey Ilyukhov
b84c8fcbd8 Add allow_experimental_geo_types; add test 2020-05-30 18:26:19 +03:00
alexey-milovidov
1dbaf80a5d
Merge pull request #11303 from ClickHouse/fix-index-analysis-empty-array
Fix issue #11286; add a test
2020-05-30 17:28:00 +03:00
Alexey Milovidov
496fed5ed3 Remove "system_tables_lazy_load" option 2020-05-30 17:24:09 +03:00
Nikolai Kochetov
22cba267e3
Merge pull request #11295 from ClickHouse/abb-back-experimental_use_processors-setting
Revert setting.
2020-05-30 10:04:07 +03:00
Alexey Milovidov
ffdec23d08 Remove wrong code #8441 2020-05-30 01:43:25 +03:00
Alexey Milovidov
b78c48310b Whitespaces 2020-05-30 01:37:44 +03:00
Alexey Milovidov
8c8821475c Fix issue #11286; add a test 2020-05-30 00:32:35 +03:00
Alexey Milovidov
e4a329a47f Checking max execution speed on all nodes #5732 2020-05-29 23:37:37 +03:00
Alexey Milovidov
9768743d09 Whitespace 2020-05-29 23:17:38 +03:00
Ilya Yatsishin
393db8ff6c
Merge pull request #11261 from filimonov/kafka_log_with_prefix_and_facility
Add prefix & facility to librdkafka logs
2020-05-29 23:02:42 +03:00
Alexey Milovidov
fb5e1a8e8d Whitespaces 2020-05-29 22:54:59 +03:00
Alexey Milovidov
0eb2f4dee9 Change default value of "timeout_before_checking_execution_speed" to make it reasonable 2020-05-29 21:51:51 +03:00
Alexey Milovidov
9d39fc6dcb Fix bug with Throttler and query speed estimation 2020-05-29 21:23:45 +03:00
Nikolai Kochetov
36b1a37927 Revert setting. 2020-05-29 21:23:11 +03:00
tavplubix
a4e40fb5f2
Merge pull request #11269 from ClickHouse/add_context_to_idatabase_methods
Add context to IDatabase methods
2020-05-29 21:15:35 +03:00
alexey-milovidov
1abaca5174
Merge pull request #11276 from ClickHouse/fix-constraints-and-insert-performance
Fix constraints for DEFAULT fields; fix constraints for temporary tables; improve performance of INSERT for small blocks.
2020-05-29 20:04:59 +03:00
Anton Popov
e6a9a33010
Merge pull request #11183 from ClickHouse/consistent_metadata2
Refactor TTLs metadata (move them to IStorage).
2020-05-29 20:00:11 +03:00
Nikolai Kochetov
f7e0e87c7d Try fix tests. 2020-05-29 19:35:09 +03:00
alexey-milovidov
58c1d96582
Merge pull request #11208 from ClickHouse/escape-sequences-php-mysql-style
Experiment on parsing backslash escapes in a more convenient way #10922
2020-05-29 17:19:00 +03:00
alesapin
a429760641 Fix debug build 2020-05-29 17:10:09 +03:00
alexey-milovidov
304c6a1ee3
Merge pull request #11278 from vitlibar/fix-crash-set-default-role-with-wrong-args
Fix crash when SET DEFAULT ROLE is called with wrong arguments.
2020-05-29 16:24:42 +03:00
alexey-milovidov
9a4fd5cf56
Merge pull request #11272 from ClickHouse/fix-usage-of-fmtlib
Fix potential incorrect usage of fmtlib
2020-05-29 16:22:52 +03:00
Nikolai Kochetov
bd814d83de Try fix tests. 2020-05-29 16:04:03 +03:00
Nikita Mikhaylov
9233997b24
Merge pull request #11233 from nikitamikhaylov/cache-getstring-bugfix
Cache-dictionary getString() bugfix
2020-05-29 16:32:35 +04:00
alesapin
748e8fbfc3 Merge with master 2020-05-29 14:03:11 +03:00
alesapin
2ff7bbb511 Better names 2020-05-29 13:56:04 +03:00
alesapin
0170250c5e Merge branch 'master' into consistent_metadata2 2020-05-29 13:48:09 +03:00
Nikolai Kochetov
cf08299e43
Merge pull request #11249 from ClickHouse/fix-memory-tracked-description-race
Fix race for description in MemoryTracker.
2020-05-29 13:42:07 +03:00
Nikolai Kochetov
bbb57b7789 Try fix tests. 2020-05-29 13:31:19 +03:00
Alexander Kazakov
3f53b5b335
Fixed improper logging of failures in destructors of certain metrics (#11264) 2020-05-29 12:45:55 +03:00
Mikhail Filimonov
b885337454 Virtual columns for accessing kafka message headers 2020-05-29 10:44:10 +02:00
alesapin
9a34310ead
Merge pull request #11262 from ClickHouse/fix_unit_broken_tests
Fix unit broken tests
2020-05-29 11:18:46 +03:00
Vitaly Baranov
2d12b4d3ac Fix crash when SET DEFAULT ROLE is called with wrong arguments. 2020-05-29 09:54:27 +03:00
Alexey Milovidov
9120495c48 Increase chunk size for parallel parsing just in case 2020-05-29 05:31:45 +03:00
Alexey Milovidov
23d7947549 Fix constraints for DEFAULT fields; fix constraints for temporary tables; improve performance of INSERT for small blocks 2020-05-29 05:08:48 +03:00
Andrei Nekrashevich
af469c0da5 fix issues 2020-05-29 05:06:21 +03:00
alexey-milovidov
04bdffd9d7
Merge pull request #11255 from zlobober/proper_versions_in_arcadia
Use proper versions in Arcadia build.
2020-05-29 03:58:49 +03:00
Alexey Milovidov
e8f52337aa Fix incorrect usage of fmtlib 2020-05-29 03:09:12 +03:00
Alexander Tokmakov
c071e0a473 add context to DatabaseCatalog methods 2020-05-29 02:01:18 +03:00
alexey-milovidov
fb4d272f5b
Merge pull request #11258 from vitlibar/protobuf-fix-handling-bad-data
Fix handling bad data while reading in Protobuf format.
2020-05-28 23:26:20 +03:00
Alexander Tokmakov
3cff070f89 add context to IDatabase methods 2020-05-28 23:10:45 +03:00
Nikolai Kochetov
a9c6fa1ca7 Try fix tests. 2020-05-28 23:05:07 +03:00
alesapin
db72f39594 Remove error code 2020-05-28 22:07:20 +03:00
alesapin
026244b07f Better 2020-05-28 21:57:09 +03:00
alesapin
e9c1e1a7e4 Remove redundant header 2020-05-28 21:54:42 +03:00
alesapin
93801a1a9d Fix unit tests 2020-05-28 21:52:08 +03:00
Mikhail Filimonov
7211af9404 Fixing style 2020-05-28 20:19:10 +02:00
Mikhail Filimonov
b97ff8136b Make function static 2020-05-28 20:10:54 +02:00
alesapin
a95469020a Better error codes 2020-05-28 21:02:41 +03:00
Nikolai Kochetov
87b0ea26d3 Try fix tests. 2020-05-28 20:59:09 +03:00
Mikhail Filimonov
16de65a6f0 Add prefix & facility to librdkafka logs 2020-05-28 19:52:59 +02:00
Mikhail Filimonov
e39c4cdf71 Add _timestamp_ms virtual columns to Kafka engine 2020-05-28 19:41:57 +02:00
alesapin
eb5a8dccfa Fix ya.make 2020-05-28 20:32:22 +03:00
Vitaly Baranov
d7cc703233
Merge pull request #11080 from vitlibar/add-authentication-type-to-system-users
Show authentication type in system.users table
2020-05-28 20:20:41 +03:00
alesapin
66ccb30299 Fix style check 2020-05-28 20:17:05 +03:00
alesapin
860dc2c814 Merge with consistent_metadata2 2020-05-28 19:45:51 +03:00
alesapin
c5fe87e123 Less includes 2020-05-28 19:32:35 +03:00
alesapin
acc3e6b15a Better structure 2020-05-28 19:31:27 +03:00
Pavel Kovalenko
51be859b16 S3 Poco HTTP Client WIP (timeouts + proxy support). 2020-05-28 19:11:27 +03:00
Nikolai Kochetov
534e55f5b5 try fix tests. 2020-05-28 19:01:12 +03:00
Vitaly Baranov
a452d037ef Fix handling bad data while reading in Protobuf format. 2020-05-28 18:41:20 +03:00
alesapin
c6f82590ad Add missed files 2020-05-28 18:34:33 +03:00
alesapin
61aff798d3 Compileable code 2020-05-28 18:33:44 +03:00
Nikolai Kochetov
ea3f638b30 Try fix tests. 2020-05-28 17:11:36 +03:00
Nikolai Kochetov
28cc6d9c6b Try fix tests. 2020-05-28 17:03:32 +03:00
alesapin
099bfc4657 Fix bug with empty column 2020-05-28 17:03:21 +03:00
Alexey Milovidov
71b7bb9c3a Merge branch 'master' into escape-sequences-php-mysql-style 2020-05-28 16:58:23 +03:00
Nikolai Kochetov
030aa6eac4 Fix build. 2020-05-28 16:57:01 +03:00
Mikhail Filimonov
4de1d6d421 Fixing style 2020-05-28 15:53:27 +02:00
Maxim Akhmedov
f5b1ab8e4a Use proper versions in Arcadia build. 2020-05-28 16:46:56 +03:00
alesapin
5f8b69547b More readable code 2020-05-28 16:45:08 +03:00
Mikhail Filimonov
6b694d54b4 Better kafka client.id 2020-05-28 15:39:55 +02:00
alesapin
f5e5290c0a Better naming 2020-05-28 16:09:03 +03:00
alesapin
5b5f749592 Split files 2020-05-28 16:03:18 +03:00
alesapin
26a9829e04 Indices description as vector 2020-05-28 15:47:17 +03:00
alesapin
52ca6b2051 I'm able to build it 2020-05-28 15:37:05 +03:00
Nikolai Kochetov
b71d520a3f Fix race for description in MemoryTracker. 2020-05-28 15:30:42 +03:00
alexey-milovidov
545c9e5bac
Merge pull request #11236 from abyss7/CLICKHOUSE-4856
Build universal ClickHouse binary with ya.make
2020-05-28 15:28:49 +03:00
Nikolai Kochetov
235fdc831b Merged with master. 2020-05-28 15:23:23 +03:00
Nikolai Kochetov
557e531ff3 Fix tests. 2020-05-28 15:06:31 +03:00
tavplubix
801c1c1240
Merge pull request #11205 from ClickHouse/fix-view-totals
Fix totals and extremes header for view.
2020-05-28 15:05:34 +03:00
Nikolai Kochetov
2a9bcfbcd1 Fix build. 2020-05-28 14:00:12 +03:00
Nikolai Kochetov
da0052858d Fix build. 2020-05-28 13:57:04 +03:00
Nikolai Kochetov
6efa4d1d4f Fix style. 2020-05-28 13:41:59 +03:00
Pavel Kovalenko
29a5804342 S3 Poco HTTP Client WIP (rewind buffer). 2020-05-28 12:46:31 +03:00
Nikolai Kochetov
2a217e64e0
Merge pull request #11171 from Provet/master
Optimized partial sort transformer
2020-05-28 12:28:50 +03:00
Nikolai Kochetov
5572f6c276 Fix style. 2020-05-28 12:07:40 +03:00
Nikolai Kochetov
1fa795988f Remove some code. 2020-05-28 11:24:59 +03:00
Alexander Kuzmenkov
a697560738
Merge pull request #11224 from ClickHouse/aku/merge-arrow-stream
Merge ArrowStream format #11088
2020-05-28 09:37:40 +03:00
madianjun
e3c7ab2ca7 Add Kafka client.id 2020-05-28 08:32:51 +02:00
Vitaly Baranov
98172deffc Show authentication type in table system.users and while executing SHOW CREATE USER query. 2020-05-28 08:34:10 +03:00
Nikolai Kochetov
242ba74872
Merge pull request #11148 from ClickHouse/remove-experimental-use-processors-flag-3
Insert select with QueryPipeline
2020-05-28 07:47:59 +03:00
Andrei Nekrashevich
3c68ecacfe Added function fuzzBits 2020-05-28 05:51:37 +03:00
alexey-milovidov
69d5fd0edb
Merge pull request #11220 from ClickHouse/keep-metric-distributed-queue-on-exception
Keep the value of DistributedFilesToInsert metric on exceptions
2020-05-28 01:23:11 +03:00
Ivan Lezhankin
2432ea2c4b Build universal binary using ya make 2020-05-28 00:58:46 +03:00
Nikita Mikhaylov
ec479839d9 fixed 2020-05-27 22:44:22 +03:00
Pavel Kovalenko
677cb56a06 S3 Poco HTTP Client WIP. 2020-05-27 22:41:49 +03:00
alesapin
380c60a33f Intermediate stage (doesn't compile) 2020-05-27 21:38:34 +03:00
alexey-milovidov
dffeec8637
Merge pull request #10537 from expl0si0nn/ttl_expr_data_rollup
Support of WHERE and GROUP BY in TTL expressions
2020-05-27 21:35:55 +03:00
Nikolai Kochetov
2dcee3db5c Merge branch 'master' into remove-experimental-use-processors-flag-3 2020-05-27 21:25:34 +03:00
Nikolai Kochetov
e93882c977 Insert select using PipelineExecutor. 2020-05-27 21:20:26 +03:00