Commit Graph

11575 Commits

Author SHA1 Message Date
Alexey Milovidov
482d8ca9d8
Merge pull request #56102 from ClickHouse/coverage
Granular code coverage with introspection
2023-11-16 23:23:40 +01:00
Nikolai Kochetov
ca6de31ce5
Merge pull request #56695 from ClickHouse/table-function-input-in-subquery
Fix duplicate usage of table function input().
2023-11-16 20:48:10 +01:00
Kseniia Sumarokova
fdf5cfdec0
Update FileCacheSettings.cpp 2023-11-16 18:54:09 +01:00
kssenii
d24757bbbf Add assertions 2023-11-16 18:11:40 +01:00
Kseniia Sumarokova
a2ed756eec
Merge branch 'master' into fs-cache-improvement 2023-11-16 17:49:26 +01:00
kssenii
472cfdc86d Review fix 2023-11-16 17:47:51 +01:00
Kruglov Pavel
2062bd2f1c
Merge pull request #56707 from ClickHouse/revert-56702-revert-51823-ch_add_max_execution_time_leaf
Revert "Revert "Add a setting max_execution_time_leaf to limit the execution time on shard for distributed query""
2023-11-16 14:49:05 +01:00
alesapin
ddcfecacc2
Merge pull request #56000 from evillique/fix-replica-already-exists-storage
Fix `REPLICA_ALREADY_EXISTS` for ReplicatedMergeTree
2023-11-16 12:51:50 +01:00
Vitaly Baranov
342e6c7546
Merge pull request #56782 from vitlibar/add-config-setting-wait_dictionaries_load_at_startup
Add config setting "wait_dictionaries_load_at_startup"
2023-11-16 11:51:29 +01:00
Dmitry Novik
33cc853d61
Merge pull request #39631 from ClickHouse/parallel-window
Window function parallel evaluation
2023-11-16 11:50:16 +01:00
Alexey Milovidov
3067ca64df
Merge pull request #56573 from mkmkme/mkmkme/reload-config
Update `query_masking_rules` when reloading the config
2023-11-16 00:27:01 +01:00
Nikolay Degterinsky
57aa049fef Change table name to table UUID, fix test 2023-11-15 16:21:13 +00:00
Nikolai Kochetov
6ef5c4cafe
Merge pull request #56522 from kitaisreal/analyzer-support-explain-estimate
Analyzer support EXPLAIN ESTIMATE
2023-11-15 13:17:31 +01:00
Vitaly Baranov
5ee3bed87f Improve logs after review. 2023-11-15 12:38:17 +01:00
Vitaly Baranov
308654195c Add config setting "wait_dictionaries_load_at_startup". 2023-11-15 11:48:50 +01:00
Sema Checherinda
b9cc1580e0
Merge pull request #56367 from canhld94/ch_table_reinit_new_disk
Adding new disk to storage configuration without restart
2023-11-14 15:54:22 +01:00
Nikolai Kochetov
3096edf3ef
Merge pull request #50857 from ClickHouse/fix-analyzer-mv-scalars
Fix analyzer - insertion from select with subquery referencing insertion table should process only insertion block.
2023-11-14 13:58:38 +01:00
Nikolai Kochetov
d5907e10de Fixing tests. 2023-11-14 12:51:25 +00:00
Kseniia Sumarokova
905b75b853
Merge pull request #56541 from ClickHouse/cache-config-improvement
Cache configuration improvement
2023-11-14 13:03:34 +01:00
Mikhail Koviazin
dfdd1a761e
Move mutex from Context to SensitiveDataMasker 2023-11-14 14:03:28 +02:00
Mikhail Koviazin
9e1357dd7e
Update query_masking_rules when reloading the config
Fixes #56449
2023-11-14 14:03:28 +02:00
Kruglov Pavel
8e88bf1348 Revert "Revert "Add a setting max_execution_time_leaf to limit the execution time on shard for distributed query"" 2023-11-14 11:40:48 +00:00
Alexey Milovidov
ac9f01079a
Merge pull request #56722 from ClickHouse/remove-orphan-headers
Remove orphan header files
2023-11-14 12:03:10 +01:00
Robert Schulze
2931bbfe62
Merge pull request #56665 from rschu1ze/refactor-ast-hash-calculation
Small refactoring of AST hash calculation (follow-up to #56545)
2023-11-14 11:24:30 +01:00
Alexey Milovidov
9bf62dd622 Remove orphan header files 2023-11-14 07:43:11 +01:00
Alexey Milovidov
3ef14f6098 Merge branch 'master' of github.com:ClickHouse/ClickHouse into coverage 2023-11-14 06:08:32 +01:00
Robert Schulze
361a3ca11f
Merge pull request #56519 from rschu1ze/qc-ignore-nondeterministic-queries
Query cache: Allow to ignore non-deterministic queries
2023-11-13 21:32:44 +01:00
Alexander Tokmakov
0622379ec7
Revert "Add a setting max_execution_time_leaf to limit the execution time on shard for distributed query" 2023-11-13 21:11:07 +01:00
Nikolai Kochetov
4004248c13 Fix duplicate usage of table function input(). 2023-11-13 19:01:36 +00:00
Alexey Milovidov
c81cc3f953
Merge pull request #56660 from ClickHouse/better-ccache-2
Better use of build cache
2023-11-13 19:28:33 +01:00
Robert Schulze
d6df7d8403
Merge remote-tracking branch 'rschu1ze/master' into refactor-ast-hash-calculation 2023-11-13 15:54:21 +00:00
Robert Schulze
b899270372
Remove default value for argument 'ignore_aliases' from IAST::updateTreeHash() 2023-11-13 13:18:35 +00:00
Robert Schulze
50cd59a72b
Remove default value for argument 'ignore_aliases' from IAST::getTreeHash() 2023-11-13 10:27:38 +00:00
Robert Schulze
6ee95433f9
+ static 2023-11-13 09:53:19 +00:00
Kseniia Sumarokova
e428e4ed7a
Merge branch 'master' into cache-config-improvement 2023-11-13 10:09:58 +01:00
Alexey Milovidov
82c461031e Fix build 2023-11-13 10:09:23 +01:00
Alexey Milovidov
9a7f5ab0a1 Better use of build cache 2023-11-13 08:54:24 +01:00
Alexey Milovidov
a044c61c79 Merge branch 'master' of github.com:ClickHouse/ClickHouse into system-symbols 2023-11-13 03:27:37 +01:00
robot-ch-test-poll
0d8af2c119
Merge pull request #56545 from rschu1ze/qc-alias
Fix handling of aliases in query cache
2023-11-13 02:17:41 +01:00
Robert Schulze
bea529c9a1
Try to stabilize test results 2023-11-12 15:11:38 +00:00
Robert Schulze
91f53514d9
Incorporate review feedback 2023-11-12 15:11:38 +00:00
Robert Schulze
52c825db44
Query cache: Allow to ignore non-deterministic queries
Fixes: #56504
2023-11-12 15:11:38 +00:00
Robert Schulze
3f49e1c5ed
Merge remote-tracking branch 'rschu1ze/master' into pcg 2023-11-12 11:43:19 +00:00
Robert Schulze
90711b1b99
Fix test failures 2023-11-12 11:06:58 +00:00
Alexey Milovidov
bd78cc3445 Merge branch 'master' into system-symbols 2023-11-12 00:15:55 +01:00
Alexey Milovidov
744570f825
Merge pull request #56616 from ClickHouse/remove-dependencies
Remove dependencies
2023-11-11 09:38:55 +01:00
Alexey Milovidov
c52a91caf6 Remove dependencies 2023-11-11 06:59:20 +01:00
Alexey Milovidov
58319f08be Merge branch 'master' into system-symbols 2023-11-11 04:12:37 +01:00
Alexey Milovidov
3bec4dce8e Merge branch 'master' into remove-cpp-templates-2 2023-11-11 00:50:32 +01:00
Yakov Olkhovskiy
477c90729d Merge remote-tracking branch 'origin/master' into fix-analyzer-mv-scalars 2023-11-10 19:06:30 +00:00
Yakov Olkhovskiy
7baca92766 Merge remote-tracking branch 'origin/master' into fix-analyzer-mv-scalars 2023-11-10 14:14:22 +00:00
Robert Schulze
8ad124ef64
Fix #56258, attempt II 2023-11-10 14:03:13 +00:00
kssenii
b898e90bc1 Better 2023-11-10 14:31:00 +01:00
Nikolay Degterinsky
a6ebeb8422
Merge pull request #56484 from evillique/fix-on-cluster
Fix ON CLUSTER queries without database on initial node
2023-11-10 13:40:41 +01:00
Nikolay Degterinsky
07b2cdb614
Merge pull request #56491 from evillique/fix-alter-comment-on-cluster
Fix ALTER COMMENT queries ON CLUSTER
2023-11-10 13:35:26 +01:00
kssenii
a7fb6a30f8 Better 2023-11-10 13:29:01 +01:00
kssenii
214ac112a7 Looks fixed 2023-11-10 12:48:03 +01:00
Nikolai Kochetov
687eaeb186
Update InterpreterExplainQuery.cpp 2023-11-10 12:34:25 +01:00
Nikolai Kochetov
d233743200
Merge pull request #56531 from kitaisreal/analyzer-log-used-row-policies
Analyzer log used row policies
2023-11-10 12:26:11 +01:00
Kseniia Sumarokova
ecd98006ce
Merge pull request #56306 from ClickHouse/fix-backup-restore-flatten-nested
Fix restore from backup with `flatten_nested` and `data_type_default_nullable`
2023-11-10 11:43:17 +01:00
Kseniia Sumarokova
e48df94772
Merge pull request #56377 from ClickHouse/minor-improvements-for-s3-queue
Minor improvements for S3Queue
2023-11-10 11:28:09 +01:00
Yakov Olkhovskiy
2544a15c94 optimization, comment 2023-11-10 05:59:24 +00:00
Alexey Milovidov
7fb04acc03 Miscellaneous 2023-11-10 06:13:21 +01:00
Alexey Milovidov
e5df9de12b Merge branch 'remove-cpp-templates-2' into system-symbols 2023-11-10 05:28:45 +01:00
Alexey Milovidov
8c253b9e3e Remove C++ templates 2023-11-10 05:25:02 +01:00
Alexey Milovidov
2b7346d755 Better warning message 2023-11-09 23:38:30 +01:00
Alexey Milovidov
d86c5ba28b Better warning message 2023-11-09 23:37:18 +01:00
kssenii
c28c1ac4a2 Allow getting cache configuration from named collection 2023-11-09 18:39:16 +01:00
Maksim Kita
bf37f05ccd Analyzer log used row policies 2023-11-09 19:43:31 +03:00
Maksim Kita
6fb7d44b62 Analyzer support EXPLAIN ESTIMATE 2023-11-09 19:43:14 +03:00
kssenii
b141726ad7 Fix for data_type_default_nullable 2023-11-09 17:21:12 +01:00
kssenii
ae09b16701 Debug logging 2023-11-09 17:05:11 +01:00
kssenii
41a880e57c Review fix 2023-11-09 16:03:51 +01:00
Nikolai Kochetov
0bfa2b6975
Merge pull request #56254 from ClickHouse/aggregate-by-partition-analyzer
Properly process aliases for aggregation-by-partition optimization.
2023-11-09 12:49:25 +01:00
Nikolay Degterinsky
96f558f51a Fix ALTER COMMENT queries ON CLUSTER 2023-11-09 06:19:00 +00:00
Nikolay Degterinsky
cc0d447c52 Fix ON CLUSTER queries without local database 2023-11-08 23:30:35 +00:00
Robert Schulze
cba4810910
Simplify a little bit 2023-11-08 22:10:34 +00:00
kssenii
93e22e85d1 Better 2023-11-08 17:16:56 +01:00
kssenii
dbea50738b Merge remote-tracking branch 'origin/master' into fs-cache-improvement 2023-11-08 11:53:54 +01:00
Robert Schulze
38c76eb709
Merge remote-tracking branch 'rschu1ze/master' into pcg 2023-11-08 09:43:27 +00:00
flynn
468d5493fa Merge branch 'master' of github.com:ClickHouse/ClickHouse into alter 2023-11-08 07:31:23 +00:00
Robert Schulze
e46dbcb2f1
Use pcg/randomSeed() random generator/seed instead of std::mt19937/std::random_device 2023-11-07 18:54:50 +00:00
kssenii
9178fd4ad1 Fix case with replicated database 2023-11-07 16:02:51 +01:00
vdimir
43bf718318
Fix crash in filterPushDown 2023-11-07 09:44:14 +00:00
Duc Canh Le
1fa6130072 small refactor
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2023-11-07 01:27:53 +00:00
Robert Schulze
5cfcf98d4a
Merge pull request #56277 from rschu1ze/show-columns-connection-type
Make type names in `SHOW COLUMNS` dependent on connection type
2023-11-06 16:24:27 +01:00
kssenii
f2c0434c4d Merge remote-tracking branch 'origin/master' into minor-improvements-for-s3-queue 2023-11-06 15:51:11 +01:00
kssenii
da21413354 Better shutdown 2023-11-06 15:47:57 +01:00
Alexander Tokmakov
eba52b318d
Merge pull request #56272 from ClickHouse/rdb_fix_rare_logical_error
Fix rare logical error in Replicated database
2023-11-06 14:14:55 +01:00
Duc Canh Le
4c21ba7b6f tables auto initialize new disks without restart
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2023-11-06 10:26:48 +00:00
Robert Schulze
049c811a38
Make type names in SHOW COLUMNS dependent only on connection type 2023-11-05 21:20:20 +00:00
flynn
cc5179078c remove unused code
Fix
2023-11-05 02:30:10 +00:00
Alexey Milovidov
cd94d02455 Merge branch 'master' into coverage 2023-11-04 21:49:59 +01:00
flynn
83689c2a04 Support create and materialized index in the same alter query 2023-11-04 14:35:39 +00:00
Nikolay Degterinsky
35d785592b
Merge pull request #56232 from evillique/fix-startup-crash
Fix a crash during table loading on startup
2023-11-03 23:28:16 +01:00
Dmitry Novik
23564148f9 Merge remote-tracking branch 'origin/master' into parallel-window 2023-11-03 17:53:51 +00:00
kssenii
ea5796fcb6 Fix 2023-11-03 16:46:55 +01:00
Kruglov Pavel
81b1ca22bb
Merge pull request #51823 from canhld94/ch_add_max_execution_time_leaf
Add a setting max_execution_time_leaf to limit the execution time on shard for distributed query
2023-11-03 13:31:15 +01:00
Nikolai Kochetov
8707b75ad8
Merge pull request #56274 from ClickHouse/fix-union-with-view
Fix incomplete query result for UNION in view() function.
2023-11-03 12:45:58 +01:00
vdimir
55a1baf029
Merge pull request #56022 from ClickHouse/vdimir/check_all_tables
Add CHECK query for all the tables
2023-11-03 10:10:42 +01:00