kssenii
7a287e6fe9
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc
2021-04-11 21:36:08 +00:00
kssenii
c1adece94f
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica
2021-04-11 06:00:18 +00:00
kssenii
1c501e7d97
Support replica identity index
2021-04-10 16:10:28 +00:00
Alexey Milovidov
173c0e5c43
More conservative value of background_fetches_pool_size
setting
2021-04-09 23:45:14 +03:00
Alexander Kuzmenkov
e44b3822e3
Merge pull request #21850 from fastio/handle_errors_for_kafka_engine
...
Handle errors for Kafka engine
2021-04-09 22:59:40 +03:00
kssenii
8bdcac4f06
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica
2021-04-09 13:12:15 +00:00
Alexander Kuzmenkov
0264124146
Merge pull request #21942 from ucasFL/distributed_depth
...
Add settings max_distributed_depth
2021-04-09 15:52:58 +03:00
kssenii
72d89bc933
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into nanodbc
2021-04-09 11:13:01 +00:00
kssenii
9fa21a6272
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica
2021-04-08 12:18:54 +00:00
kssenii
0b39480d51
Better
2021-04-06 20:01:23 +00:00
Nikolai Kochetov
6102652c99
Merge branch 'master' into better-filter-push-down
2021-04-06 13:38:03 +03:00
Nikolai Kochetov
44700d97e9
Add setting to disable query plan optimization. Fix perftest.
2021-04-06 11:25:54 +03:00
feng lv
f6e4e13f89
fix conflict
2021-04-05 14:08:30 +00:00
feng lv
56073db22d
max distributed depth
...
Add settings max_distributed_depth
fix style
fix
fix
fix
fix test
fix
fix
2021-04-05 14:00:54 +00:00
kssenii
13d1f17d3e
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into replicas-shards-for-mysql-and-postgres
2021-04-03 08:00:09 +00:00
kssenii
2de6b99f84
Better names
2021-04-02 16:12:14 +00:00
kssenii
99f0b08ac3
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into replicas-shards-for-mysql-and-postgres
2021-04-01 13:48:33 +00:00
Ivan Lezhankin
cc1c439ad8
Merge remote-tracking branch 'upstream/master' into poco-http2
2021-04-01 16:20:15 +03:00
kssenii
2c70183652
Fix settings
2021-04-01 11:41:22 +00:00
Peng Jian
909d5ad2b5
Handle errors for Kafka engine
2021-03-31 17:15:57 +08:00
alexey-milovidov
6ed78827a5
Merge pull request #22326 from ClickHouse/test-mmap-io
...
Run performance tests with enabled mmap IO
2021-03-31 06:33:56 +03:00
alexey-milovidov
0c70b06960
Merge branch 'master' into system-querylog-map
2021-03-31 04:54:30 +03:00
kssenii
ce05087b1b
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into replicas-shards-for-mysql-and-postgres
2021-03-30 17:27:10 +00:00
Amos Bird
69204e1d21
Add prefer_column_name_to_alias settings ( #22044 )
2021-03-30 16:51:45 +03:00
Ivan Lezhankin
873a98b33b
Add test
2021-03-30 16:19:05 +03:00
Alexey Milovidov
85e4cfa731
Run performance tests with enabled mmap IO
2021-03-30 00:04:03 +03:00
tavplubix
3c0f5a57ec
Merge pull request #21535 from ClickHouse/distributed_ddl_improvements
...
Distributed DDL improvements
2021-03-29 22:40:11 +03:00
Ivan Lezhankin
de05803177
Merge branch 'master' into async-insert
2021-03-29 20:59:02 +03:00
kssenii
c17748a0ba
Add proper settings
2021-03-27 21:57:35 +00:00
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
tavplubix
5dfd0045a6
Merge branch 'master' into distributed_ddl_improvements
2021-03-22 18:13:19 +03:00
kssenii
ed158e2b77
Proper setting
2021-03-20 14:42:03 +00:00
kssenii
619f0f51fd
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica
2021-03-20 09:47:05 +00:00
kssenii
3b32c8fe9a
Block on empty connection pool
2021-03-19 21:00:45 +00:00
Ivan Lezhankin
4f1fad97ab
Merge remote-tracking branch 'upstream/master' into async-insert
2021-03-19 23:41:01 +03: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
kssenii
a03e849a8f
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica
2021-03-16 10:06:10 +00:00
tavplubix
6a265f468e
Merge branch 'master' into distributed_ddl_improvements
2021-03-15 11:24:14 +03:00
Alexey Milovidov
bbd6ac2d3a
Merge branch 'master' into add_postgresql_engine_docs
2021-03-14 14:22:56 +03:00
Alexander Tokmakov
83b3e4e0f5
allow to use Cluster from Replicated db
2021-03-09 20:05:24 +03:00
vdimir
36006a7e96
Merge branch 'master' into cross-to-inner-join-rewrite
2021-03-09 09:36:15 +03:00
Alexander Tokmakov
163e27b299
support query and session settings for distributed DDL
2021-03-09 01:57:53 +03:00
Alexander Tokmakov
5070b5b85b
detach permanently setting for Replicated db
2021-03-09 00:34:52 +03:00
Alexander Tokmakov
2022b90919
configurable output mode for distributed DDL
2021-03-08 23:35:09 +03:00
Azat Khuzhin
16f4c02d42
Add optimize_skip_unused_shards_limit
...
Limit for number of sharding key values, turns off
optimize_skip_unused_shards if the limit is reached
2021-03-26 06:09:00 +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
Ivan Lezhankin
5cfeedb1e0
Add setting http_max_uri_size
2021-03-04 15:21:23 +03:00
Ivan Lezhankin
74214865eb
Merge remote-tracking branch 'upstream/master' into async-insert
2021-03-04 14:14:28 +03:00
Ivan Lezhankin
b726845be2
[WIP]
2021-03-04 14:10:21 +03:00
Pavel Kruglov
dc9dd8ccdc
Fix typo
2021-03-03 16:16:17 +03:00
hexiaoting
4fe75ad168
fix error
2021-03-03 17:18:53 +08: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
kssenii
a3c7402200
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica
2021-03-02 07:07:56 +00:00
hexiaoting
e116346cbb
Merge remote-tracking branch 'origin/master' into dev-sumcount
2021-03-02 10:11:50 +08:00
hexiaoting
16333e9f3a
Suppport fuse aggregate functions:sum/avg/count to sumCount
2021-03-01 18:04:34 +08: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
kssenii
4cdb55babe
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into pg-ch-replica
2021-02-22 12:39:35 +00:00
kssenii
ace76bb7fa
Better, remove debug logs
2021-02-22 12:35:53 +00: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
Alexey Milovidov
0d2d2dc2ed
Merge branch 'master' into sundy-li/system-querylog-map
2021-02-18 00:47:54 +03: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
sundy-li
7083ef45a6
Merge remote-tracking branch 'origin/master' into system-querylog-map
2021-01-29 09:26:02 +08:00
sundyli
77194e4a5d
Merge branch 'master' into system-querylog-map
2021-01-28 09:59:41 +08: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
sundy-li
685210e02b
Merge branch 'master' into system-querylog-map
2021-01-23 11:28:22 +08: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
sundy-li
22c5fa0974
Merge branch 'master' into system-querylog-map
2021-01-20 23:00:22 +08:00
Pavel Kruglov
97b5179e55
Implement HedgedRequests
2021-01-19 22:41:05 +03:00
Alexander Kuzmenkov
d22c04568d
Merge pull request #13405 from excitoon-favorites/s3keepalive
...
Connection pools for S3
2021-01-18 12:52:37 +03:00
alexey-milovidov
78fff6bc39
Merge branch 'master' into multiple-nested
2021-01-15 14:54:27 +03:00
alexey-milovidov
2ca185c9f9
Merge pull request #16995 from sundy-li/alias_column_partition_prune
...
Add optimize_respect_aliases
2021-01-14 11:30:45 +03:00
Alexey Milovidov
c51df126f1
Disable "optimize_move_functions_out_of_any" by default #18973
2021-01-12 19:46:18 +03:00
sundy-li
ad01534bd5
Merge branch 'master' into alias_column_partition_prune
2021-01-12 18:28:30 +08:00
Anton Popov
36ae0e4d35
Merge remote-tracking branch 'upstream/master' into HEAD
2021-01-11 13:51:12 +03:00
Alexey Milovidov
7e9120b34f
Merge branch 'master' into chenziliang/feature/wildcard-dynamic-columns
2021-01-10 04:04:47 +03:00
Amos Bird
a3d19fa64d
Correctly override default settings remotely
2021-01-08 12:28:09 +08:00
Amos Bird
0260953a47
better
2021-01-06 17:18:48 +08:00
Vladimir Chebotarev
5cbc25c647
Added global setting s3_max_connections
.
2021-01-05 13:34:55 +03:00
sundy-li
cef8bcc011
(feature) Use Map data type for system logs tables
2021-01-05 10:10:19 +00:00
Amos Bird
a157a5b3b3
add max_partitions_to_read setting
2021-01-04 12:40:48 +08:00
sundyli
f8815f233c
Merge branch 'master' into alias_column_partition_prune
2021-01-02 11:23:55 +08:00
Alexey Milovidov
4b3ae495d6
Merge branch 'master' into CurtizJ-multiple-nested
2021-01-02 00:25:16 +03:00
alexey-milovidov
a7c350adda
Merge branch 'master' into feature/wildcard-dynamic-columns
2020-12-31 17:47:21 +03:00
Nikita Mikhailov
8e31ce4a5c
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format
2020-12-30 18:22:11 +03:00
Nikita Mikhailov
b94a654715
build fix
2020-12-30 16:55:31 +03:00
Alexey Milovidov
68fac02d35
Change union_default_mode to throw exception
2020-12-29 20:27:00 +03:00
TszkitLo40
f7d7880ad5
fix build
2020-12-29 10:13:27 +08:00
Nikita Mikhailov
c3288c3fbf
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format
2020-12-28 15:09:37 +03:00
alfredlu
7ec8a73cc3
fix build
2020-12-28 10:38:16 +08:00
alfredlu
51cfbe8c2e
Add log_comment setting
2020-12-27 18:35:46 +08:00
Anton Popov
11283e3d81
Merge remote-tracking branch 'upstream/master' into HEAD
2020-12-25 21:25:59 +03:00
Amos Bird
6fc225e676
Distributed insertion to one random shard ( #18294 )
...
* Distributed insertion to one random shard
* add some tests
* add some documentation
* Respect shards' weights
* fine locking
Co-authored-by: Ivan Lezhankin <ilezhankin@yandex-team.ru>
2020-12-23 19:04:05 +03:00
Anton Popov
57857dda63
Merge remote-tracking branch 'upstream/master' into HEAD
2020-12-23 15:16:43 +03:00
Nikolai Kochetov
af7f5c9518
Merge pull request #17868 from ClickHouse/async-read-from-socket
...
Async read from socket
2020-12-23 12:20:42 +03:00
Alexander Kuzmenkov
51b2329295
Merge branch 'master' into aku/window-prototype
2020-12-23 09:26:11 +03:00
Nikita Mikhailov
dcfbe782c6
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format
2020-12-23 05:20:22 +03:00
Anton Popov
b6ff6300b2
Merge remote-tracking branch 'upstream/master' into HEAD
2020-12-22 18:06:21 +03:00
Alexander Kuzmenkov
85c1bc1253
Merge remote-tracking branch 'origin/master' into tmp
2020-12-21 10:46:21 +03:00
Alexey Milovidov
ae9b67fefa
Support to parse Arrays in CSV as nested CSV in a String
2020-12-20 13:26:08 +03:00
alexey-milovidov
34e4ace029
Merge pull request #17525 from ClickHouse/null-as-default-default
...
Attempt to make NULL as default by default
2020-12-18 18:00:34 +03:00
Nikolai Kochetov
c7ef57c6fd
Add setting async_socket_for_remote
2020-12-18 16:15:03 +03:00
Anton Popov
009efeff40
Merge remote-tracking branch 'upstream/master' into HEAD
2020-12-18 16:14:09 +03:00
Alexey Milovidov
a0f7a12c4f
Merge branch 'master' into null-as-default-default
2020-12-18 08:09:35 +03:00
Alexander Kuzmenkov
4bfcb2fc16
a setting
2020-12-18 04:25:21 +03:00
Nikita Mikhailov
6a55e018e4
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format
2020-12-18 02:25:32 +03:00
Alexey Milovidov
e4433157e7
Merge branch 'master' into insert_quorum_parallel-default
2020-12-17 22:42:32 +03:00
Anton Popov
a42b00c9aa
Merge remote-tracking branch 'upstream/master' into HEAD
2020-12-17 20:43:23 +03:00
hexiaoting
cb91d64fe7
Add new feature: limit length and offset setting ( #17633 )
...
Co-authored-by: Alexander Kazakov <Akazz@users.noreply.github.com>
2020-12-17 17:16:14 +03:00
sundy-li
84807e9791
rename settings
2020-12-17 02:17:59 +00:00
Alexey Milovidov
6a7c73a7bd
Merge branch 'master' into insert_quorum_parallel-default
2020-12-17 04:54:17 +03:00
sundy-li
24a190a461
update setting description
2020-12-16 10:46:47 +00:00
sundy-li
5c9f84b2f4
Merge branch 'master' into alias_column_partition_prune
2020-12-16 18:44:00 +08:00
Anton Popov
e51cf03f21
Merge remote-tracking branch 'upstream/master' into HEAD
2020-12-15 21:08:01 +03:00
Nikolai Kochetov
6defcbb662
Merge branch 'master' into optimize-data-on-insert
2020-12-15 16:50:42 +03:00
sundy-li
cf087002db
Merge branch 'master' into alias_column_partition_prune
2020-12-15 16:37:00 +08:00
Anton Popov
c78861e86e
Merge remote-tracking branch 'upstream/master' into HEAD
2020-12-15 01:45:01 +03:00
Anton Popov
afc2d7099b
add conversion from array to map
2020-12-15 01:16:04 +03:00
nikitamikhaylov
8ff072c702
better
2020-12-15 00:56:47 +03:00
nikitamikhaylov
57705f5b73
delete and fix strange code
2020-12-15 00:56:47 +03:00
Nikita Mikhaylov
9922324787
it works
2020-12-15 00:56:47 +03:00
alexey-milovidov
363ff79cca
Merge pull request #17934 from Jokser/s3-adaptive-single-part-upload
...
Adaptive choose of single/multi part upload in WriteBufferFromS3
2020-12-14 23:00:43 +03:00
Pavel Kovalenko
346c241c20
Merge remote-tracking branch 'origin/master' into s3-adaptive-single-part-upload
...
# Conflicts:
# src/Disks/S3/DiskS3.cpp
2020-12-14 11:00:30 +03:00
Alexey Milovidov
6341521b10
Remove obsolete settings
2020-12-14 02:40:11 +03:00
alexey-milovidov
bce02de691
Merge pull request #17539 from azat/remerge_sort_lowered_memory_bytes_ratio
...
Add remerge_sort_lowered_memory_bytes_ratio setting
2020-12-13 04:38:50 +03:00
sundyli
36ca21c24a
Merge branch 'master' into alias_column_partition_prune
2020-12-13 00:45:14 +08:00
sundy-li
9407028540
update
2020-12-13 00:42:15 +08:00
Pavel Kovalenko
db7a87089b
Adaptive choose of single/multi part upload in WriteBufferFromS3.
2020-12-09 17:09:04 +03:00
Kruglov Pavel
e19eb6f17a
Merge branch 'master' into optimize-data-on-insert
2020-12-08 15:57:46 +03:00
Anton Popov
d7aad3bf79
Merge remote-tracking branch 'upstream/master' into HEAD
2020-12-07 19:13:01 +03:00
Anton Popov
60b0cbb1c1
Merge pull request #15939 from Avogar/optimize_final_optimization
...
Optimize final optimization
2020-12-05 02:26:27 +03:00
Pavel Kruglov
905ba78adc
Merge branch 'master' of github.com:ClickHouse/ClickHouse into optimize-data-on-insert
2020-12-04 18:56:46 +03:00
Ivan
315ff4f0d9
ANTLR4 Grammar for ClickHouse and new parser ( #11298 )
2020-12-04 05:15:44 +03:00
Anton Popov
cd1917c7a6
Merge branch 'master' into optimize_final_optimization
2020-12-03 16:52:51 +03:00
Azat Khuzhin
ccd794a676
Add remerge_sort_lowered_memory_bytes_ratio setting
...
Sometimes default ratio is not good enough (2), since it depends on lots
of factors:
- size of LIMIT
- max_memory_usage
- ...
So add a separate setting for it.
But note that it make sense to set
remerge_sort_lowered_memory_bytes_ratio only in range (1, 2]
Since <= 1 will just use more CPU, and > 2 will use more RAM and will
unlikely be faster.
2020-11-29 21:16:42 +03:00
Alexey Milovidov
7d79a3cc35
Make insert_quorum_parallel by default
2020-11-29 18:13:57 +03:00
Alexey Milovidov
20e56da8ac
Attempt to make NULL as default by default
2020-11-28 10:46:08 +03:00
Ken Chen
349571a458
Add asterisk_include_materialized_columns and asterisk_include_materialized_columns switches to include materialized columns and alias columns respectively for wildcard query
2020-11-28 00:06:53 +00:00
Alexander Kuzmenkov
9b0368ffa5
Merge pull request #16338 from ucasFL/union-distinct
...
Add UNION DISTINCT and setting `union_default_mode`
2020-11-24 17:30:24 +03:00
alesapin
45f09fe293
Merge pull request #17220 from ianton-ru/s3_max_redirects
...
S3 max redirects
2020-11-24 12:13:10 +03:00
Alexander Kuzmenkov
412c2fe079
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-23 19:51:18 +03:00
Anton Popov
b384beb564
Merge remote-tracking branch 'upstream/master' into HEAD
2020-11-23 17:46:51 +03:00
Anton Popov
1f65478b49
implement nested with multiple nesting
2020-11-21 20:27:42 +03:00
Pavel Kruglov
ca3fe49a2a
Make setting global
2020-11-20 17:29:13 +03:00
Pavel Kruglov
3ee4972586
Merge branch 'master' of github.com:ClickHouse/ClickHouse into optimize-data-on-insert
2020-11-20 01:23:51 +03:00
Alexander Kuzmenkov
24293ccb30
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-19 15:28:37 +03:00
Alexander Kuzmenkov
f2b3f5f8b6
Allow formatting named tuples as JSON objects
2020-11-18 13:38:30 +03:00
Pavel Kruglov
547ec19fb3
Merge branch 'master' of github.com:ClickHouse/ClickHouse into optimize-data-on-insert
2020-11-18 12:01:59 +03:00
Alexander Kuzmenkov
8cde88440b
Write rows as JSON array in JSONEachRow output format
2020-11-17 22:50:47 +03:00
Anton Ivashkin
15b5d3a55a
Merge master
2020-11-13 19:32:35 +03:00
Anton Ivashkin
026f7e0a27
Add 's3_max_redirects' setting
2020-11-13 19:31:51 +03:00
Pavel Kruglov
8d5e0784d3
Add setting optimize_on_insert
2020-11-12 23:37:23 +03:00
alesapin
a8d466a645
Merge branch 'master' into add_separate_pool_for_fetches
2020-11-12 12:51:02 +03:00
feng lv
fec4080d42
Merge branch 'master' of github.com:ClickHouse/ClickHouse into union-distinct
2020-11-11 03:10:10 +00:00
alesapin
2e357516a6
Merge branch 'master' into add_separate_pool_for_fetches
2020-11-10 13:53:08 +03:00
feng lv
9194985d48
Merge branch 'master' of github.com:ClickHouse/ClickHouse into union-distinct
2020-11-10 06:09:39 +00:00
Nikolai Kochetov
fdce810237
Add setting back.
2020-11-09 22:32:18 +03:00
tavplubix
67099f28ac
Merge pull request #16591 from ClickHouse/aku/create-file
...
Support `SETTINGS` clause for File engine
2020-11-09 14:15:42 +03:00
alesapin
4e846d2197
Merge branch 'master' into add_separate_pool_for_fetches
2020-11-09 10:00:21 +03:00
feng lv
1ca7dcb0a8
fix conflict
2020-11-07 11:44:29 +00:00
alexey-milovidov
7acfa7d407
Merge pull request #16728 from azat/enable-use_compact_format_in_distributed_parts_names-by-default
...
Enable use_compact_format_in_distributed_parts_names by default
2020-11-07 13:40:54 +03:00
Alexander Kuzmenkov
79f759fb6c
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-07 11:54:11 +03:00
Alexander Kuzmenkov
3c60f6cec2
make a separate settings collection + some cleanup
2020-11-07 11:53:39 +03:00
Azat Khuzhin
ee46993359
Enable use_compact_format_in_distributed_parts_names by default
2020-11-06 21:02:43 +03:00
Alexander Kuzmenkov
faf1f1e0cd
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-05 11:09:11 +03:00
feng lv
56b34d511c
Merge branch 'master' of github.com:ClickHouse/ClickHouse into agg-func-setting-null-for-empty
2020-11-04 10:59:29 +00:00
alexey-milovidov
6f004e4abd
Merge branch 'master' into agg-func-setting-null-for-empty
2020-11-04 13:24:39 +03:00
hcz
4dccc51332
Fix typo
2020-11-04 18:21:59 +08:00
alexey-milovidov
973c1d7983
Merge pull request #16529 from azat/log_queries_min_time
...
Add log_queries_min_query_duration_ms
2020-11-04 01:47:18 +03:00
Anton Popov
a3a8e18637
Merge branch 'master' into select_final
2020-11-03 00:00:43 +03:00
Azat Khuzhin
3be8a56f5c
Add log_queries_min_query_duration_ms
...
Only queries slower then the value of this setting will go to system.query_log,
i.e. something like slow_query_log in mysql.
v2: log_queries_min_time renamed to log_queries_min_query_duration_ms
v3: add current_database into system.query_thread_log
v4: rewrite test using current_database
v5: fix query_duration_ms in system.query_thread_log
2020-11-02 21:34:54 +03:00
feng lv
4d722bc52c
fix conflict
2020-11-02 12:52:12 +00:00
Ivan
281bf351d2
Remove ANALYZE and AST queries ( #16536 )
2020-11-02 15:47:12 +03:00
alesapin
8b0d9fbc07
Merge branch 'no_background_pool_no_more' into add_separate_pool_for_fetches
2020-11-02 10:54:09 +03:00
Nikolai Kochetov
1c106691b5
Merge pull request #16423 from amosbird/jbodread
...
Balanced reading from JBOD
2020-10-29 19:22:45 +03:00
Amos Bird
f995ef9797
Balanced reading from JBOD
2020-10-29 04:05:07 +08:00
alesapin
0931658c2f
Merge branch 'master' into add_separate_pool_for_fetches
2020-10-28 14:20:56 +03:00
Alexander Kuzmenkov
6509f1eb39
Merge branch 'master' into minumum
2020-10-27 21:38:23 +03:00
Mikhail Filimonov
41971e073a
Fix typos reported by codespell
2020-10-27 12:04:03 +01:00
feng lv
9b95ed9ead
fix
2020-10-26 12:21:04 +00:00
alesapin
77d350aaeb
Bigger setting value
2020-10-26 14:23:59 +03:00
feng lv
a9e4c7144c
fix
2020-10-26 09:33:34 +00:00
feng lv
15e4e03469
add union distinct and setting union_default_mode
2020-10-24 13:18:04 +00:00
Alexander Kuzmenkov
5cbf645de4
Merge remote-tracking branch 'origin/master' into tmp
2020-10-22 19:48:02 +03:00
Kruglov Pavel
0b75885c8a
Merge branch 'master' into select_final
2020-10-21 20:42:39 +03:00
Pavel Kruglov
89fdeb4e15
Fix style, move setting and add checking level>0
2020-10-21 20:35:31 +03:00
alexey-milovidov
a7098c2557
Merge pull request #16154 from nvartolomei/nv/max_concurrent_queries_for_all_users
...
Add max_concurrent_queries_for_all_users setting
2020-10-21 04:35:57 +03:00
alexey-milovidov
8084ce75cb
Merge pull request #16105 from azat/allow_nondeterministic_optimize_skip_unused_shards
...
Add allow_nondeterministic_optimize_skip_unused_shards
2020-10-21 00:16:26 +03:00
Nicolae Vartolomei
5a665d1d42
Add max_concurrent_queries_for_all_users setting
...
Closes #6636 .
2020-10-19 15:51:28 +01:00
feng lv
5254a5ded7
add setting aggregate_functions_null_for_empty
2020-10-18 20:18:31 +08:00
Azat Khuzhin
9b8abd44ab
Add allow_nondeterministic_optimize_skip_unused_shards
2020-10-17 01:07:02 +03:00
vivarum
1d9df13b47
Merge branch 'master' into enable-parsing-of-input-enum-values-by-id-10682
2020-10-16 11:07:01 +03:00
Alexander Kuzmenkov
bc7b5f6bb4
Merge remote-tracking branch 'origin/master' into tmp
2020-10-15 17:15:05 +03:00
Alexander Kuzmenkov
b4378b004f
Merge remote-tracking branch 'origin/master' into tmp
2020-10-15 16:01:41 +03:00
Vitaly Baranov
997570780d
Merge branch 'master' into non_delimited_protobuf
2020-10-14 16:26:57 +03:00
alexey-milovidov
3e001e7ef1
Update Settings.h
2020-10-13 15:19:38 +03:00
Maksim Kita
adaae8a12c
Added OutputFormat setting date_time_output_format
2020-10-13 13:59:43 +03:00
Alexander Kuzmenkov
6200433e12
Merge origin/master into tmp (using imerge)
2020-10-12 21:15:31 +03:00
Mikhail Filimonov
b602d18dd8
ProtobufSingle input format
...
Allows to read Single protobuf message at once (w/o length-delemeters).
2020-10-12 07:51:36 +02:00
alexey-milovidov
0fd007ad9e
Merge pull request #15601 from alexelex/alexelex-master
...
Improvement of Quorum Inserts in ClickHouse
2020-10-09 22:43:53 +03:00
Nikolai Kochetov
ef3640c3f7
Merge pull request #15451 from amosbird/scopewith
...
Global WITH and WITH propagation.
2020-10-09 22:16:45 +03:00
alexey-milovidov
9b9a5d9dc8
Merge pull request #15643 from azat/remove-obsolete-settings
...
Remove obsolete settings
2020-10-08 13:30:36 +03:00
Amos Bird
c9ab87ed17
Fix explain syntax
2020-10-08 17:06:04 +08:00
Amos Bird
ac102540d0
Global WITH and WITH propagation.
2020-10-08 15:03:34 +08:00
Azat Khuzhin
75e612fc16
Use full featured parser for force_data_skipping_indices
2020-10-07 01:44:14 +03:00
Azat Khuzhin
ef6d12967f
Implement force_data_skipping_indices setting
2020-10-07 01:42:31 +03:00
Azat Khuzhin
675c70acbc
Remove obsolete settings
...
Came to this when looking at allow_experimental_data_skipping_indices,
for implementing force_data_skipping_indices
2020-10-07 00:56:22 +03:00
Vasily Kozhukhovskiy
dfc13ca8e7
Enable parsing enum values by their ids for CSV, TSV and JSON input formats
...
* for CSV and TSV input formats input_format_csv_enum_as_number,
input_format_tsv_enum_as_number settings should be enabled in order to
treat input value as enum id
2020-10-06 18:37:54 +03:00
alexey-milovidov
2fcf2e0fbe
Merge pull request #15443 from ucasFL/pretty_row_numbers
...
Add setting `output_format_pretty_row_numbers`
2020-10-05 11:49:55 +03:00
Latysheva Alexandra
a63084adaf
Merge pull request #3 from alexelex/quorum_inserts_2
...
Quorum inserts 2
2020-10-05 03:28:58 +06:00
Alexander Kuzmenkov
244687bfc1
Merge remote-tracking branch 'origin/master' into HEAD
2020-10-01 18:41:48 +03:00
Alexandra Latysheva
e89a56969f
first part
2020-09-30 23:16:27 +00:00
tavplubix
2f95609f98
Merge pull request #15448 from ClickHouse/allow_synchronous_drop_for_atomic_db
...
Allow synchronous DROP/DETACH TABLE for Atomic
2020-10-01 01:14:31 +03:00
Artem Zuikov
0f6a6453fe
Remove multiple_joins_rewriter v1 ( #15472 )
2020-09-30 23:11:49 +03:00
Alexander Tokmakov
e156e6115e
add setting
2020-09-30 01:30:34 +03:00
feng lv
4f000388a7
add setting output_format_pretty_row_numbers
2020-09-29 20:30:36 +08:00
Alexey Milovidov
dee57d7976
Format Regexp: change default escaping rule to Raw
2020-09-29 00:19:13 +03:00
Alexander Kuzmenkov
218d86de7e
Merge remote-tracking branch 'origin/master' into tmp
2020-09-28 16:29:51 +03:00
Alexander Kuzmenkov
7b64ca33b1
Merge remote-tracking branch 'origin/master' into tmp
2020-09-22 14:02:20 +03:00
Alexander Tokmakov
13e41cdd20
try enable atomic database by default
2020-09-21 13:55:34 +03:00
Alexey Milovidov
059646743b
Remove OpenCL
2020-09-19 17:20:00 +03:00
Nikolai Kochetov
c7aff19937
Merge pull request #14221 from hagen1778/settings-leaf-limits
...
[settings]: introduce new query complexity settings for leaf-nodes
2020-09-18 14:05:10 +03:00
roman
b41421cb1c
[settings]: introduce new query complexity settings for leaf-nodes
...
The new setting should allow to control query complexity on leaf nodes
excluding the final merging stage on the root-node. For example, distributed
query that reads 1k rows from 5 shards will breach the `max_rows_to_read=5000`,
while effectively every shard reads only 1k rows. With setting `max_rows_to_read_leaf=1500`
this limit won't be reached and query will succeed since every shard reads
not more that ~1k rows.
2020-09-17 10:37:05 +01:00
Amos Bird
38d53c38f6
Explicit define what first replica is.
2020-09-16 17:54:41 +08:00
Vitaliy Zakaznikov
64d130f8a2
Adding support for [PERIODIC] REFRESH [value_sec]
clause when
...
creating LIVE VIEW tables.
2020-09-14 15:39:33 -04:00
Alexander Kuzmenkov
e729dc5552
Merge remote-tracking branch 'origin/master' into tmp
2020-09-09 17:33:11 +03:00
Vasily Nemkov
3973a17530
MySql datatypes dateTime64 and decimal ( #11512 )
2020-09-09 15:18:02 +03:00
Alexander Kuzmenkov
c62bf555d2
Merge origin/master into tmp (using imerge)
2020-09-08 16:26:38 +03:00
Alexander Kuzmenkov
d0a9926e7d
fixes and some docs
2020-09-08 16:19:27 +03:00
Kruglov Pavel
902ac5c33f
Change setting description
2020-09-08 15:49:57 +03:00
Kruglov Pavel
401b0e5ebb
Fix mistake 2
2020-09-08 15:47:02 +03:00
Kruglov Pavel
0e8946eb9f
Fix mistake
2020-09-08 15:38:11 +03:00
Kruglov Pavel
563f1486e6
Add output_tsv_null_representation
2020-09-08 15:36:11 +03:00
alexey-milovidov
e1104135c8
Merge pull request #13939 from fastio/master
...
Multithreading implementation of Kafka engine
2020-09-07 20:12:06 +03:00
Dmitry
9639846ca9
Merge branch 'master' into system_events_show_zero_values
2020-09-06 14:55:14 +03:00
Peng Jian
ac25c41f22
Update docs for Kafka engine
2020-09-06 11:17:19 +08:00
Peng Jian
e6bfd9d586
1. Add new setting for Kafka engine, named kafka_thread_per_consumer which default value is false. 2. Create separate thread pool for Kafka engine.
2020-09-06 11:17:19 +08:00
Azat Khuzhin
fffeeeba06
Force WithMergeableStateAfterAggregation via distributed_group_by_no_merge (convert to UInt64)
...
Possible values:
- 1 - Do not merge aggregation states from different servers for distributed query processing - in case it is for certain that there are different keys on different shards.
- 2 - same as 1 but also apply ORDER BY and LIMIT stages
2020-09-03 00:52:51 +03:00
Dmitry
13ba8cd5a7
fixed spaces
2020-09-02 14:25:11 +03:00
Dmitry
6f18cd772c
fixes
2020-09-02 13:07:23 +03:00
Dmitry
2180cdc400
system_events_show_zero_values setting added
2020-09-02 13:00:49 +03:00
Alexander Kuzmenkov
c4fc434a13
Merge pull request #14060 from azat/parallel_distributed_insert_select-2
...
Extend parallel_distributed_insert_select to run INSERT into local table
2020-08-26 20:37:36 +03:00
Azat Khuzhin
50a312534c
Extend parallel_distributed_insert_select to run INSERT into local table
...
Before this patch there was:
- parallel_distributed_insert_select=1, that executes:
INSERT INTO dist_out SELECT ... FROM underlying_dist_in
After this patch there will be:
- parallel_distributed_insert_select=2, that executes:
INSERT INTO underlying_dist_out SELECT ... FROM underlying_dist_in
And cover the behaviour w/o integration test, by using the following
techincs:
- SYSTEM STOP DISTRIBUTED SENDS
- prefer_localhost_replica=0
2020-08-25 22:49:13 +03:00
Alexey Milovidov
dfe870e38c
Merge branch 'new-branch' of https://github.com/ucasFL/ClickHouse into ucasFL-new-branch
2020-08-24 16:26:08 +03:00
Artem Zuikov
becc186c91
Add support for extended precision integers and decimals ( #13097 )
2020-08-19 14:52:17 +03:00
Vitaly Baranov
2909ed1bc0
Better initialization of access storages. Make list of access storages dynamic.
2020-08-16 19:15:34 +03:00
feng lv
aaedf02d2b
fix conflict
2020-08-16 12:38:39 +08:00
Alexander Tokmakov
a6ff049eec
use Atomic for system database
2020-08-12 23:40:13 +03:00
tavplubix
4aff48dc3f
Merge pull request #10851 from zhang2014/feature/materialize_mysql_database
...
ISSUES-4006 support MaterializeMySQL database engine
2020-08-12 15:59:28 +03:00
Alexander Tokmakov
829f7e65de
try fix sync, add experimetal flag
2020-08-12 00:59:46 +03:00
Alexey Milovidov
edd89a8610
Fix half of typos
2020-08-08 03:47:03 +03:00
Alexander Tokmakov
5b92f43f12
Merge branch 'master' into database_atomic_improvements
2020-08-03 14:35:40 +03:00
feng lv
88e48168d9
fix
2020-08-02 13:35:58 +08:00
feng lv
edb7c9b2c5
fix conflict
2020-08-02 11:27:32 +08:00
feng lv
fdf646283d
fix
...
fix
2020-08-02 09:59:25 +08:00
Vitaly Baranov
442f3de5a8
Implement custom settings.
2020-07-31 20:57:43 +03:00
Vitaly Baranov
56665a15f7
Rework and rename the template class SettingsCollection => BaseSettings.
2020-07-31 20:54:18 +03:00
Vitaly Baranov
300727afa3
Rework the StringField* classes and make conversion String => StringField* explicit.
2020-07-31 19:11:27 +03:00
Vitaly Baranov
18e3f1f60d
Split SettingsCollection.h into 3 files: SettingsFields.h, SettingsEnums.h, SettingsCollection.h
2020-07-31 19:11:27 +03:00
Vitaly Baranov
4ad99f1472
Make type names of settings shorter: SettingUInt64 => UInt64.
2020-07-31 19:11:27 +03:00
alexey-milovidov
9c9ef0db9b
Merge branch 'master' into database_atomic_improvements
2020-07-31 14:56:49 +03:00
alesapin
c75830e878
Alter table freeze with verbose output
2020-07-28 18:10:36 +03:00
Alexander Tokmakov
6bfe88e83f
Merge branch 'master' into database_atomic_improvements
2020-07-26 13:40:05 +03:00
Winter Zhang
50203a5dc0
ISSUES-12293 allow push predicate when subquery contains with clause ( #12663 )
2020-07-24 12:00:18 +03:00