Commit Graph

6521 Commits

Author SHA1 Message Date
Vxider
36383d83f1 use max_fired_watermark to cleanup cache in proc time 2020-03-31 14:28:04 +08:00
Vxider
8f84599ba3 update fetch column logic 2020-03-31 13:48:01 +08:00
Vxider
107ddb21b3 fix build 2020-03-28 10:08:21 +08:00
Vxider
caf96cd8d8 Merged with master 2020-03-28 00:50:16 +08:00
Vxider
5a23306ebb use AggregatingMergeTree as default inner table. 2020-03-28 00:44:09 +08:00
Vitaly Baranov
75735f1e94 Add test 2020-03-27 03:28:12 +03:00
Vitaly Baranov
34984d4a9a INSERT now clamps settings from initiator to shard's constraints. 2020-03-27 03:28:12 +03:00
alexey-milovidov
6f87f7ba68
Merge pull request #9884 from filimonov/kafka_commit_retry
Kafka retry commits on failure
2020-03-26 22:48:49 +03:00
alexey-milovidov
b23c500433
Update StorageDistributed.cpp 2020-03-26 21:25:26 +03:00
alexey-milovidov
c14a8d65e7
Update ReadBufferFromKafkaConsumer.cpp 2020-03-26 21:10:35 +03:00
alexey-milovidov
a67993e0f6
Update ReadBufferFromKafkaConsumer.cpp 2020-03-26 21:10:21 +03:00
Mikhail Filimonov
dabccbba60 Adding test for commit retries 2020-03-26 15:43:22 +01:00
Mikhail Filimonov
4fbe0e230e Add retry logic for Kafka commits 2020-03-26 12:52:16 +01:00
Vxider
427d982d0c remove ____w_end marker 2020-03-26 01:56:49 +08:00
Azat Khuzhin
5039b6ab73 Fix Distributed engine with virtual columns of the underlying table in WHERE
Before storage has not been passed to the SyntaxAnalyzer and hence
it cannot check if there is such column and throw for virtual columns
like _part (MergeTree) and others.

Follow-up-for: #8846
2020-03-24 21:07:20 +03:00
Azat Khuzhin
dcf4d5198f Accept const IStorage in SyntaxAnalyzer 2020-03-24 21:06:55 +03:00
alexey-milovidov
df19d6aac1
Merge pull request #9622 from PerformanceVision/dictionary_status
Bring dictionary status on native prometheus exporter
2020-03-24 09:44:01 +03:00
alexey-milovidov
9a2760d914
Merge pull request #9673 from azat/processors-max_distributed_connections
Fix max_distributed_connections
2020-03-24 08:32:15 +03:00
Vxider
8802f81bc9 update code style 2020-03-24 10:46:56 +08:00
Vxider
2430521fba reduce waiting time in tests 2020-03-24 10:40:34 +08:00
alexey-milovidov
ebddd4f0ba
Merge pull request #9832 from ClickHouse/fix-tsan-report-system-stack-trace
Fix tsan report in system.stack_trace
2020-03-24 03:08:09 +03:00
alexey-milovidov
db55ad5309
Merge pull request #9827 from ClickHouse/remove_redundant_code_merge_tree
Remove redundant code from merge tree
2020-03-24 03:07:59 +03:00
alexey-milovidov
28aa3119a4
Merge pull request #8846 from azat/distributed-const-expr-eval
Evaluate constant expressions for optimize_skip_unused_shards
2020-03-24 03:07:42 +03:00
alexey-milovidov
1ee26193f0
Update StorageDistributed.cpp 2020-03-23 20:28:38 +03:00
Alexey Milovidov
e06b9d4c2f Fix tsan report in system.stack_trace 2020-03-23 19:25:21 +03:00
alexey-milovidov
857c39fe48
Merge pull request #9825 from ClickHouse/remove-garbage-system-tables
Remove some garbage from code of system.tables
2020-03-23 19:00:24 +03:00
alesapin
772c210184 Better name 2020-03-23 18:43:20 +03:00
Pavel Kovalenko
5375683f24
DiskS3 hardlinks optimal implementation (#9760)
* Optimal DiskS3 hardlinks implementation and new tests.

* Code style fixes.

* Minor fixed.

* Minor fixes.
2020-03-23 17:45:48 +03:00
alesapin
048a61695c Add comment 2020-03-23 16:40:14 +03:00
alesapin
b0578d3faa Remove accident change 2020-03-23 16:35:18 +03:00
alesapin
3a1e375b8a Remove atomic from bytes_size 2020-03-23 16:32:02 +03:00
Alexey Milovidov
a331f2c616 Remove some garbage from code of system.tables, part 1 2020-03-23 16:03:15 +03:00
alesapin
9cd283266e Better size calculation 2020-03-23 15:19:43 +03:00
alesapin
fd7be934bb Remove useless method and it's usages 2020-03-23 12:50:54 +03:00
Vxider
2c0bfbe4bb fix build for clang-8 2020-03-23 11:21:01 +08:00
alexey-milovidov
c7863e1ac6
Clang Tidy, part 7 (#9799)
* Attempt to enable identifier naming check

* Attempt to enable identifier naming check, continue

* Progress on identifier names

* Adopt identifier names check

* Fixed error

* Merge with master

* Fixed build

* Fixed build

* Fixed build

* Fixed build

* Fixed build

* Fixed error

* Fixed error

* Fixed error
2020-03-23 05:12:31 +03:00
Vxider
a850d1f7d9 Merge branch 'master' of https://github.com/yandex/ClickHouse into vxider/window-view-dev 2020-03-23 00:36:11 +08:00
Azat Khuzhin
b89de69345 Evaluate constant expressions for optimize_skip_unused_shards 2020-03-22 19:30:36 +03:00
Vxider
05f5062a09 support inner table params 2020-03-22 23:03:16 +08:00
Vitaly Baranov
18d5f63b31 Mass rename: AccessRightsContext -> ContextAccess, QuotaContext -> EnabledQuota, RoleContext -> EnabledRoles, and so on. 2020-03-22 11:08:08 +03:00
Vitaly Baranov
c1f5f8bc89 Improve access rights: SHOW splitted into SHOW_DATABASES, SHOW_TABLES, SHOW_COLUMNS, SHOW_DICTIONARIES, EXISTS deleted. 2020-03-22 11:08:08 +03:00
Vitaly Baranov
4af36ee5a4 Fix updating of the access rights after changing of the readonly setting. Remove non-const function Context::getSettingsRef(). 2020-03-22 11:08:08 +03:00
Alexey Milovidov
75bf22e1f3 Fixed style 2020-03-22 05:52:44 +03:00
alexey-milovidov
939e702bc6
Merge pull request #9606 from ClickHouse/alter_on_top_of_mutations_merge_tree
Non-blocking alter for vanilla merge tree
2020-03-22 03:56:25 +03:00
alexey-milovidov
03aa8d4cfd
Update AlterCommands.cpp 2020-03-22 03:56:10 +03:00
alexey-milovidov
46829a63f3
Update StorageMergeTree.cpp 2020-03-22 03:53:40 +03:00
alexey-milovidov
7a92428046
Update MutationCommands.h 2020-03-22 03:50:06 +03:00
alesapin
20970f0ba7 Remove files from part correctly 2020-03-20 22:07:09 +03:00
Alexey Milovidov
de5f559304 Fixed strange whitespaces 2020-03-20 21:53:35 +03:00
Alexey Milovidov
a5e3d4efb7 Added most of clang-static-analyzer checks 2020-03-20 21:53:35 +03:00