tavplubix
48b89a0ace
Merge pull request #21998 from Avogar/hedged-test
...
Update tests for hedged requests
2021-03-23 18:18:49 +03:00
Pavel Kruglov
dbc5018000
Update tests for hedged requests
2021-03-22 22:18:06 +03:00
Alexander Kuzmenkov
2f5dbf57b6
Merge pull request #21839 from kssenii/add-postgres-connection-pool
...
Add connection pool for postgres engine
2021-03-22 19:49:51 +03:00
kssenii
3b32c8fe9a
Block on empty connection pool
2021-03-19 21:00:45 +00:00
Pavel Kruglov
d380454044
Change read_data_timeout from sec to ms, add profile event for hedged requests and better process receiving packets
2021-03-18 20:16:17 +03:00
Alexey Milovidov
bbd6ac2d3a
Merge branch 'master' into add_postgresql_engine_docs
2021-03-14 14:22:56 +03:00
vdimir
36006a7e96
Merge branch 'master' into cross-to-inner-join-rewrite
2021-03-09 09:36:15 +03:00
Slach
5791cf5f2b
fix review comments https://github.com/ClickHouse/ClickHouse/pull/21078#discussion_r580413875 and https://github.com/ClickHouse/ClickHouse/pull/21078#discussion_r580410204
...
Signed-off-by: Slach <bloodjazman@gmail.com>
2021-03-08 03:39:24 +03:00
Pavel Kruglov
dc9dd8ccdc
Fix typo
2021-03-03 16:16:17 +03:00
Pavel Kruglov
82a6be44cf
Disable changing replica when we have made progress
2021-03-03 01:03:03 +03:00
Pavel Kruglov
153bfbfc28
Merge branch 'master' of github.com:ClickHouse/ClickHouse into hedged-requests
2021-03-02 11:59:32 +03:00
Pavel Kruglov
197058dc12
Merge branch 'master' of github.com:ClickHouse/ClickHouse into hedged-requests
2021-02-27 00:36:33 +03:00
Nikolai Kochetov
d91b8a3acb
Merge branch 'master' into filter-push-down
2021-02-26 19:33:27 +03:00
Nikolai Kochetov
d328bfa41f
Review fixes. Add setting max_optimizations_to_apply.
2021-02-26 19:29:56 +03:00
alexey-milovidov
50639b7dba
Merge pull request #21052 from ClickHouse/file-engine-settings
...
Merging #20620
2021-02-22 13:10:31 +03:00
Alexey Milovidov
46ac365629
Merge branch 'master' into topvisor/file-engine-settings
2021-02-21 23:10:26 +03:00
Alexey Milovidov
0a62f95bbe
Merge branch 'master' into distributed_aggregation_memory_efficient_by_default
2021-02-21 23:06:49 +03:00
Kruglov Pavel
815b4ff0d9
Merge branch 'master' into hedged-requests
2021-02-21 17:10:24 +03:00
alexey-milovidov
20a7ccf5b1
Merge pull request #20174 from amosbird/alias
...
Normalized function names (lower-case case-insensitive names)
2021-02-21 16:23:51 +03:00
tavplubix
a697b578bc
Merge pull request #16193 from ClickHouse/database_replicated
...
DatabaseReplicated: continuation of #10485
2021-02-20 19:39:34 +03:00
vdimir
e052a5a05e
Revert "Support old cross to inner join rewrite behaviour"
...
This reverts commit 527210b5e4
.
2021-02-19 15:14:24 +03:00
Amos Bird
2c4bc43014
Backward compatible
2021-02-18 20:20:29 +08:00
Pavel Kruglov
1b78de2142
Use fibers in HedgedRequests
2021-02-17 20:34:52 +03:00
vdimir
527210b5e4
Support old cross to inner join rewrite behaviour
2021-02-17 12:44:53 +03:00
Alexey Milovidov
fa20016091
Enable distributed_aggregation_memory_efficient by default
2021-02-17 09:53:18 +03:00
M0r64n
75117389ec
Add a couple of QOL file engine settings
2021-02-16 18:50:11 +04:00
Alexander Tokmakov
bf6f64a3fb
Merge branch 'master' into database_replicated
2021-02-16 01:28:19 +03:00
vdimir
9afa6b5b1b
Add option cross_to_inner_join_rewrite
2021-02-15 22:40:32 +03:00
Kruglov Pavel
598576ce70
Merge branch 'master' into hedged-requests
2021-02-15 16:51:45 +03:00
Alexander Tokmakov
9c7cf9e92e
remove some debug code
2021-02-15 13:26:34 +03:00
Alexey Milovidov
4d650a2a56
Adjust config
2021-02-11 16:41:21 +03:00
Amos Bird
fc6c57f8e0
Fix
2021-02-10 12:48:41 +08:00
Amos Bird
565a148da9
Normalize count() variants
2021-02-10 12:48:41 +08:00
Anton Popov
f1beeb7c25
Merge pull request #20099 from azat/remove-not-existing-setting
...
Remove never existing insert_in_memory_parts_timeout
2021-02-08 16:09:03 +03:00
Pavel Kruglov
f946aab759
Merge branch 'master' of github.com:ClickHouse/ClickHouse into hedged-requests
2021-02-06 17:38:56 +03:00
Kruglov Pavel
d94e8624d7
Merge branch 'master' into shard-id
2021-02-06 16:48:17 +03:00
Azat Khuzhin
48b415d3e4
Remove never existing insert_in_memory_parts_timeout
...
Fixes: a43cb93be5
("remove questionable functionality")
Cc: @CurtizJ
2021-02-05 01:26:40 +03:00
Aleksei Semiglazov
921518db0a
CLICKHOUSE-606: query deduplication based on parts' UUID
...
* add the query data deduplication excluding duplicated parts in MergeTree family engines.
query deduplication is based on parts' UUID which should be enabled first with merge_tree setting
assign_part_uuids=1
allow_experimental_query_deduplication setting is to enable part deduplication, default ot false.
data part UUID is a mechanism of giving a data part a unique identifier.
Having UUID and deduplication mechanism provides a potential of moving parts
between shards preserving data consistency on a read path:
duplicated UUIDs will cause root executor to retry query against on of the replica explicitly
asking to exclude encountered duplicated fingerprints during a distributed query execution.
NOTE: this implementation don't provide any knobs to lock part and hence its UUID. Any mutations/merge will
update part's UUID.
* add _part_uuid virtual column, allowing to use UUIDs in predicates.
Signed-off-by: Aleksei Semiglazov <asemiglazov@cloudflare.com>
address comments
2021-02-02 16:53:39 +00:00
Pavel Kruglov
60a92e9a99
Fix build, add comments, update tests
2021-02-02 15:14:31 +03:00
feng lv
0edf65c094
fix test
...
fix
update
fix spell
2021-02-02 09:22:30 +00:00
feng lv
4279c7da41
add setting insert_shard_id
...
add test
fix style
fix
2021-02-02 04:26:59 +00:00
Vitaliy Zakaznikov
3de4690450
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into live_view_periodic_refresh
2021-01-29 19:57:13 -05:00
Pavel Kruglov
25e85d71ee
Merge branch 'master' of github.com:ClickHouse/ClickHouse into hedged-requests
2021-01-29 21:08:47 +03:00
Alexey Milovidov
065d22cf2b
Merge branch 'master' into disable-checksums-on-read
2021-01-28 03:07:31 +03:00
alexey-milovidov
2028228f4b
Merge pull request #18684 from amosbird/betterwith
...
better CTE and with global
2021-01-27 04:33:17 +03:00
Alexey Milovidov
a6f5f40a65
Merge branch 'master' into disable-checksums-on-read
2021-01-27 04:09:00 +03:00
Amos Bird
3afcccaad2
Fix global with after union refactoring
2021-01-26 10:29:12 +08:00
Alexey Milovidov
9ee5c1535e
Allow to disable checksums on read
2021-01-25 23:29:04 +03:00
Alexey Milovidov
cfd47b2980
Merge branch 'master' into issue18494
2021-01-25 22:18:23 +03:00
flynn
e75b116466
Rewrite sum(if())
and sumIf
to countIf
in special cases ( #17041 )
...
Co-authored-by: vdimir <vdimir@yandex-team.ru>
2021-01-21 12:01:35 +03:00