Yatsishin Ilya
3bd9c57a8c
allow to ignore CREATE INDEX query for better SQL syntax compatibility
2023-07-12 09:29:36 +00:00
Amos Bird
52246ab5b5
Ignore setting constraints for projection ASTs
2023-07-12 10:34:36 +08:00
Alexey Gerasimchuck
800807c8a2
Merge branch 'master' into ADQM-970
2023-07-11 16:02:31 +10:00
JackyWoo
063eebc16b
fix clang-tidy checking
2023-07-11 12:59:34 +08:00
Dmitry Kardymon
09ba975ffc
Merge remote-tracking branch 'origin/master' into ADQM-940
2023-07-10 13:32:29 +00:00
JackyWoo
8004f37e97
rewrite uniq to count in new analyzer
2023-07-10 17:16:41 +08:00
JackyWoo
ca6905b308
rewrite support alias
2023-07-10 17:16:41 +08:00
JackyWoo
0dc1fdd67f
add some comments
2023-07-10 17:16:41 +08:00
JackyWoo
bcfc0db9f1
add settiings
2023-07-10 17:16:41 +08:00
JackyWoo
b2522d81c4
rewrite uniq to count
2023-07-10 17:16:41 +08:00
lgbo
344bc05156
wip: reserve hash table size ( #50875 )
2023-07-10 10:44:01 +02:00
Raúl Marín
dbdfc07790
Merge branch 'master' into async_to_query_log
2023-07-10 10:32:56 +02:00
Alexey Gerasimchuck
2c8564e45e
Merge branch 'master' into ADQM-970
2023-07-10 15:53:08 +10:00
Alexey Milovidov
dd80bdb859
Merge pull request #51993 from azat/symbol-index-cleanup
...
Cleanup SymbolIndex after reload got removed
2023-07-10 00:58:16 +03:00
Han Fei
4f48d92db4
Merge branch 'master' into revert-51390-revert-50951
2023-07-09 15:16:50 +02:00
Azat Khuzhin
d520413454
Cleanup SymbolIndex after reload got removed
...
Remove MultiVersion for SymbolIndex structure since after #51873 it is
useless.
Follow-up for: #51873
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-09 09:25:11 +02:00
Alexey Milovidov
4c20d482ba
Merge branch 'master' into is_obsolete
2023-07-09 08:49:00 +03:00
Alexey Milovidov
3d4800995f
Merge pull request #49732 from nickitat/impr_prefetch
...
Improve reading with prefetch
2023-07-09 06:10:58 +03:00
Alexey Milovidov
780a54afb4
Merge pull request #51545 from azat/dist/fix-selector-SIGSEGV
...
Fix SIGSEGV for clusters with zero weight across all shards (fixes INSERT INTO FUNCTION clusterAllReplicas())
2023-07-09 05:31:39 +03:00
Alexey Milovidov
0440dde315
Merge pull request #51873 from ClickHouse/remove-useless-system-query
...
Remove useless code
2023-07-08 21:11:41 +03:00
Alexey Milovidov
b44c582c40
Merge pull request #51951 from ClickHouse/more_logs_on_shutdown
...
Better logs on shutdown
2023-07-08 19:51:38 +03:00
Alexey Milovidov
b2fb5b20c8
Merge branch 'master' into dist/fix-selector-SIGSEGV
2023-07-08 19:32:59 +03:00
Alexey Milovidov
58ee566278
Merge pull request #51964 from ClickHouse/allow-parametric-udfs
...
Allow parametric UDFs
2023-07-08 19:12:48 +03:00
Alexey Milovidov
b958499c27
Merge pull request #51458 from ClickHouse/sunny19930321-fix-attach-table-function-name-normalizer
...
Merging #36384
2023-07-08 10:37:11 +03:00
Alexey Milovidov
0b0caec9c4
Update Context.cpp
2023-07-08 07:51:17 +03:00
Alexey Milovidov
0512169e19
Merge branch 'master' into remove-useless-system-query
2023-07-08 02:46:41 +03:00
Alexey Milovidov
933a92e176
Merge branch 'master' into remove-useless-system-query
2023-07-08 01:45:19 +02:00
Alexey Milovidov
25aa6fcff9
Merge pull request #51947 from ClickHouse/fix-50669
...
Do not remove inputs after ActionsDAG::merge
2023-07-08 02:42:14 +03:00
Alexey Milovidov
03d2606eb9
Merge pull request #49342 from ClickHouse/disks-space-improvement
...
Slight improvement in Disks interface
2023-07-08 02:24:57 +03:00
Alexey Milovidov
e56a5bbd8b
Merge pull request #51865 from ClickHouse/remove-useless-logs
...
Remove useless logs
2023-07-08 02:23:00 +03:00
Alexey Milovidov
a96874850e
Revert "Merge pull request #48115 from save-my-heart/throw_non_parametric_function"
...
This reverts commit 5f930aeb26
, reversing
changes made to 35572321a1
.
2023-07-08 00:55:57 +02:00
Alexey Milovidov
520195f7ef
Merge pull request #51917 from ClickHouse/revert-system-drop-filesystem-cache-by-key
...
Revert system drop filesystem cache by key
2023-07-07 19:44:28 +03:00
Alexander Tokmakov
93b76c9321
better logs on shutdown
2023-07-07 18:40:43 +02:00
Alexander Tokmakov
152a4b9d4c
Merge pull request #51908 from ClickHouse/fix_deadlock_on_catalog_shutdown
...
Fix deadlock on DatabaseCatalog shutdown
2023-07-07 19:06:34 +03:00
Nikolai Kochetov
82cbc4e6e3
Merge branch 'master' into fix-50669
2023-07-07 16:35:50 +02:00
Nikolai Kochetov
ee33000fc2
Fixing tests.
2023-07-07 14:08:54 +00:00
Nikolai Kochetov
fa7fe5277c
Better comment.
2023-07-07 12:25:13 +00:00
Nikolai Kochetov
1e0d97c282
Do not remove inputs after ActionsDAG::merge
2023-07-07 12:19:10 +00:00
Dmitry Kardymon
3fcfbb1038
Merge remote-tracking branch 'clickhouse/master' into ADQM-940
2023-07-07 15:09:41 +03:00
Alexey Milovidov
03c4a6e26c
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer
2023-07-07 13:45:30 +03:00
Alexey Milovidov
7820876f2d
Merge branch 'master' into remove-useless-logs
2023-07-07 13:44:04 +03:00
Alexey Milovidov
4a6a6fc4f2
Merge branch 'master' into disks-space-improvement
2023-07-07 13:43:04 +03:00
Alexey Milovidov
b5f9a170eb
Merge pull request #51848 from ClickHouse/many-fixes-3
...
Many fixes [3]
2023-07-07 13:29:49 +03:00
Nikolay Degterinsky
e98d136243
Merge branch 'master' into headers-blacklist
2023-07-07 04:44:06 +02:00
Alexey Milovidov
7cece62d26
Revert "Merge pull request #51547 from kssenii/more-flexible-drop-cache"
...
This reverts commit 2ce7bcaa3d
, reversing
changes made to e897207cd5
.
2023-07-07 04:07:19 +02:00
Alexey Milovidov
f0cc90a7fb
Revert "Merge pull request #51822 from kssenii/minor-changes"
...
This reverts commit 5ac85f4fa8
, reversing
changes made to 376c903da9
.
2023-07-07 04:07:03 +02:00
Alexander Tokmakov
fde44fe9f0
Merge branch 'master' into fix_deadlock_on_catalog_shutdown
2023-07-07 02:59:29 +03:00
Alexander Tokmakov
fc19e74ba9
fix deadlock on DatabaseCatalog shutdown
2023-07-07 01:12:17 +02:00
Alexander Tokmakov
fdbd59ec6c
Merge pull request #51135 from ClickHouse/fix_trash_in_disks
...
Try to fix some trash in Disks and part moves
2023-07-07 02:02:17 +03:00
Mike Kot
8b6376005a
"reconfig" support for CH Keeper
2023-07-07 00:20:54 +03:00
robot-clickhouse-ci-2
99c64971bd
Merge pull request #51737 from ClickHouse/fix_logical_error_grace_hash_join
...
Fix: logical error in grace hash join
2023-07-06 19:27:03 +02:00
Igor Nikonov
83af43b8ba
Merge pull request #51852 from ClickHouse/fix-misleading-naming-in-joins
...
Change misleading name in joins: addJoinedBlock -> addBlockToJoin
2023-07-06 17:27:26 +02:00
Igor Nikonov
7c0e50c4d5
Merge branch 'master' into fix-misleading-naming-in-joins
2023-07-06 17:26:38 +02:00
Robert Schulze
9a295eca46
Incorporate review feedback
2023-07-06 15:03:15 +00:00
Alexey Milovidov
6d8434c702
Merge branch 'master' into many-fixes-3
2023-07-06 16:17:32 +02:00
Raúl Marín
bd779c8066
Merge branch 'master' into async_to_query_log
2023-07-06 15:46:27 +02:00
Nikita Taranov
c23e29d6aa
don't account session's memory in thread/user mem tracker
2023-07-06 14:41:03 +02:00
Alexander Sapin
30bcc73c63
Merge branch 'master' into add_delay_for_replicated
2023-07-06 14:29:15 +02:00
Alexander Tokmakov
52a26a6653
Merge pull request #51708 from velavokr/velavokr-issue-51292
...
#51292 added default_temporary_table_engine setting
2023-07-06 15:18:14 +03:00
Kseniia Sumarokova
605e833576
Merge branch 'master' into minor-changes
2023-07-06 12:09:01 +02:00
Smita Kulkarni
2d3a148ffd
Added option to check if container exists before attempting to read/create it, added this flag for all table functions, only used in azureBlobStorage
2023-07-06 10:56:07 +02:00
Alexey Milovidov
d59f68b600
Remove useless code
2023-07-06 04:55:46 +02:00
flynn
c9afcd781e
Merge branch 'master' into schema
2023-07-06 10:31:53 +08:00
Alexey Milovidov
2e454ef89e
Merge branch 'master' into disks-space-improvement
2023-07-06 03:58:45 +03:00
Alexey Milovidov
5452f2106f
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer
2023-07-06 03:50:18 +03:00
Alexey Milovidov
db14b2c54f
Remove useless logs
2023-07-06 02:16:38 +02:00
Alexey Milovidov
b75a83d32d
Merge remote-tracking branch 'origin/vdimir/anti_join_logical_error_51312' into many-fixes-3
2023-07-06 01:21:38 +02:00
Igor Nikonov
023df888d3
Merge branch 'master' into fix_logical_error_grace_hash_join
2023-07-05 21:38:36 +02:00
alesapin
66484a4dd0
Merge branch 'master' into add_delay_for_replicated
2023-07-05 20:03:34 +02:00
Igor Nikonov
bf190381f5
addJoinedBlock -> addBlockToJoin
2023-07-05 17:03:18 +00:00
alesapin
baee73fd96
Make shutdown of replicated tables softer
2023-07-05 18:11:25 +02:00
Robert Schulze
e37c92ee6d
Merge branch 'master' into show-index-better-mysql-compat
2023-07-05 13:32:19 +02:00
flynn
7c3c48c8c4
Fix use_structure_from_insertion_table_in_table_functions does not work for materialized and alias columns
2023-07-05 11:24:22 +00:00
kssenii
e6422f8144
Delete comment, rename variable
2023-07-05 13:08:11 +02:00
Kseniia Sumarokova
244b30d659
Merge branch 'master' into resubmit-51149
2023-07-05 12:12:21 +02:00
Han Fei
2e5643cc41
use UTC LUT
2023-07-05 11:57:18 +02:00
Kseniia Sumarokova
f2d942fbb5
Merge branch 'master' into more-flexible-drop-cache
2023-07-05 11:43:57 +02:00
Han Fei
9544c035b9
Revert "refine"
...
This reverts commit 7f1ee68c87
.
2023-07-05 11:15:31 +02:00
Robert Schulze
e3796e3054
Update ORDER BY for more stable test results
2023-07-05 09:03:23 +00:00
Alexey Milovidov
024248ea5e
Merge branch 'master' into vdimir/anti_join_logical_error_51312
2023-07-05 02:27:03 +03:00
Alexey Milovidov
9183d073af
Merge branch 'master' into remove-perf-test-duplicate-order-by-and-distinct
2023-07-05 01:57:39 +03:00
Alexey Milovidov
90cffd7f0d
Merge branch 'master' into vdimir/asof_join_no_syntax_pushdown
2023-07-05 01:41:06 +03:00
Alexey Gerasimchuck
2b77196a47
Merge branch 'master' into ADQM-970
2023-07-05 07:44:31 +10:00
Han Fei
7f1ee68c87
refine
2023-07-04 23:08:54 +02:00
Robert Schulze
f9a3856715
Poor man's tuple parsing
2023-07-04 21:02:30 +00:00
Alexey Milovidov
31f68c2c67
Merge branch 'master' into deprecate-metadata-cache
2023-07-04 22:28:14 +02:00
Alexey Milovidov
4e8405cbda
Merge branch 'master' into disks-space-improvement
2023-07-04 22:00:40 +02:00
Robert Schulze
966e93b908
Point to existing system tables for alternatives
2023-07-04 19:22:08 +00:00
Robert Schulze
82e38f7736
Merge branch 'master' into show-index-better-mysql-compat
2023-07-04 20:36:22 +02:00
Alexey Milovidov
81594cc457
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer
2023-07-04 20:20:14 +03:00
Robert Schulze
b71043b2c9
Fix field 'non_unique'
2023-07-04 16:57:31 +00:00
Robert Schulze
5c463838b7
Improve compatibility of 'cardinality' field
2023-07-04 16:45:10 +00:00
Robert Schulze
e9e3f87ed2
SHOW INDEX: Make fields INDEX_TYPE more compatible with MySQL
2023-07-04 16:21:55 +00:00
Robert Schulze
047060f9a4
SHOW INDEX: Make fields COMMENT and INDEX_COMMENT more compatible with MySQL
2023-07-04 16:18:11 +00:00
Igor Nikonov
3155f58941
Merge remote-tracking branch 'origin/master' into fix_logical_error_grace_hash_join
2023-07-04 15:47:04 +00:00
Igor Nikonov
1c2233b693
Fix style check
2023-07-04 15:46:40 +00:00
Han Fei
ca6930eb11
Revert "Revert "Merge pull request #50951 from ZhiguoZh/20230607-toyear-fix""
2023-07-04 17:38:53 +02:00
flynn
6417e3dfdf
Merge branch 'master' into is_obsolete
2023-07-04 22:42:52 +08:00
kssenii
c979113ea5
Fix
2023-07-04 16:13:33 +02:00
Raúl Marín
7262433068
Merge branch 'master' into async_to_query_log
2023-07-04 12:59:04 +02:00
Igor Nikonov
30be0ab4a8
Fix: unexpected number of buckets
...
Number of buckets could become inconsistent
if exception was thrown during new buckets creation
2023-07-04 09:00:53 +00:00
flynn
69d20c0458
Merge branch 'master' into is_obsolete
2023-07-04 16:46:25 +08:00
Igor Nikonov
f86c5edfc4
Remove debug tracing
2023-07-04 07:55:13 +00:00
Alexey Gerasimchuck
49907818e1
Added waiting before crash log store finish
2023-07-04 02:32:08 +00:00
Alexey Milovidov
03b8c28826
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer
2023-07-04 01:28:05 +03:00
Igor Nikonov
6742432fd2
Number of bucket always increased by 2, so there is no reason provide it as parameter
2023-07-03 21:58:56 +00:00
velavokr
dcc0076ded
fixed comment
2023-07-03 19:10:39 +03:00
velavokr
ae87d43f88
test fixes
2023-07-03 19:10:39 +03:00
velavokr
2f85d048ae
bugfix
2023-07-03 19:10:39 +03:00
velavokr
66227ce8d3
#51292 added default_temporary_table_engine setting
2023-07-03 19:10:39 +03:00
Igor Nikonov
ccda3c3a6e
Try to fix logical error #51703
2023-07-03 15:03:40 +00:00
Nikolay Degterinsky
82e0237e67
Merge branch 'master' into headers-blacklist
2023-07-03 16:54:50 +02:00
Kseniia Sumarokova
37dcc36c50
Merge branch 'master' into min-file-segment-size
2023-07-03 13:52:28 +02:00
kssenii
2feb2c0f70
Fix style check
2023-07-03 13:47:08 +02:00
Kseniia Sumarokova
19508a01a5
Merge branch 'master' into resubmit-51149
2023-07-03 13:12:53 +02:00
kssenii
c4fb532f93
Better
2023-07-03 13:02:10 +02:00
Antonio Andelic
eba60dd81e
Merge branch 'master' into keeper-with-disks
2023-07-01 20:59:16 +02:00
Kseniia Sumarokova
b049f70b0e
Merge branch 'master' into more-flexible-drop-cache
2023-07-01 17:38:25 +02:00
kssenii
4f10a65a12
Fix
2023-07-01 15:09:23 +02:00
Kseniia Sumarokova
9f5bd8f853
Merge branch 'master' into cache-add-checks
2023-07-01 13:06:18 +02:00
Nikolay Degterinsky
8dfa773f44
Merge branch 'master' into headers-blacklist
2023-06-30 23:40:17 +02:00
kssenii
87d2447570
Merge remote-tracking branch 'upstream/master' into more-flexible-drop-cache
2023-06-30 18:22:45 +02:00
Yakov Olkhovskiy
023e40535a
Merge pull request #51349 from ClickHouse/ft-thread-scheduling-stacktrace
...
Collect stack traces from job's scheduling and print along with exception's stack trace.
2023-06-30 11:01:58 -04:00
kssenii
cc7493f076
Merge remote-tracking branch 'upstream/master' into min-file-segment-size
2023-06-30 16:37:11 +02:00
Antonio Andelic
2058b1346e
Merge branch 'master' into keeper-with-disks
2023-06-30 13:22:33 +00:00
kssenii
58f2919971
Fix
2023-06-30 13:26:40 +02:00
Kseniia Sumarokova
f6742f61cb
Merge branch 'master' into fix-logical-error-read-unexpected-size
2023-06-30 13:02:49 +02:00
Alexey Milovidov
2a7ae8f622
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer
2023-06-30 12:16:49 +03:00
flynn
be2bd989db
Merge branch 'master' into is_obsolete
2023-06-30 10:35:04 +08:00
Ilya Yatsishin
c0e52bf33c
Merge branch 'master' into vdimir/asof_join_no_syntax_pushdown
2023-06-30 01:06:39 +02:00
Alexey Milovidov
b6a37fbf18
Merge branch 'master' into many-fixes-2
2023-06-29 22:36:33 +03:00
kssenii
7a98e2b1cd
Merge remote-tracking branch 'upstream/master' into min-file-segment-size
2023-06-29 19:36:13 +02:00
kssenii
f12c257dc9
Fix
2023-06-29 19:25:46 +02:00
vdimir
5b21a58df4
Do not apply PredicateExpressionsOptimizer for ASOF/ANTI join
2023-06-29 17:12:55 +00:00
Kseniia Sumarokova
4b9fa5bab3
Merge branch 'master' into minor-fix-cache
2023-06-29 17:06:08 +02:00
Kseniia Sumarokova
2a4cfeb01b
Add comment
2023-06-29 15:27:40 +02:00
vdimir
4581526af7
Remove has_null_map template parameter from hash join
2023-06-29 13:24:55 +00:00
vdimir
c43acc6f90
better fix
2023-06-29 13:19:04 +00:00
vdimir
f1d6954637
Fix logical error in ANTI join with NULL
2023-06-29 13:09:55 +00:00
kssenii
b56d1602e8
Invalidate opened file cache when removing file
2023-06-29 14:25:13 +02:00
kssenii
306ca66eb4
Fix
2023-06-29 13:11:22 +02:00
Alexey Milovidov
efb901245b
Merge branch 'master' into ft-thread-scheduling-stacktrace
2023-06-29 11:38:54 +03:00
Igor Nikonov
def0adf8f4
Merge branch 'master' into many-fixes-2
2023-06-29 10:33:59 +02:00
Alexey Milovidov
a4d7e48bc9
Merge branch 'master' into resubmit-51149
2023-06-29 11:07:01 +03:00
Nikolai Kochetov
e78f3389b7
Merge branch 'master' into fix-creating-set-for-storage-fuzz
2023-06-28 19:27:50 +02:00
Azat Khuzhin
2a12fb4246
Initialize weight/slot_to_shards for cluster not from xml correcty
...
This is:
- clusterAllReplicas
- copier
- some distributed cases
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-28 19:07:14 +02:00
Azat Khuzhin
c9adfe1efd
Prohibit cluster with zero weight across all shards
...
Before it leads to SIGSEGV, due to either divizion by zero or an
a check in libdivide.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-28 19:07:14 +02:00
Azat Khuzhin
7f8ad3d5cb
Convert assert to LOGICAL_ERROR in createBlockSelector() for zero weight
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-28 19:06:31 +02:00
kssenii
1d78bafa82
Flexible drop cache
2023-06-28 18:44:47 +02:00
kssenii
15f64a7cb9
Add some checks
2023-06-28 15:27:10 +02:00
Nikolai Kochetov
a029105fd5
Fix duplicate storage set logical error.
2023-06-28 10:35:19 +00:00
Alexey Milovidov
34f0ec0ab3
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer
2023-06-28 13:23:36 +03:00
Kseniia Sumarokova
0c1f24db77
Add a comment ( #51517 )
...
* Add a comment
* Update DatabaseCatalog.cpp
2023-06-28 13:13:16 +03:00
vdimir
e2241b8c7c
Merge branch 'grace_hash_join_debug_2306' into many-fixes-2
2023-06-28 09:35:20 +00:00
Dmitry Kardymon
a2c9e26b23
Add peak memory usage (prototype)
2023-06-28 09:31:44 +00:00
robot-clickhouse-ci-1
73fb47e81f
Merge pull request #51479 from kssenii/delay-shutdown-of-temporary-database
...
Delay shutdown of system and temporary databases
2023-06-28 06:20:46 +02:00
Yakov Olkhovskiy
6e769237a7
added setting 'enable_job_stack_trace', default is off
2023-06-28 01:39:06 +00:00
Alexey Milovidov
a00b785291
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer
2023-06-27 22:53:38 +03:00
Nikita Mikhaylov
c22b1d3612
Merge pull request #51485 from kssenii/fix-flaky-unit-test
...
Fix flaky unit test
2023-06-27 18:46:12 +02:00
kssenii
b8866e0128
Fix flaky unit test
2023-06-27 16:11:51 +02:00
kssenii
46a69829ff
Delay shutdown of system and temporary databases
2023-06-27 15:05:15 +02:00
Nikita Mikhaylov
dc0dc227e0
Merge pull request #51455 from ClickHouse/many-fixes
...
Many fixes
2023-06-27 13:57:17 +02:00
Raúl Marín
1a615586d7
Merge branch 'master' into async_to_query_log
2023-06-27 13:12:13 +02:00
Kseniia Sumarokova
6b06cbe106
Merge branch 'master' into add-checks-for-intersecting-ranges
2023-06-27 12:55:26 +02:00
Vitaly Baranov
1ae51ffa7b
Merge branch 'master' into fix-using-locks-in-process-list
2023-06-27 12:19:02 +02:00
Alexey Milovidov
8610ff828e
Merge branch 'fix-attach-table-function-name-normalizer' of github.com:sunny19930321/ClickHouse into sunny19930321-fix-attach-table-function-name-normalizer
2023-06-27 07:58:42 +02:00
Alexey Milovidov
b5635887c3
Merge remote-tracking branch 'origin/refactor-subqueries-for-in' into many-fixes
2023-06-27 05:39:44 +02:00
Alexey Milovidov
19c054ea21
Merge branch 'fix-using-locks-in-process-list' of github.com:vitlibar/ClickHouse into many-fixes
2023-06-27 05:37:05 +02:00
Alexey Milovidov
ccbcbe3349
Merge remote-tracking branch 'origin/tavplubix-patch-6' into many-fixes
2023-06-27 05:33:29 +02:00
Alexey Milovidov
4615aaacb6
Merge branch 'revert-50951' into many-fixes
2023-06-27 05:23:46 +02:00
Vitaly Baranov
c01d5ed004
Fix after review.
2023-06-27 00:27:51 +02:00
kssenii
72e407eb06
Better
2023-06-26 20:40:18 +02:00
kssenii
01607f0b32
Add check for intersecting ranges
2023-06-26 20:21:25 +02:00
Igor Nikonov
4ea9fccbf1
Merge remote-tracking branch 'origin/master' into remove-perf-test-duplicate-order-by-and-distinct
2023-06-26 18:00:20 +00:00
Kseniia Sumarokova
4da82d10d0
Update gtest_lru_file_cache.cpp
2023-06-26 17:57:46 +02:00
Raúl Marín
11236b3ce7
Merge remote-tracking branch 'blessed/master' into async_to_query_log
2023-06-26 17:13:19 +02:00
Robert Schulze
fae545ae5c
Merge pull request #51132 from rschu1ze/inefficient-query-cache
...
Fix ineffective query cache for SELECTs with subqueries
2023-06-26 16:54:54 +02:00
lgbo-ustc
179a7ce202
debug
2023-06-26 20:43:19 +08:00
kssenii
7d8d19d800
Add test
2023-06-26 14:31:05 +02:00
Raúl Marín
2d860302d9
Merge branch 'master' into async_to_query_log
2023-06-26 13:57:04 +02:00
Alexander Tokmakov
e92035072b
Update MergeTreeTransaction.cpp
2023-06-26 13:44:09 +03:00
kssenii
1f60a6ed4e
Fix
2023-06-26 12:34:11 +02:00
Alexey Milovidov
b8e6bd3299
Merge branch 'master' into refactor-subqueries-for-in
2023-06-26 06:05:12 +03:00
Alexey Milovidov
477b707ff1
Revert "Merge pull request #50951 from ZhiguoZh/20230607-toyear-fix"
...
This reverts commit 6bbd0d144d
, reversing
changes made to 74cb79769b
.
2023-06-26 02:02:24 +02:00
flynn
0243542587
Merge branch 'master' into is_obsolete
2023-06-25 16:54:54 +08:00
flynn
57ca8b60e0
Fix
2023-06-24 03:06:20 +00:00
robot-clickhouse-ci-1
c66ff09627
Merge pull request #51253 from kssenii/delete-non-evictable-feature
...
Delete feature do_not_evict_index_and_mark_files in fs cache
2023-06-24 02:37:52 +02:00
Vitaly Baranov
fad07bf4b8
Fix using locks in ProcessList.
2023-06-23 23:49:51 +02:00
Alexey Milovidov
305e3d1f66
Merge pull request #50704 from rschu1ze/qc-materialize-query
...
Query Cache: Try to fix bad cast from ColumnConst to ColumnVector<char8_t>
2023-06-23 18:01:00 +03:00
Alexey Milovidov
945a119fc6
Merge pull request #51287 from ClickHouse/remove-live-view-alter
...
Remove ALTER of LIVE VIEW
2023-06-23 16:44:53 +03:00
Han Fei
3a697544c9
Merge pull request #51272 from ClickHouse/Update_check_for_parameterized_view
...
Updated check for parameterized view
2023-06-23 12:57:07 +02:00
kssenii
fbc1a80ebe
Merge remote-tracking branch 'upstream/master' into min-file-segment-size
2023-06-23 12:52:29 +02:00
Nikolai Kochetov
e44b544ac0
Merge pull request #51301 from ClickHouse/fix-fuzz-actions-dag
...
Fix fuzzer failure in ActionsDAG
2023-06-23 12:30:34 +02:00
Nikolai Kochetov
efcf8d6389
Merge pull request #51266 from kssenii/less-loggers
...
Avoid too many calls to Poco::Logger::get
2023-06-23 09:56:26 +02:00
Alexey Milovidov
59e5467adb
Update tests
2023-06-23 07:58:18 +02:00
Alexey Milovidov
c958a1a77b
Fix fuzzer failure in ActionsDAG
2023-06-23 01:23:25 +02:00
Alexey Milovidov
550784e6a0
Support clang-17
2023-06-23 01:08:51 +02:00
Nikolai Kochetov
f226397fa3
Fix check.
2023-06-22 19:21:08 +00:00
Alexey Milovidov
369ad0aea3
Remove ALTER of LIVE VIEW
2023-06-22 20:32:29 +02:00
Alexander Tokmakov
3afb0933a5
Merge branch 'master' into fix_trash_in_disks
2023-06-22 20:27:57 +02:00
Nikolai Kochetov
75391afbd8
Fix typo.
2023-06-22 18:16:48 +00:00
Nikolai Kochetov
ba4b5c3350
Fix stupid bug.
2023-06-22 18:15:16 +00:00
kssenii
dd49f4a565
Remove key
2023-06-22 17:07:52 +02:00
Nikolai Kochetov
22e49748b5
Cleanup.
2023-06-22 14:23:04 +00:00
Smita Kulkarni
3c7d749d2c
Added check of StorageView before checking parameterized view to fix seg fault when materialized view is used with brackets
2023-06-22 14:47:04 +02:00
Robert Schulze
a9f1393862
Make the fix more minimal
2023-06-22 11:46:27 +00:00
Robert Schulze
a1c131c0da
Query Cache: Try to fix bad cast from ColumnConst to ColumnVector<char8_t>
...
Resolves #49445
The query cache buffers query result chunks and eventually squashes
them before insertion into the cache. Here, squashing failed because not
all chunks were of the same type. Looks like chunks of the same
underlying type (e.g. UInt8) in a query result be of mixed const, sparse
or low-cardinality type. Fix this by always materializing the data
regardless of the compression. Strange thing is that the failing query
in the stress test (*) isn't able to reproduce the bug, and I haven't
managed to trigger the issue otherwise, so no test case is added.
(*) SELECT 1 UNION ALL SELECT 1 INTERSECT SELECT 1
E.g. here: https://s3.amazonaws.com/clickhouse-test-reports/0/18817517ed6f8849e3d979e10fbb273e0edf0eaa/stress_test__debug_/fatal_messages.txt
2023-06-22 11:46:22 +00:00
kssenii
8ff8125ebd
Better
2023-06-22 13:25:47 +02:00
kssenii
4fbf52f2de
Less loggers
2023-06-22 13:08:53 +02:00
Kseniia Sumarokova
b7ef782335
Merge pull request #51242 from kssenii/fix-possible-incorrect-elements-limit
...
Fix sometimes incorrect current_elements count in fs cache
2023-06-22 12:51:43 +02:00
Nikolai Kochetov
a940031878
Merge branch 'master' into refactor-subqueries-for-in
2023-06-22 12:18:48 +02:00
Alexey Milovidov
a050b9e9d9
Update FileCache.cpp
2023-06-22 01:28:52 +03:00
Igor Nikonov
e3b43c2b88
Move instead of copy
2023-06-21 21:54:44 +00:00
Igor Nikonov
ad0677147f
Trying slightly improve eviction path
...
+ less copying of shared pointers
+ less indirection in overflow check
2023-06-21 21:48:58 +00:00
Nikolai Kochetov
0af028ab3f
Refactor a bit more.
2023-06-21 20:55:27 +00:00
Alexander Tokmakov
b7dd334d55
Merge branch 'master' into fix_trash_in_disks
2023-06-21 22:23:14 +03:00
Sema Checherinda
01de36f1fa
Merge pull request #50395 from CheSema/better-log
...
require `finalize()` call before d-tor for all writes buffers
2023-06-21 21:12:02 +02:00
kssenii
78ea4feca0
Merge remote-tracking branch 'upstream/master' into delete-non-evictable-feature
2023-06-21 20:52:08 +02:00
kssenii
9aa4647f4f
Delete feature
2023-06-21 20:48:12 +02:00
Kseniia Sumarokova
45d7f39566
Merge pull request #51222 from ClickHouse/kssenii-patch-7
...
Disable cache setting do_not_evict_index_and_mark_files
2023-06-21 20:17:33 +02:00
Anton Popov
022b85ba0b
Merge pull request #51164 from CurtizJ/better-check-part-with-cache
...
Better checking of data parts on disks with filesystem cache
2023-06-21 20:08:53 +02:00
kssenii
38466169c7
Better
2023-06-21 20:07:45 +02:00
kssenii
3ce17fd570
Fix log message
2023-06-21 18:30:46 +02:00
kssenii
509a50f651
Merge remote-tracking branch 'origin/fix-possible-incorrect-elements-limit' into fix-possible-incorrect-elements-limit
2023-06-21 18:29:16 +02:00
kssenii
b007c9f194
Review comments
2023-06-21 18:28:14 +02:00
Kseniia Sumarokova
d18da7098a
Update LRUFileCachePriority.cpp
2023-06-21 17:25:09 +02:00
kssenii
b723f9e7bf
Fix sometimes not correct current_elements_num
2023-06-21 16:45:52 +02:00
Kseniia Sumarokova
5c38231a14
One more profile event for fs cache ( #51223 )
2023-06-21 15:18:25 +02:00
Alexander Tokmakov
318ac807c7
Merge branch 'master' into fix_trash_in_disks
2023-06-21 14:04:01 +02:00
Robert Schulze
dcfcbd8345
Merge remote-tracking branch 'rschu1ze/master' into inefficient-query-cache
2023-06-21 09:23:31 +00:00
Kseniia Sumarokova
b60520ec55
Disable cache setting do_not_evict_index_and_mark_files
2023-06-21 11:15:55 +02:00
Robert Schulze
06e8590c8e
Merge pull request #50775 from rschu1ze/non-experimental-qpl-deflate
...
Mark QPL_DEFLATE non-experimental but default: off-by-default
2023-06-21 10:43:16 +02:00
Kseniia Sumarokova
e2a4526108
Revert bad change
2023-06-21 00:35:01 +02:00
kssenii
0efaecab51
Revert "Merge pull request #51149 from ClickHouse/revert-48821-localfilefunction"
...
This reverts commit a09e6bbb8e
, reversing
changes made to ce38d64c5a
.
2023-06-21 00:29:46 +02:00
kssenii
b8085dfa0e
Fix bad merge
2023-06-21 00:20:40 +02:00
Nikolai Kochetov
266e81702a
Fixing clang-tidy
2023-06-20 19:48:39 +00:00
Nikolai Kochetov
c0b1d7f4f2
Fixing 01774_tuple_null_in
2023-06-20 19:12:22 +00:00
Sema Checherinda
9b0c3359cf
Merge branch 'master' into better-log
2023-06-20 20:37:36 +02:00
Alexey Milovidov
c097e6e53d
Merge pull request #50531 from kitaisreal/jit-infrastructure-refactoring
...
JIT infrastructure refactoring
2023-06-20 21:13:44 +03:00
Robert Schulze
bc7df2baca
Merge branch 'master' into non-experimental-qpl-deflate
2023-06-20 20:06:01 +02:00
Nikolai Kochetov
5a1f819e7b
Fix more tests.
2023-06-20 17:33:09 +00:00
Nikolai Kochetov
518ba6cbf6
Fix more tests.
2023-06-20 16:43:22 +00:00
Nikolai Kochetov
b4273a1963
Fixing some tests.
2023-06-20 14:53:13 +00:00
kssenii
44377b0180
Rename
2023-06-20 13:36:11 +02:00
kssenii
7df815d280
Fix
2023-06-20 13:33:16 +02:00
kssenii
5c4c2a3982
Merge remote-tracking branch 'upstream/master' into min-file-segment-size
2023-06-20 13:33:08 +02:00
Kseniia Sumarokova
c3227fd44f
Merge pull request #51161 from kssenii/more-metrics-in-cache
...
More profile events for fs cache
2023-06-20 12:44:00 +02:00
Raúl Marín
b1cedf0e42
Simplify handling of AsyncInsertFlush
2023-06-20 11:38:19 +02:00
Raúl Marín
9b899b9351
Fix async insert logs with setting on mergetree
2023-06-20 11:38:19 +02:00
Raúl Marín
5ee813b8d0
Fix style
2023-06-20 11:38:19 +02:00