hcz
32573c0590
Add JSONExtractKeysAndValuesRaw
2020-04-20 18:08:22 +08:00
Nikolai Kochetov
052598534a
Try fix unit tests.
2020-04-20 12:42:56 +03:00
Azat Khuzhin
9ca86dbf34
Drop disks reservation in Aggregator
...
True reservation (IVolume::reserve()) will not takes compression into
account, and you aggregate a lot of data then it will likely fail even
though it can be completed, but just because you have big
max_bytes_before_external_group_by and huge max_threads it will fail.
2020-04-20 11:33:46 +03:00
alexey-milovidov
9d0004cba0
Merge pull request #10365 from ClickHouse/avoid-infinite-loop-in-hierarchical-dictionaries
...
Avoid infinite loop in hierarchical dictionaries
2020-04-20 10:54:16 +03:00
Amos Bird
2d08c8e4ab
clang-10 fix
2020-04-20 15:45:37 +08:00
alexey-milovidov
83e17ae327
Merge pull request #9885 from ClickHouse/sorting-processors
...
Sorting processors
2020-04-20 09:30:03 +03:00
Alexey Milovidov
d7264b292d
Merge branch 'master' into sorting-processors
2020-04-20 09:29:41 +03:00
alexey-milovidov
587e16e23b
Merge pull request #10363 from ClickHouse/fixed-string-compare-as-zero-padded
...
Compare with fixed string of different size as if strings are zero padded
2020-04-20 09:14:27 +03:00
Alexey Milovidov
47e4d14ece
Whitespace
2020-04-20 09:13:04 +03:00
alexey-milovidov
1577d771df
Merge pull request #10341 from azat/auto_distributed_group_by_no_merge
...
Auto distributed_group_by_no_merge on GROUP BY sharding key
2020-04-20 08:30:27 +03:00
Alexey Milovidov
a3195d56ae
Fix translation
2020-04-20 07:19:50 +03:00
Alexey Milovidov
be4d20e690
Fixed an error and added a test
2020-04-20 07:02:52 +03:00
Alexey Milovidov
acde587c75
Merge branch 'master' into fixed-string-compare-as-zero-padded
2020-04-20 06:49:21 +03:00
Alexey Milovidov
c893edf46f
Fix style
2020-04-20 06:48:35 +03:00
alexey-milovidov
fd738f9a61
Merge pull request #10364 from ClickHouse/check-error-code-in-part-check
...
Check for error code in part check
2020-04-20 06:46:36 +03:00
alexey-milovidov
7e5b044e67
Merge pull request #10362 from ClickHouse/rework-total-memory-tracker
...
Rework total memory tracker
2020-04-20 06:16:49 +03:00
Alexey Milovidov
3862085af7
Fix for embedded dictionaries
2020-04-20 05:39:43 +03:00
Alexey Milovidov
d99c26a40c
Fix infinite loop in dictIsIn function #515
2020-04-20 05:31:21 +03:00
Alexey Milovidov
7023e096ec
Check for error code in part check #6269
2020-04-20 04:44:24 +03:00
Alexey Milovidov
59a9edd018
Added forgotten modification
2020-04-20 04:43:25 +03:00
Alexey Milovidov
d783162548
Compare with fixed string as smaller string is zero padded #9272
2020-04-20 04:01:31 +03:00
Alexey Milovidov
237db26688
Less wrong
2020-04-20 02:11:41 +03:00
Alexey Milovidov
39c6c9a5d7
Merge remote-tracking branch 'origin/master' into system-tables-lazy-load
2020-04-20 02:00:46 +03:00
Alexey Milovidov
3755a5ba54
Added suggestion from Azat
2020-04-20 01:59:21 +03:00
Alexey Milovidov
2987e70aab
Introduce "max_server_memory_usage" setting
2020-04-20 01:59:21 +03:00
Alexey Milovidov
ec6b176f3b
Rework total memory tracker #10293
2020-04-20 01:59:21 +03:00
Azat Khuzhin
e44d5c5749
Fix clang readability-container-size-empty warning in StorageDistributed::canForceGroupByNoMerge()
2020-04-20 01:12:22 +03:00
Alexey Milovidov
1c00953b3e
Added test tool
2020-04-19 23:57:34 +03:00
Alexey Milovidov
71c4418876
More memory statistics
2020-04-19 23:49:13 +03:00
Alexey Milovidov
25f3184dbe
Merge branch 'master' into async-metric-memory-usage
2020-04-19 23:18:12 +03:00
Alexey Milovidov
8d3e6ed5e3
Added missing code
2020-04-19 23:04:59 +03:00
Alexey Milovidov
ca6bea3731
Added a patch from Alexander Burmak
2020-04-19 22:53:12 +03:00
Azat Khuzhin
be1dec9239
Fix distributed_group_by_no_merge optimization for Distributed-over-Distributed
2020-04-19 21:11:14 +03:00
Azat Khuzhin
93d049fe64
Allow auto distributed_group_by_no_merge for DISTINCT of sharding key
2020-04-19 18:53:37 +03:00
Nikolai Kochetov
67b3487207
Try fix build.
2020-04-19 18:46:12 +03:00
Nikolai Kochetov
e969f66aca
Try fix test.
2020-04-19 18:41:35 +03:00
Azat Khuzhin
de4a723264
Auto distributed_group_by_no_merge on GROUP BY injective function of sharding key
2020-04-19 18:33:49 +03:00
Azat Khuzhin
5d11118cc9
Use thread pool (background_distributed_schedule_pool_size) for distributed sends
...
After #8756 the problem with 1 thread for each (distributed table, disk)
for distributed sends became even worse (since there can be multiple
disks), so use predefined thread pool for this tasks, that can be
controlled with background_distributed_schedule_pool_size knob.
2020-04-19 12:01:56 +03:00
Azat Khuzhin
201d5d5b25
Update comment for background_schedule_pool_size
...
Include info about:
- kafka streaming
- dns cache updates
2020-04-19 11:20:57 +03:00
Andrew Onyshchuk
68f2e93443
Fix style
2020-04-18 22:54:22 -05:00
Azat Khuzhin
673ddc9d77
Drop superfluous locking for atomic in DirectoryMonitor
2020-04-19 00:22:48 +03:00
Andrew Onyshchuk
14647ed03b
Add Avro nested fields insert support
2020-04-18 15:46:24 -05:00
alexey-milovidov
aac7cc7330
Merge pull request #10126 from Jokser/replicated-merge-tree-s3
...
Support ReplicatedMergeTree over S3
2020-04-18 16:13:04 +03:00
alexey-milovidov
46a5c75beb
Update MergeTreeData.h
2020-04-18 16:11:57 +03:00
alexey-milovidov
8cea45315f
Merge pull request #10133 from 4ertus2/joins
...
JOIN with Dictionary
2020-04-18 16:08:15 +03:00
alexey-milovidov
959e6cd032
Merge pull request #10221 from ClickHouse/remove-part-special-case
...
Support for one special case of removing incompletely written parts
2020-04-18 15:58:58 +03:00
alexey-milovidov
43d48a21c6
Merge pull request #10318 from ClickHouse/least-greatest-generic
...
Added generic variants for functions 'least' and 'greatest'.
2020-04-18 15:35:19 +03:00
alexey-milovidov
72dd453c3f
Merge pull request #10234 from vitlibar/show-columns-of-not-loaded-dictionary
...
Show information about not loaded dictionaries in system tables.
2020-04-18 15:06:08 +03:00
alexey-milovidov
17b6e0b3e5
Merge pull request #10315 from azat/buffer-flush-bg-pool
...
Use background thread pool for background buffer flushes
2020-04-18 15:04:35 +03:00
alexey-milovidov
391165d725
Merge pull request #10337 from nikitamikhaylov/proper_dictionary_timeouts
...
Proper dictionary timeouts.
2020-04-18 14:42:36 +03:00
alexey-milovidov
b5f8efefa2
Merge pull request #10342 from azat/optimizeGroupBy-isInjective
...
[RFC] Use isInjective() over manual list of such functions for GROUP BY optimization
2020-04-18 14:28:59 +03:00
alexey-milovidov
d1b72f10d5
Merge pull request #10325 from Avogar/msgpack_format
...
Improve MsgPackRowInputFormat
2020-04-18 14:27:11 +03:00
alexey-milovidov
ef5f83eef8
Update MsgPackRowInputFormat.cpp
2020-04-18 14:26:57 +03:00
Vitaly Baranov
d62345bbaa
Show information about not loaded dictionaries in system.columns, system.tables
...
and in "SHOW TABLES" executed in any database with the "Dictionary" engine.
2020-04-18 12:50:54 +03:00
Azat Khuzhin
548399725f
Use IFunction::isInjective() over manual list of such functions for GROUP BY optimization
2020-04-18 10:23:19 +03:00
Azat Khuzhin
322681eb37
Passthrough isInjective via IFunctionOverloadResolver
2020-04-18 01:50:15 +03:00
Azat Khuzhin
f29e5c60a5
Add const qualifier for IFunction::isInjective()
2020-04-18 01:50:15 +03:00
Alexander Kuzmenkov
6793cd7cca
More granular assertion in Arena.h
2020-04-18 00:36:07 +03:00
Kruglov Pavel
96f4d5b7c6
Fix build error
2020-04-17 23:51:53 +03:00
Артем Стрельцов
948efff076
Merge branch 'master' of github.com:yandex/ClickHouse into direct_queries
2020-04-17 23:11:10 +03:00
Артем Стрельцов
741775a12f
fixed some remarks from review
2020-04-17 22:54:53 +03:00
Kruglov Pavel
0f11526f24
Fix style error
2020-04-17 22:19:03 +03:00
Nikita Mikhaylov
c603acd515
mvp
2020-04-17 20:01:18 +03:00
Nikolai Kochetov
4a3d80fd71
Fix build.
2020-04-17 19:34:45 +03:00
Nikolai Kochetov
84faa9af26
Merge branch 'master' into shared-context-lifetime
2020-04-17 19:13:13 +03:00
Nikolai Kochetov
ce11662ab1
Fix build.
2020-04-17 15:58:52 +03:00
Anton Popov
f7b7b5eb74
remove unused flags
2020-04-17 14:59:10 +03:00
Nikolai Kochetov
42a0ad771f
Remove not relevant code.
2020-04-17 13:07:44 +03:00
Nikolai Kochetov
d51a9c551b
Remove shared_ptr to SharedContext from Context.
2020-04-17 12:47:40 +03:00
Avogar
b056dbce1c
Improve MsgPackRowInputFormat
2020-04-17 12:35:38 +03:00
Alexey Milovidov
fdc5688d2d
Added memory usage to AsynchronousMetrics
2020-04-17 07:09:41 +03:00
Alexey Milovidov
fb095ad787
Merge branch 'master' into remove-part-special-case
2020-04-17 06:14:15 +03:00
Alexey Milovidov
67790a74e5
Fix test
2020-04-17 06:13:21 +03:00
Alexey Milovidov
b16ee538ab
Merge branch 'master' into sorting-processors
2020-04-17 05:31:55 +03:00
alexey-milovidov
17e7d4d88a
Merge pull request #10307 from abyss7/arcadia-4
...
Changes for auto-sync with Arcadia
2020-04-17 05:08:34 +03:00
alexey-milovidov
4bdaccbaee
Merge pull request #10312 from ClickHouse/fix_drop_optimize_race
...
Fix DROP vs OPTIMIZE race in ReplicatedMergeTree
2020-04-17 05:07:55 +03:00
alexey-milovidov
390bfe9a4c
Merge pull request #10317 from Avogar/markdown_format
...
Markdown format
2020-04-17 05:05:13 +03:00
Alexey Milovidov
1df5c7cedf
Added generic variants of least and greatest functions #4767
2020-04-17 01:28:08 +03:00
Kruglov Pavel
2672b71b2d
Delete extra spaces
2020-04-16 23:47:01 +03:00
Artem Zuikov
c62c288e4c
fix COMMA and other JOIN mix ( #10311 )
2020-04-16 23:28:23 +03:00
Avogar
89d787dae3
Add new line at the end of file
2020-04-16 23:14:19 +03:00
Avogar
831c48c514
Add MarkdownRowOutput format
2020-04-16 23:10:42 +03:00
Alexander Kazakov
d5b3b2c7b6
Updated RWLockImpl: Fixed suboptimacy (readers queuing up) + minor tweaks to names and comments ( #10303 )
...
* Readers queue correction
* Comments, renamings and cosmetics
2020-04-16 21:56:21 +03:00
Artem Zuikov
ce372f464b
Fix finalize chain logic in ExpressionAnalysisResult ( #10302 )
2020-04-16 21:03:27 +03:00
Azat Khuzhin
a9b1b36907
Use separate pool for buffer flushes (background_buffer_flush_schedule_pool_size)
2020-04-16 20:14:28 +03:00
Artem Zuikov
47cb670213
Merge branch 'master' into joins
2020-04-16 19:06:13 +03:00
alexey-milovidov
3de1a36b33
Update ya.make
2020-04-16 18:55:39 +03:00
Alexander Tokmakov
605f3b2119
fix DROP vs OPTIMIZE race in ReplicatedMergeTree
2020-04-16 18:30:18 +03:00
Nikolai Kochetov
025093d354
Fix build.
2020-04-16 17:51:33 +03:00
Nikolai Kochetov
d6db27e372
Modify context.
2020-04-16 17:37:38 +03:00
Ivan Lezhankin
e230632645
Changes required for auto-sync with Arcadia
2020-04-16 15:31:57 +03:00
Alexey Milovidov
cdeda4ab91
Fix usage of max_parser_depth setting; remove harmful default function arguments
2020-04-16 04:06:10 +03:00
Alexey Milovidov
f704c465a7
Make aware of one special case of imcompletely written parts #9940
2020-04-16 00:52:21 +03:00
alexey-milovidov
056c822e65
Merge pull request #10257 from 4ertus2/strange
...
Some tech debt
2020-04-16 00:45:55 +03:00
alexey-milovidov
2b64a97e9b
Merge pull request #10291 from 4ertus2/bugs
...
Fix count(*) with multiple joins
2020-04-16 00:45:09 +03:00
alexey-milovidov
d296e1b6d7
Merge pull request #10216 from Avogar/msgpack_format
...
Update MsgPack format
2020-04-16 00:44:08 +03:00
Artem Zuikov
739daf3bbe
Merge branch 'master' into strange
2020-04-15 20:55:21 +03:00
Artem Zuikov
f08cdfcc4c
fix count(*) with multiple_joins_rewriter_version = 1
2020-04-15 20:47:08 +03:00
Alexander Kuzmenkov
08d9734fc0
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-15 20:16:56 +03:00
Nikolai Kochetov
234c4dbe84
Fix build.
2020-04-15 17:51:03 +03:00