Kruglov Pavel
e163670357
Merge branch 'master' into http-valid-json-on-exception
2023-09-19 13:42:53 +02:00
VanDarkholme7
db6e67073e
fix
2023-09-19 12:50:15 +08:00
VanDarkholme7
783b48b730
Merge branch 'ClickHouse:master' into missing_subcolumns
2023-09-19 10:33:06 +08:00
VanDarkholme7
78660eb859
Replace missed Object(Nullable(json)) subcolumns
2023-09-19 09:55:45 +08:00
Igor Nikonov
572249a60c
Merge branch 'master' into pr-distributed-prefer-localhost-replica
2023-09-18 21:48:21 +02:00
Kruglov Pavel
3aaaf7600c
Merge pull request #54655 from Avogar/fix-use-structure-from-insertion-table
...
Fix using structure from insertion tables in case of defaults and explicit insert columns
2023-09-18 18:54:28 +02:00
Igor Nikonov
081fa19a97
Merge branch 'master' into pr-distributed-prefer-localhost-replica
2023-09-18 18:30:49 +02:00
Igor Nikonov
047d214436
Merge remote-tracking branch 'origin/master' into parallel-replicas-not-enough-replicas
2023-09-18 15:29:56 +00:00
Igor Nikonov
c285f85cad
Fix: correct check if all shards have only 1 node
2023-09-18 14:43:10 +00:00
Antonio Andelic
69333912d5
Merge branch 'master' into keeper-operation-create-if-not-exists
2023-09-18 10:57:11 +00:00
Kruglov Pavel
9c888ea42b
Merge pull request #53549 from Avogar/group-by-constant-keys
...
Optimize group by constant keys
2023-09-18 12:12:40 +02:00
taiyang-li
39ca44b51a
Respect max_block_size for array join to avoid possible OOM
2023-09-18 11:04:38 +08:00
Igor Nikonov
fae229e3ea
Merge remote-tracking branch 'origin/master' into pr-distributed-prefer-localhost-replica
2023-09-17 21:03:56 +00:00
Igor Nikonov
a138d8a376
Use index to access shard addresses
2023-09-17 21:03:14 +00:00
Robert Schulze
f5e8028bb1
Merge pull request #54642 from rschu1ze/broken-re2st
...
Remove broken lockless variant of re2
2023-09-17 15:30:57 +02:00
avogar
a075d03f01
Fix
2023-09-15 14:28:25 +00:00
Maksim Kita
60a63212c8
Fixed tests
2023-09-15 17:04:24 +03:00
Kruglov Pavel
2075f9c667
Merge branch 'master' into group-by-constant-keys
2023-09-15 15:10:08 +02:00
Kruglov Pavel
dbd24b240c
Merge branch 'master' into http-valid-json-on-exception
2023-09-15 14:55:31 +02:00
vdimir
404ea84dc5
Handle case when clone resized block comsumes more memory, try to fix it for ColumnVector
2023-09-15 10:30:06 +00:00
avogar
7cfdd88ccf
Address comments
2023-09-15 09:32:41 +00:00
vdimir
01ee24eefa
fix
2023-09-15 09:03:09 +00:00
vdimir
40d42f4123
hash join use memory tracker delta to decide on shrink to fit
2023-09-15 09:03:08 +00:00
Alexey Milovidov
5a47803a80
Update HashJoin.h
2023-09-15 09:03:08 +00:00
vdimir
ac3c12e8b2
Shrink blocks in HashJoin on consuming half of maximum memory
2023-09-15 09:03:07 +00:00
yur3k
f6c4fba890
Made shrinkToFit interface mutable. Improved shrinkToFit implementation.
2023-09-15 09:03:07 +00:00
yur3k
e2ce8ed9aa
Added shrinkToFit methods to IColumn and Block. shrinkToFit now used unconditionally in HashJoin.
2023-09-15 09:03:06 +00:00
avogar
b9c28ef1f7
Fix for analyzer
2023-09-14 20:10:07 +00:00
avogar
93c49dfeaa
Fix using structure from insertion tables in case of defaults and explicit insert columns
2023-09-14 19:31:12 +00:00
Robert Schulze
7b378dbad3
Remove broken lockless variant of re2
2023-09-14 16:40:42 +00:00
slvrtrn
c0961d9378
Merge remote-tracking branch 'origin' into simplified-prepared-statements-for-mysql
2023-09-13 19:33:11 +02:00
Alexey Milovidov
bd4aec0601
Revert "Optimize uniq to count"
2023-09-13 09:14:06 +03:00
Nikolay Degterinsky
268c45d900
Merge remote-tracking branch 'upstream/master' into users-valid-until
2023-09-12 23:44:22 +00:00
Igor Nikonov
7b3f32b95a
Merge pull request #54520 from ClickHouse/pr-cleanup
...
Parallel replicas: cleanup unused params
2023-09-12 19:48:18 +02:00
slvrtrn
28e2ebf9db
Merge remote-tracking branch 'refs/remotes/origin/simplified-prepared-statements-for-mysql' into simplified-prepared-statements-for-mysql
2023-09-12 18:41:36 +02:00
slvrtrn
dddea9219a
Address the review comments
2023-09-12 18:39:03 +02:00
robot-clickhouse
1c8ee76ba2
Merge pull request #54513 from Avogar/formats-with-names-no-header
...
Fix possible parsing error in WithNames formats with disabled input_format_with_names_use_header
2023-09-12 17:58:03 +02:00
Dmitry Novik
7edc0a30a3
Merge pull request #54335 from arenadata/ADQM-1109
...
Added peak_threads_usage to query_log table
2023-09-12 16:03:27 +02:00
Igor Nikonov
1287f68745
Handle clusterAllReplicas/remote cases to avoid unnecessary logging
2023-09-12 12:52:29 +00:00
slvrtrn
611a75a87f
Merge remote-tracking branch 'origin' into simplified-prepared-statements-for-mysql
2023-09-12 10:38:44 +02:00
Alexey Gerasimchuck
60c9dd226d
Update src/Interpreters/QueryLog.h
...
Co-authored-by: Dmitry Novik <mrnovikd@gmail.com>
2023-09-12 10:10:05 +10:00
Igor Nikonov
d5ea047ab8
Parallel replicas: cleanup unused params
2023-09-11 21:52:40 +00:00
Igor Nikonov
2293923f66
Disable parallel replicas on shards with not enough nodes
2023-09-11 21:46:46 +00:00
avogar
2d8f33bfa2
Fix parsing error in WithNames formats while reading subset of columns with disabled input_format_with_names_use_header
2023-09-11 14:55:37 +00:00
Nikolai Kochetov
59108f3d96
Merge pull request #54476 from ClickHouse/revert-54470-revert-48607-master
...
Revert "Revert "Add settings for real-time updates during query execution""
2023-09-11 14:59:13 +02:00
Igor Nikonov
1785e1c00c
Fix build: remove unused variables
2023-09-11 12:30:55 +00:00
Igor Nikonov
918bd814bd
Add canUseParallelReplicas() for convenience
2023-09-11 12:19:07 +00:00
Igor Nikonov
f3f3eddd52
Merge remote-tracking branch 'origin/master' into pr-distributed-prefer-localhost-replica
2023-09-11 12:13:45 +00:00
Kruglov Pavel
21a2cf7707
Merge pull request #54337 from wat-ze-hex/show-functions-2023-09-04
...
Add SHOW FUNCTIONS support to client
2023-09-11 13:03:02 +02:00
Sergei Trifonov
08bad4d440
Merge pull request #47009 from ClickHouse/disks-and-io-sheduler
2023-09-11 07:22:14 +02:00
Igor Nikonov
f2734c54e3
Merge remote-tracking branch 'origin/master' into pr-distributed-prefer-localhost-replica
2023-09-10 20:38:46 +00:00
Igor Nikonov
7d630b6b1b
Added comments
2023-09-10 20:38:17 +00:00
Igor Nikonov
fac0b2f62d
Adapt code to inconsistency between shard_info and shard addresses
2023-09-10 19:05:17 +00:00
serxa
d326554caa
fix keeper build
2023-09-10 14:55:40 +00:00
robot-ch-test-poll
6f3374d684
Merge pull request #54481 from ucasfl/hints
...
Refactor IHints
2023-09-10 15:46:36 +02:00
flynn
6ec783a746
Refactor IHints
2023-09-10 03:48:12 +00:00
Alexey Milovidov
269c82a612
Merge pull request #54409 from ClibMouse/s390x_hash_order_fix
...
Hashtable order fix on big endian platform
2023-09-10 06:41:43 +03:00
Igor Nikonov
3a78ba6de4
Fix, enable tests, make cluster_for_parallel_replicas empty by default
2023-09-09 21:36:39 +00:00
Igor Nikonov
9464433683
Merge remote-tracking branch 'origin/master' into pr-distributed-prefer-localhost-replica
2023-09-09 19:48:50 +00:00
Igor Nikonov
d5ffff93a7
Merge pull request #54468 from ClickHouse/distributed-cleanup-select-info
...
Cleanup: unnecessary SelectQueryInfo usage around distributed
2023-09-09 21:47:36 +02:00
Nikolai Kochetov
9b936c44db
Revert "Revert "Add settings for real-time updates during query execution""
2023-09-09 12:29:39 +02:00
Igor Nikonov
b6e9dd96f8
Fix build
2023-09-09 06:55:35 +00:00
Alexey Milovidov
03a755732a
Revert "Add settings for real-time updates during query execution"
2023-09-09 03:10:23 +03:00
Igor Nikonov
7a396139df
Cleanup: unnecessary SelectQueryInfo usage around distributed
2023-09-08 21:53:38 +00:00
Nikolay Degterinsky
88d7b81032
Merge pull request #54379 from evillique/fix-arrayexists-segfault
...
Fix segfault in AST optimization of `arrayExists` function
2023-09-08 22:11:38 +02:00
robot-ch-test-poll4
839f69c940
Merge pull request #53765 from vitlibar/sync-uuids-of-tables-on-replicas
...
Sync UUIDs of tables on replicas after RESTORE
2023-09-08 17:30:32 +02:00
Yakov Olkhovskiy
ed8d2da31f
Merge pull request #54333 from arenadata/ADQM-1156
...
Fixed wrong dereference problem in Context::setTemporaryStorageInCache
2023-09-08 09:27:42 -04:00
Nikolai Kochetov
0095124791
Merge pull request #48607 from alexX512/master
...
Add settings for real-time updates during query execution
2023-09-08 09:05:33 +02:00
Nikolay Degterinsky
f40d3a25cf
Fix build
2023-09-08 05:22:21 +02:00
Julia Kartseva
59844b0a9d
Add SHOW FUNCTIONS support to client
...
Accepts CH client queries in the form of
SHOW FUNCTIONS [LIKE | ILIKE '< pattern>']
Retrieves all columns from `functions` table in system database.
Fixes #52757
2023-09-07 14:08:50 -07:00
Suzy Wang
fd0da1f278
hashtable order fix for s390x
2023-09-07 07:37:43 -07:00
Alexey Milovidov
1b30f91e7a
Merge pull request #51304 from ClickHouse/alter-table-add-comment
...
Add support for ALTER TABLE MODIFY COMMENT
2023-09-07 07:30:57 +03:00
Alexey Gerasimchuck
1c8216b5c6
added assertion
2023-09-07 03:27:04 +00:00
Nikolay Degterinsky
9918a85e78
Better
2023-09-07 02:35:21 +00:00
Nikolay Degterinsky
4b764f7b65
Fix segfault in arrayExists AST optimization
2023-09-07 02:10:14 +00:00
Alexey Gerasimchuck
c2f4dc0f14
Implemented peak_threads_usage
2023-09-07 01:32:39 +00:00
Igor Nikonov
6c3ac83c07
Fix
2023-09-06 20:08:05 +00:00
Igor Nikonov
96657ba5a2
Remove debug code
2023-09-06 18:49:17 +00:00
Igor Nikonov
f938c38eb9
Merge remote-tracking branch 'origin/master' into pr-distributed-prefer-localhost-replica
2023-09-06 18:47:43 +00:00
Igor Nikonov
220dc33937
Fast fix
2023-09-06 18:46:24 +00:00
robot-ch-test-poll3
7f756ed613
Merge pull request #54354 from ClickHouse/parallel-replicas-cleanup
...
Parallel replicas: remove unused code
2023-09-06 19:38:14 +02:00
Kruglov Pavel
5b29640b22
Merge branch 'master' into group-by-constant-keys
2023-09-06 18:06:51 +02:00
robot-ch-test-poll4
8c71582316
Merge pull request #54185 from ClickHouse/analyzer-partition-id-pruning
...
Fix partition id pruning for analyzer.
2023-09-06 16:53:35 +02:00
Igor Nikonov
c51cfef065
Remove unused code
2023-09-06 12:53:58 +00:00
Alexander Sapin
a176c38876
Fix tests with database replicated
2023-09-06 14:17:46 +02:00
Igor Nikonov
9881e75c05
Create read from remote step if there are remote replicas
2023-09-06 11:30:24 +00:00
Alexey Gerasimchuck
686f018183
Improved protection from dereferencing of nullptr
2023-09-06 01:46:58 +00:00
Alexey Gerasimchuck
7b236c8c38
fixed dereference problem
2023-09-05 22:21:18 +00:00
robot-ch-test-poll4
aa12fe32be
Merge pull request #54306 from ClickHouse/vdimir/join_on_system_errors_fix
...
Fix unexpected errors in system.errors after join
2023-09-05 22:29:05 +02:00
Vitaly Baranov
82b1c09150
Simplify coordination of UUIDs.
2023-09-05 20:49:43 +02:00
Robert Schulze
17cb6a8e3f
SHOW COLUMNS: update docs, refresh expected results, add comment about bug
2023-09-05 18:34:33 +00:00
robot-ch-test-poll
2e7edf4413
Merge pull request #53638 from arenadata/ADQM-987
...
Add `backup_log` system table
2023-09-05 17:03:41 +02:00
vdimir
d048e09613
Fix unexpected errors in system.errors after join
2023-09-05 14:07:36 +00:00
vdimir
f7e57edea8
Merge pull request #54113 from ClickHouse/vdimir/cluser_discovery_init_fix
2023-09-05 11:49:57 +02:00
Robert Schulze
bc2e7fdc18
Merge pull request #54270 from rschu1ze/qc-log-cached
...
Query cache: Log caching of entries
2023-09-05 11:15:39 +02:00
Victor Krasnov
132ab6067b
Merge branch 'master' into ADQM-987
2023-09-05 10:01:44 +03:00
robot-clickhouse
926c5636dd
Merge pull request #42599 from ClickHouse/build-fuzzer-protocol
...
libFuzzer: add CI fuzzers build, add tcp protocol fuzzer, fix other fuzzers.
2023-09-04 22:41:54 +02:00
slvrtrn
9fa4850630
Try to resolve style check
2023-09-04 22:36:29 +02:00
Alexander Gololobov
941f0f1aef
Merge pull request #54251 from ClickHouse/fix_zk_fault_injection_logging
...
Properly re-initialize ZooKeeper fault injection
2023-09-04 22:00:48 +02:00
Robert Schulze
917a9f47b9
Query cache: Log caching of entries
2023-09-04 16:55:28 +00:00
Alexey Milovidov
9bbd81ca6c
Merge pull request #52645 from JackyWoo/optimize_uniq_to_count
...
Optimize uniq to count
2023-09-04 19:21:39 +03:00
Alexander Gololobov
bb0f3ffec2
Reinitialize fault injection after session expiration
2023-09-04 15:14:47 +02:00
Sergei Trifonov
258da91b5f
Merge branch 'master' into disks-and-io-sheduler
2023-09-04 15:14:28 +02:00
Victor Krasnov
78760639d2
Merge branch 'master' into ADQM-987
2023-09-04 13:59:20 +03:00
vdimir
470a29b7e8
fix cluster_discovery_faults
2023-09-04 10:54:59 +00:00
Igor Nikonov
64f8d7bc85
Merge pull request #54213 from ClickHouse/revert-54189-revert-53904-fix-parallel-replicas-skip-shards
...
2R: Fix: respect skip_unavailable_shards with parallel replicas
2023-09-04 12:24:16 +02:00
Anton Popov
15cb333eba
Merge pull request #54212 from bharatnc/ncb/fix-ipv4-select
...
fix possible type mismatch with IPv4
2023-09-04 11:39:23 +02:00
Alexey Milovidov
217bfa0e42
Merge pull request #53754 from ClickHouse/fix-interpolate-subselect
...
Fix: require columns participating in interpolate expression
2023-09-04 08:05:47 +03:00
JackyWoo
d065ac32e0
Merge branch 'master' into optimize_uniq_to_count
2023-09-04 10:06:36 +08:00
Igor Nikonov
40efa989f3
Merge remote-tracking branch 'origin/master' into revert-54189-revert-53904-fix-parallel-replicas-skip-shards
2023-09-03 20:48:48 +00:00
Kseniia Sumarokova
b3319f7908
Minor changes ( #54171 )
2023-09-03 15:47:52 +02:00
Alexey Milovidov
7cb4d52d92
Deprecate metadata cache, part 2
2023-09-03 03:56:11 +02:00
Igor Nikonov
d7076ab017
Revert "Revert "Fix: respect skip_unavailable_shards with parallel replicas""
2023-09-02 23:52:56 +02:00
Bharat Nallan Chakravarthy
2c8fd5dbb1
fix possible type mismatch with IPv4
2023-09-02 14:48:46 -07:00
robot-clickhouse-ci-1
97061f6806
Merge pull request #54199 from ClickHouse/fix-parallel-replicas-distributed
...
Fix: parallel replicas over distributed don't read from all replicas
2023-09-02 15:38:51 +02:00
Igor Nikonov
8b1653bbe8
Remove unnecessary code
2023-09-02 08:25:47 +00:00
robot-clickhouse
14478b245f
Merge pull request #53892 from ClickHouse/some_fixes
...
Fix some tests
2023-09-02 02:33:56 +02:00
Igor Nikonov
a59674f624
Fix: parallel replicas over distributed don't read from all replicas on shard
2023-09-01 22:33:42 +00:00
Alexander Tokmakov
782c15330b
Revert "Fix: respect skip_unavailable_shards with parallel replicas ( #53904 )"
...
This reverts commit f2290d9a6f
.
2023-09-01 18:01:07 +02:00
Nikolai Kochetov
46087fd3e5
Refactor.
2023-09-01 15:45:08 +00:00
Victor Krasnov
52cce27e81
Merge branch 'master' into ADQM-987
2023-09-01 18:00:20 +03:00
Alexey Milovidov
ea99576080
Merge pull request #54169 from kssenii/rename-macro-back
...
Rename macro
2023-09-01 17:27:40 +03:00
Alexander Tokmakov
331958041e
better synchronisation of RESTART REPLICA
2023-09-01 16:27:21 +02:00
Yakov Olkhovskiy
361b21b416
fix fuzzers, cmake refactor, add target fuzzers
2023-09-01 14:20:50 +00:00
vdimir
a62ac687a9
Limit number of failures on cluster_discovery_faults
2023-09-01 13:58:14 +00:00
Igor Nikonov
f2290d9a6f
Fix: respect skip_unavailable_shards with parallel replicas ( #53904 )
...
Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2023-09-01 15:57:40 +02:00
kssenii
3f20d1f578
Rename
2023-09-01 12:55:58 +02:00
vdimir
406d61f9c8
Merge pull request #53755 from ClickHouse/vdimir/join_on_nullsafe
2023-09-01 11:02:37 +02:00
alexX512
36b8932b37
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2023-08-31 21:40:50 +00:00
Alexander Tokmakov
d81eae6c1b
Merge branch 'master' into some_fixes
2023-08-31 19:15:54 +02:00
vdimir
df281fa41d
Fix typos
2023-08-31 15:22:27 +00:00
vdimir
d7dca71bee
Add fail point to cluster discovery initialization
2023-08-31 11:45:54 +00:00
vdimir
4fa9dcb326
Fix cluster discovery initialization
2023-08-31 11:33:01 +00:00
Alexey Milovidov
1910434174
Remove CurrentStatusInfo
2023-08-30 20:48:26 +02:00
slvrtrn
8378441248
Merge remote-tracking branch 'origin' into simplified-prepared-statements-for-mysql
2023-08-30 19:00:51 +02:00
vdimir
dbdcea30a0
fix style, add built-in documentation
2023-08-30 15:06:35 +00:00
robot-ch-test-poll4
aa3b687d4a
Merge pull request #54064 from kssenii/fix-logical-error
...
Fix after #52943
2023-08-30 17:06:25 +02:00
Alexander Tokmakov
4d70624ca3
Merge pull request #53907 from arenadata/ADQM-1126
...
Added validate_tcp_client_information server setting
2023-08-30 15:10:13 +02:00
kssenii
662f22aed0
Fix
2023-08-30 13:31:54 +02:00
serxa
9c92d413b3
Merge branch 'master' into disks-and-io-sheduler
2023-08-30 11:18:49 +00:00
Alexey Gerasimchuck
a1687e618b
backward compatibility changes + fixes
2023-08-29 23:50:41 +00:00
Nikita Mikhaylov
97efd14e90
Merge pull request #54009 from ClickHouse/change-istorage-interface
...
Change IStorage interface by random walk, no goal in particular
2023-08-29 22:22:53 +02:00
Sergei Trifonov
802579f3f1
Merge pull request #49618 from ClickHouse/concurrency-control-controllable
...
Make concurrency control controllable
2023-08-29 19:44:51 +02:00
Nikita Mikhaylov
96cabcae3a
Change interface
2023-08-29 16:26:48 +02:00
alexX512
2670af53df
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2023-08-29 13:37:58 +00:00
robot-clickhouse-ci-1
f5c0890b32
Merge pull request #53895 from ClickHouse/vdimir/write_buffer_to_file_segment_dtor
...
Finalize file descriptor in ~WriteBufferToFileSegment
2023-08-29 15:15:44 +02:00
alexX512
b3ba00f443
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2023-08-29 10:59:29 +00:00
Raúl Marín
45e8185f9b
Merge remote-tracking branch 'blessed/master' into parallel_replicas_row_estimation
2023-08-29 11:17:34 +02:00
Alexander Tokmakov
050f7500f6
fix some tests
2023-08-28 18:51:36 +02:00
vdimir
9f158d4d63
Finalize file descriptor in ~WriteBufferToFileSegment
2023-08-28 16:01:10 +00:00
Alexander Tokmakov
98e6a6b09b
Merge pull request #53849 from ClickHouse/tavplubix-patch-9
...
Fix segfault in `TableNameHints` (with `Lazy` database)
2023-08-28 17:51:30 +02:00
Nikolai Kochetov
a47ae631bd
Merge pull request #53589 from kitaisreal/aggregator-merge-states-in-batch
...
Experiment Aggregator merge and destroy states in batch
2023-08-28 15:46:49 +02:00
vdimir
bb6b939d2b
Support 'is not distinct from' in join on section
2023-08-28 11:41:36 +00:00
Igor Nikonov
a2686af496
Merge pull request #53862 from ClickHouse/cleanup-parallel-replicas-0
...
Remove unused parallel replicas coordinator in query info
2023-08-28 13:30:23 +02:00
vdimir
b92c436c29
Merge pull request #53699 from ClickHouse/vdimir/filter_pushdown_const_bug
2023-08-28 11:45:05 +02:00
JackyWoo
a963048e1a
Merge branch 'master' into optimize_uniq_to_count
2023-08-28 11:10:05 +08:00
Igor Nikonov
7368bf65b3
Remove unused parallel replicas coordinator in query info
2023-08-27 22:12:39 +00:00
Victor Krasnov
87c90767d9
Merge branch 'master' into ADQM-987
2023-08-27 09:14:42 +03:00
Yong Wang
1c3a3debb4
Kusto-phase2: fix unit test
2023-08-26 07:40:40 -07:00
Yong Wang
828f4a67b7
Kusto-phase2: use seperated path to parse kql query
2023-08-26 07:40:40 -07:00
Yong Wang
5cc3f4708c
Kusto-phase2: restore to kusto dialect only, fix some style issue
2023-08-26 07:40:39 -07:00
Larry Luo
1105ac624b
Fixed style issues
2023-08-26 07:40:38 -07:00
Yong Wang
ae6e6b1c3b
Kusto-phase2: Changed dialect to use enumerate, Added subquery for in operator, fixed the multi query issue
2023-08-26 07:40:25 -07:00
Yong Wang
760fd6759e
Kusto-phase2: add kusto_auto dialect
2023-08-26 07:40:25 -07:00
alesapin
3723fe753e
Merge pull request #53840 from kssenii/fix-after-51622
...
Fix after #51622
2023-08-26 11:56:11 +02:00
alesapin
0e601b856f
Merge pull request #53751 from Algunenano/clang18
...
Support clang-18 (Wmissing-field-initializers)
2023-08-25 23:27:06 +02:00
slvrtrn
055d2e3c3d
Merge remote-tracking branch 'origin' into simplified-prepared-statements-for-mysql
2023-08-25 21:27:47 +02:00
Kseniia Sumarokova
05858f96e2
Update Metadata.cpp
2023-08-25 20:42:28 +02:00
slvrtrn
734ffd916c
WIP prepared statements
2023-08-25 20:31:21 +02:00
Victor Krasnov
921f0c8b5d
Merge branch 'master' into ADQM-987
2023-08-25 21:20:23 +03:00
Alexander Tokmakov
8dd3448844
Update DatabaseCatalog.h
2023-08-25 19:29:47 +03:00
Kseniia Sumarokova
13b45196f6
Merge pull request #52943 from kssenii/parallelize-file-cache-metadata-download
...
Parallelize loading of fs cache metadata on startup
2023-08-25 15:32:34 +02:00
kssenii
5599b57cdd
Fix
2023-08-25 14:43:40 +02:00
Kseniia Sumarokova
34ac113af6
Merge pull request #53121 from kssenii/fix-cache-logical-error
...
Fix possible error from cache "Read unexpected size"
2023-08-25 12:16:24 +02:00
kssenii
fe4e04a7ae
Merge remote-tracking branch 'upstream/master' into parallelize-file-cache-metadata-download
2023-08-25 11:36:40 +02:00
Kseniia Sumarokova
8edbdb4a0c
Merge pull request #53741 from kssenii/add-some-metrics-for-cache
...
Add some profile events
2023-08-25 11:29:16 +02:00
Kruglov Pavel
d80be4673b
Merge pull request #53692 from Avogar/cache-count
...
Cache number of rows in files for count in file/s3/url/hdfs/azure functions
2023-08-25 09:08:52 +02:00
Yakov Olkhovskiy
415a993c91
fix fuzzers build
2023-08-24 23:22:39 +00:00
Alexander Tokmakov
1eff7bee5e
Merge pull request #53673 from arenadata/ADQM-1105
...
Added client_info validation to the query packet in TCPHandler.
2023-08-24 21:03:25 +03:00
Raúl Marín
6490213207
Merge remote-tracking branch 'blessed/master' into clang18
2023-08-24 17:35:26 +02:00
Kruglov Pavel
44db5fa992
Merge branch 'master' into cache-count
2023-08-24 17:21:18 +02:00
Maksim Kita
f0f2d416dd
Aggregator merge and destroy states in batch
2023-08-24 15:34:32 +03:00
Anton Popov
19a52f19f1
Merge pull request #53547 from joelynch/shutdown-async-insert-queue-first
...
bugfix: Flush async insert queue first on shutdown
2023-08-24 13:59:12 +02:00
Kseniia Sumarokova
b12881b5da
Fix after merge
2023-08-24 13:43:15 +02:00
Kseniia Sumarokova
a4f39fe134
Merge branch 'master' into fix-cache-logical-error
2023-08-24 12:00:18 +02:00
kssenii
3917e6400d
Merge remote-tracking branch 'upstream/master' into add-some-metrics-for-cache
2023-08-24 11:44:16 +02:00
Kseniia Sumarokova
187706558a
Merge pull request #51622 from kssenii/system-sync-cache
...
Add `system sync filesystem cache` command
2023-08-24 11:42:32 +02:00
helifu
adfdba4b83
Display reloaded values of server settings
2023-08-24 12:32:30 +08:00
Vitaly Baranov
5154c1b9d0
Use same UUIDs for tables on replicas created by RESTORE ON CLUSTER.
2023-08-23 22:55:46 +02:00
avogar
59ca2374b5
Better
2023-08-23 19:39:45 +00:00
avogar
93ba73715a
Merge branch 'master' of github.com:ClickHouse/ClickHouse into group-by-constant-keys
2023-08-23 18:47:42 +00:00
Yakov Olkhovskiy
407b2e3b58
require columns participating in interpolate expression
2023-08-23 14:08:34 +00:00
Raúl Marín
93dac0c880
Support clang-18 (Wmissing-field-initializers)
2023-08-23 15:53:45 +02:00
Kruglov Pavel
592fa77987
Merge branch 'master' into cache-count
2023-08-23 15:18:02 +02:00
Kruglov Pavel
7e362a2110
Merge branch 'master' into fast-count-from-files
2023-08-23 15:13:20 +02:00
Joe Lynch
192c3ddb2d
Flush async insert queue first on shutdown
...
Fixes bug where on graceful shutdown the database catalog is shutdown
before queries in the async insert queue run, causing all the
queries to fail and data to be lost.
2023-08-23 15:00:00 +02:00
Robert Schulze
bea651e828
Merge pull request #53657 from rschu1ze/cache-improvements
...
Expose more settings from caches
2023-08-23 14:58:45 +02:00
kssenii
170adaafca
Merge remote-tracking branch 'upstream/master' into parallelize-file-cache-metadata-download
2023-08-23 13:16:56 +02:00
kssenii
c8a12f798e
Merge remote-tracking branch 'upstream/master' into system-sync-cache
2023-08-23 13:15:47 +02:00
kssenii
e43f3290b6
Add some profile events
2023-08-23 12:25:49 +02:00
Kruglov Pavel
e193aec583
Merge branch 'master' into fast-count-from-files
2023-08-23 12:15:34 +02:00
kssenii
16bbce250f
Fxi
2023-08-23 12:11:47 +02:00
kssenii
15f7df0000
Merge remote-tracking branch 'upstream/master' into parallelize-file-cache-metadata-download
2023-08-23 12:02:04 +02:00
kssenii
c47f5ebcd9
Minor change
2023-08-23 11:46:14 +02:00
kssenii
325e2d3172
Merge remote-tracking branch 'upstream/master' into system-sync-cache
2023-08-23 11:44:19 +02:00
flynn
d071ee7001
Merge branch 'master' of github.com:ClickHouse/ClickHouse into scalar
2023-08-23 06:25:42 +00:00
Robert Schulze
9d8bec4c73
Fix build, pt. II
2023-08-22 15:55:54 +00:00
Robert Schulze
e744654bae
More consistent parameter names
2023-08-22 15:48:48 +00:00
vdimir
b23773380c
Fix filter pushdown for full_sorting_merge join
2023-08-22 15:06:50 +00:00
Victor Krasnov
258f9927b4
Merge branch 'master' into ADQM-987
2023-08-22 16:49:32 +03:00
Kruglov Pavel
67c5c0203b
Merge branch 'master' into fast-count-from-files
2023-08-22 15:03:48 +02:00
Kruglov Pavel
c0bdd0e00b
Merge branch 'master' into cache-count
2023-08-22 14:42:22 +02:00
avogar
b4145aeddc
Cache number of rows in files for count in file/s3/url/hdfs/azure functions
2023-08-22 11:59:59 +00:00
Alexey Milovidov
670c879f4c
Merge pull request #53621 from amosbird/consistent_cmake_file_management
...
Consistent cmake file management
2023-08-22 14:28:04 +03:00
Robert Schulze
f2fb7365e6
Add settings for 1. size_ratio (all caches) and 2. policy (index caches)
...
1. is an expert-level setting, default is 0.5, applies only to SLRU.
Also, I noticed that we expose cache policy settings for the mark and
the uncompresed cache but not for the index mark and the index
uncompressed cache. Changed that as well, it simplifies the code a bit.
2023-08-22 11:04:29 +00:00
Robert Schulze
46b4f03669
Some renamings for more consistency
...
weight() --> sizeInBytes()
maxSize() --> maxSizeInBytes()
setMaxSize() --> setMaxSizeInBytes()
2023-08-22 10:48:03 +00:00
Antonio Andelic
e0af6e5879
Merge pull request #53644 from ClickHouse/fix-delayed-source-with-totals
...
Correctly handle totals and extremes with `DelayedSource`
2023-08-22 12:24:16 +02:00
Robert Schulze
acaa2eee58
Merge pull request #53556 from ClibMouse/feature/big-endian-UUID-correction
...
Change Big Endian-UUID to work the same as Little Endian-UUID
2023-08-22 11:57:44 +02:00
Alexey Gerasimchuck
3140958132
Added client_info validation
2023-08-22 03:52:57 +00:00
Robert Schulze
a20ceef398
Merge pull request #53447 from davvard/master
...
USearch HNSW index for ANN search
2023-08-21 23:34:26 +02:00
Robert Schulze
583d9b33f0
Merge pull request #51446 from rschu1ze/recfgable-caches
...
Runtime-reconfigurable cache sizes
2023-08-21 23:27:21 +02:00
Alexey Milovidov
316664456f
Merge pull request #53588 from kitaisreal/aarch64-neon-memequal-wide
...
AARCH64 Neon memequal wide
2023-08-21 21:11:01 +03:00
Robert Schulze
8cbf626d0f
Cosmetics
2023-08-21 14:08:44 +00:00
Antonio Andelic
c4bf151d83
Correctly handle totals and extremes with DelayedSource
2023-08-21 14:07:59 +00:00
Robert Schulze
96c8b250ce
Allow to configure cache sizes at runtime
2023-08-21 13:51:10 +00:00
Kruglov Pavel
88aee95122
Merge branch 'master' into fast-count-from-files
2023-08-21 14:46:33 +02:00
avogar
47304bf7aa
Optimize count from files in most input formats
2023-08-21 12:30:52 +00:00
Victor Krasnov
a7813260c0
Merge branch 'master' into ADQM-987
2023-08-21 14:45:13 +03:00
Yarik Briukhovetskyi
af1d23720b
Merge branch 'ClickHouse:master' into fixed_hints_db_name
2023-08-21 13:57:39 +03:00
Amos Bird
cb7d5a0f21
Get rid of unneeded include
2023-08-21 18:01:10 +08:00
Igor Nikonov
b074e44c1b
Merge pull request #53005 from ClickHouse/fix-parallel-replicas-multiply-result
...
Parallel reading from replicas over Distributed
2023-08-21 01:10:53 +02:00
Kseniia Sumarokova
404fb0588a
Merge branch 'master' into fix-cache-logical-error
2023-08-20 16:28:13 +02:00
Maksim Kita
f32effb627
AARCH64 Neon memequal wide
2023-08-20 12:45:18 +03:00
Kseniia Sumarokova
55769cd9d5
Merge branch 'master' into system-sync-cache
2023-08-20 10:39:46 +02:00
Kseniia Sumarokova
ac4f727091
Merge pull request #53273 from kssenii/impove-filecache-removal
...
Improve fs cache cleanup
2023-08-20 10:31:07 +02:00
Alexey Milovidov
e81fcfd23d
Merge pull request #53601 from ClickHouse/remove-unneeded-columns-from-logs
...
Remove unneeded columns from logs
2023-08-20 10:37:11 +03:00
Alexey Milovidov
82166f731a
Add metrics about system database
2023-08-20 05:05:54 +02:00
Alexey Milovidov
5d68f7c04d
Remove unneeded columns from logs
2023-08-20 04:11:39 +02:00
Igor Nikonov
a69ea02418
Merge remote-tracking branch 'origin/master' into fix-parallel-replicas-multiply-result
2023-08-19 21:43:25 +00:00
Kseniia Sumarokova
aa01333a63
Merge branch 'master' into impove-filecache-removal
2023-08-19 13:34:22 +04:00
Kseniia Sumarokova
aeebedfa0d
Merge branch 'master' into system-sync-cache
2023-08-19 13:32:48 +04:00
Kseniia Sumarokova
3d2fb2eced
Merge pull request #53124 from kssenii/allowed-caches-dir-for-dynamic-disks
...
Allow to restrict fs caches paths (mainly useful for dynamic disks)
2023-08-19 13:30:23 +04:00
robot-clickhouse-ci-1
75b748fc9a
Merge pull request #53572 from ClickHouse/fix-interpolate-precedence
...
Fix: interpolate expression takes source column instead of same name aliased from select expression.
2023-08-19 11:12:32 +02:00
kssenii
5382442da0
Merge remote-tracking branch 'upstream/master' into allowed-caches-dir-for-dynamic-disks
2023-08-19 08:44:36 +04:00
kssenii
247abe0a2a
Merge remote-tracking branch 'upstream/master' into system-sync-cache
2023-08-19 08:43:53 +04:00
kssenii
1a6dce3dc4
Merge remote-tracking branch 'upstream/master' into impove-filecache-removal
2023-08-19 08:42:50 +04:00
Yakov Olkhovskiy
25316a29f3
result columns should take precedence to account same name aliasing
2023-08-19 02:01:10 +00:00
Alexey Milovidov
00e2e3184b
Merge pull request #53439 from canhld94/timeout_overflow_break_subquery
...
Fix timeout_overflow_mode when having subquery in the rhs of IN
2023-08-19 02:24:42 +03:00
Alexey Milovidov
40d13975fb
Merge pull request #53548 from ClickHouse/vdimir/join_on_cond_sparse_fix
...
Fix crash in join on sparse column
2023-08-19 02:08:21 +03:00
Igor Nikonov
aebda10f7c
Merge remote-tracking branch 'origin/master' into fix-parallel-replicas-multiply-result
2023-08-18 23:00:58 +00:00