proller
184e2ef9ab
CLICKHOUSE-4644 arrayEnumerateUniqRanked: fix for empty arrays
2019-09-02 18:49:25 +03:00
Nikolai Kochetov
88044fdc16
Add stream enumeration to Processors.
2019-09-02 18:49:18 +03:00
Alexander Kuzmenkov
fd00889981
Pre-fault mmapped buffers for hash tables.
...
Mmaped pages are copy-on-write references to the zero page, and are
faulted in on the first write. Hash table resize touches most of the
newly allocated buffer, so it's faster to pre-fault all pages after
allocation, instead of having the resize loop interrupted by page
faults.
2019-09-02 18:38:29 +03:00
Alexander Kuzmenkov
ce120ebc0d
Cosmetic change: Remove unused template parameters from Allocator.
2019-09-02 18:38:29 +03:00
CurtizJ
e122d54dcb
update comments
2019-09-02 18:22:27 +03:00
Nikolai Kochetov
464595a548
Add allow_processors flag to executeQuery.
2019-09-02 18:19:01 +03:00
Alexey Milovidov
402599a38c
Merge branch 'master' into time-zone-configuration
2019-09-02 18:13:54 +03:00
Denis Zhuravlev
14e16c7a41
Doc change. Example of another approach to collapsing (using negative numbers). ( #6751 )
...
* Update collapsingmergetree.md
Example of another approach to collapsing (using negative numbers).
* Update collapsingmergetree.md
Example of another approach to collapsing (using negative numbers).
* Update collapsingmergetree.md
Example of another approach to collapsing (using negative numbers).
2019-09-02 18:11:45 +03:00
alexey-milovidov
167deee647
Merge pull request #6764 from yandex/add-test-for-deadlock-system-tables
...
Fixed very rare deadlocks
2019-09-02 18:09:58 +03:00
Alexey Milovidov
7bf411548f
Merge branch 'master' of github.com:yandex/ClickHouse into add-test-for-deadlock-system-tables
2019-09-02 18:04:15 +03:00
Nikolai Kochetov
52eae3a242
Add stream enumeration to Processors.
2019-09-02 17:55:43 +03:00
alexey-milovidov
a71a1693f0
Merge pull request #6777 from yandex/fix-pvs-warning-in-pipeline-executor
...
Fix PVS warning in PipelineExecutor.
2019-09-02 17:53:28 +03:00
alexey-milovidov
3f5d0ef2a8
Merge pull request #6775 from yandex/aku/pvs-warning
...
Remove a redundant condition (found by PVS Studio).
2019-09-02 17:52:25 +03:00
Vitaly Baranov
d64d75eb6d
Split the integration test test_dictionaries
into 4 separate tests.
2019-09-02 17:50:57 +03:00
Nikolai Kochetov
0016d99f5e
Add stream enumeration to Processors.
2019-09-02 17:49:05 +03:00
CurtizJ
de5e2b4d6b
Merge remote-tracking branch 'upstream/master' into merging_with_ties_and_with_fill
2019-09-02 17:34:49 +03:00
Alexander Tokmakov
8adf13047b
fix build
2019-09-02 17:33:10 +03:00
Alexander Tokmakov
3b6a038604
Tests
2019-09-02 17:33:10 +03:00
Alexander Tokmakov
d42a4323f6
Fixes
2019-09-02 17:33:10 +03:00
Alexander Tokmakov
e32ed075c8
Force disable interpreting expressions without template to check if some tests fail
2019-09-02 17:33:10 +03:00
Alexander Tokmakov
46effbd7f6
Template for functions with constant arguments
2019-09-02 17:33:10 +03:00
Alexander Tokmakov
00fc04d852
Fix
2019-09-02 17:33:10 +03:00
Alexander Tokmakov
1629f0a166
Simple heuristic to generate new template in case of failure
2019-09-02 17:33:10 +03:00
Alexander Tokmakov
a5f194cae9
Add setting to enable/disable template deduction for Values
2019-09-02 17:33:10 +03:00
Alexander Tokmakov
dd45f3c2bd
Check types of numeric literals
2019-09-02 17:33:10 +03:00
Alexander Tokmakov
c7e311bac8
Use AST to generate template
2019-09-02 17:33:10 +03:00
Alexander Tokmakov
2322a88ef0
Store TokenIterators in ASTLiteral
2019-09-02 17:33:10 +03:00
Alexander Tokmakov
dfebedfb70
Fix expression with Array and ColumnConst
2019-09-02 17:33:10 +03:00
Alexander Tokmakov
41166f0618
Fix
2019-09-02 17:33:10 +03:00
Alexander Tokmakov
6e06658363
Improvements
2019-09-02 17:33:10 +03:00
Alexander Tokmakov
6fd1319bba
Fixes
2019-09-02 17:33:10 +03:00
Alexander Tokmakov
3e214ced62
PeekableReadBuffer
2019-09-02 17:33:10 +03:00
Alexander Tokmakov
d3ee3a693c
Batch insert Values with expressions (draft)
2019-09-02 17:33:09 +03:00
Alexander Tokmakov
804c911d3f
ValuesRowInputStream changed to ValuesBlockInputStream
2019-09-02 17:33:09 +03:00
CurtizJ
da11fb86b7
implement 'with fill' modifier with processors
2019-09-02 17:29:51 +03:00
Vasily Nemkov
f98c488834
Post-review fixes
...
* Actually using the replica recovery settings for cluster
* A bit of doc on DBMS_CONNECTION_POOL_WITH_FAILOVER_MAX_ERROR_COUNT
* StorageDistributedDirectoryMonitor using settings for ConnectionPoolWithFailover
* Using SettingSeconds instead of SettingUInt64 for replica_error_decrease_period
2019-09-02 17:26:25 +03:00
Vasily Nemkov
84fc4ba4c8
Replica recovery fixes
...
* Added a limit on how many errors can replica accumulate
* Decreased default error halving time to 60 seconds
* Made both configurable via settings
* Showing errors count and estimated recovery time for each replica in system.clusters
2019-09-02 17:26:25 +03:00
alexey-milovidov
0967ecf03b
Merge pull request #6727 from yandex/merging_template_format
...
Merging Template format
2019-09-02 17:25:43 +03:00
Alexey Milovidov
dcdd8c6e3c
Merge branch 'master' into add-test-for-deadlock-system-tables
2019-09-02 16:39:26 +03:00
Nikolai Kochetov
2eecd35d27
Fix PVS warning in PipelineExecutor.
2019-09-02 16:30:51 +03:00
Alexander Kuzmenkov
ab2bd54022
Remove a redundant condition (found by PVS-Studio).
2019-09-02 16:17:14 +03:00
Nikolai Kochetov
bf0c0ed4f1
Merge branch 'master' into processors-2
2019-09-02 16:02:09 +03:00
chertus
bc95027cee
better setting name: joined_subquery_requires_alias
2019-09-02 15:53:31 +03:00
Nikolai Kochetov
278e33cfa3
Try add LFStack.
2019-09-02 15:48:58 +03:00
Nikolai Kochetov
5005c0006c
Try add LFStack.
2019-09-02 15:34:18 +03:00
chertus
2c0d569fa8
Merge branch 'master' into some
2019-09-02 15:32:24 +03:00
Zhichang Yu
9e587fb139
fix DataTypeAggregateFunction deserialization
2019-09-02 20:09:40 +08:00
proller
bcee0dd0ad
Merge remote-tracking branch 'upstream/master' into fix25
2019-09-02 14:41:58 +03:00
alesapin
198031f787
Refactoring
2019-09-02 14:35:53 +03:00
alexey-milovidov
e2dbff73f6
Merge pull request #6771 from yandex/remove-recursive-rwlock-by-thread
...
Remove recursive rwlock by thread
2019-09-02 14:17:02 +03:00