Commit Graph

36726 Commits

Author SHA1 Message Date
Antonio Andelic
a39e4e24c6
Merge branch 'master' into optimize_parquet_reader 2023-02-02 14:18:00 +01:00
Robert Schulze
8055b7ed07
Merge branch 'master' into qc-better-logging 2023-02-02 11:45:37 +01:00
Vitaly Baranov
b8078acce2
Merge pull request #45774 from vitlibar/wiping-sensitive-info-in-named-collection-overrides
Mask sensitive info in named collection's overrides
2023-02-02 10:06:59 +01:00
flynn
8513e5a721 Fix tupleElement with Null arguments 2023-02-02 08:48:13 +00:00
Alexey Milovidov
20ab290e78 Merge remote-tracking branch 'origin/master' into fix-trash-query-kind 2023-02-02 04:36:40 +01:00
Alexey Milovidov
87acc6e1f3
Merge pull request #45888 from ClickHouse/fix-tidy-build
Fix clang-tidy error in Keeper `Changelog`
2023-02-02 06:34:54 +03:00
Alexey Milovidov
62bfdb349a Merge branch 'master' into fix-trash-query-kind 2023-02-02 04:26:49 +01:00
Alexey Milovidov
099532ecc5
Merge pull request #45867 from Algunenano/improve_obfuscator
Improve how the obfuscator deals with queries
2023-02-02 04:23:06 +03:00
Alexey Milovidov
8e684170fe Fix even more trash 2023-02-02 02:11:16 +01:00
Alexey Milovidov
97b6934ed6
Update ParquetBlockInputFormat.cpp 2023-02-02 02:42:21 +03:00
Alexey Milovidov
1682078f1a
Merge pull request #45873 from FFFFFFFHHHHHHH/dev_format
Allow a three-argument version for table function format
2023-02-02 02:40:31 +03:00
Joanna Hulboj
e57492c214 Improve behaviour of conversion into Date for boundary value 65535 2023-02-01 18:22:06 +00:00
Nikolay Degterinsky
542f54cf2d
Merge pull request #45829 from Algunenano/fix_qualified_asterisk_children
Fix ASTQualifiedAsterisk cloning
2023-02-01 19:20:47 +01:00
kssenii
bbf060bf89 Fix test 2023-02-01 18:22:05 +01:00
Sema Checherinda
3e1b17e4cf
fix build 2023-02-01 17:09:43 +01:00
Anton Popov
8dd6dbc452
Merge pull request #45857 from CurtizJ/fix-minor-mistake
Fix minor mistake after refactoring
2023-02-01 15:33:19 +01:00
Sema Checherinda
41a1dddc7a
Merge branch 'master' into better_postpone_reason 2023-02-01 15:16:34 +01:00
Nikolai Kochetov
6cd0b51127
Merge pull request #45871 from ClickHouse/fix-ipv6-parser
Fix ipv6 parser
2023-02-01 14:28:54 +01:00
Antonio Andelic
88c1744975
Better 2023-02-01 14:25:58 +01:00
Antonio Andelic
5de6f86c27 Fix clang-tidy error 2023-02-01 12:28:44 +00:00
Vladimir C
7c6281c446
Merge pull request #45581 from Avogar/fix-date-inference 2023-02-01 13:04:12 +01:00
Vladimir C
0d48eed68f
Merge pull request #45848 from Algunenano/fix_connection_timeouts_context_include 2023-02-01 12:53:50 +01:00
Vladimir C
dad838859b
Merge pull request #44489 from canhld94/ch_canh_fix_sparkbar 2023-02-01 12:50:00 +01:00
Igor Nikonov
04c9fcddcb
Merge pull request #45822 from taofengliu/planner_bug
A bug fix for Planner
2023-02-01 12:43:24 +01:00
Igor Nikonov
5143131179
Merge pull request #45817 from taofengliu/bug_fix
A bug fix for QueryTreeBuilder
2023-02-01 11:44:42 +01:00
liuneng
17fc22a21e add parquet max_block_size setting 2023-02-01 18:29:20 +08:00
Robert Schulze
8a9493aeb9
Update QueryCache.cpp 2023-02-01 11:28:00 +01:00
Robert Schulze
f6259fbd65
Query cache: Improve logging 2023-02-01 10:24:17 +00:00
Robert Schulze
b512316586
Merge pull request #45682 from ClickHouse/rename-qrc-to-qc
Rename "Query Result Cache" to "Query Cache"
2023-02-01 11:23:29 +01:00
Raúl Marín
61dfebd299 Upstyle 2023-02-01 11:11:03 +01:00
Alexander Gololobov
e705f11ad1
Merge pull request #45786 from ClickHouse/delete_on_cluster
Support DELETE ON CLUSTER
2023-02-01 10:52:01 +01:00
Antonio Andelic
a3e3b65b32
Merge branch 'master' into keeper-use-fallocate 2023-02-01 09:05:49 +01:00
liuneng
cda9b0beea optimize parquet reader 2023-02-01 15:54:10 +08:00
robot-ch-test-poll2
202fa9fa37
Merge pull request #45859 from FArthur-cmd/show_engines_support
Add support for SHOW ENGINES query
2023-02-01 07:32:56 +01:00
FFFFFFFHHHHHHH
eca344eff1
Update src/TableFunctions/TableFunctionFormat.cpp
Co-authored-by: flynn <fenglv15@mails.ucas.ac.cn>
2023-02-01 14:12:36 +08:00
Alexey Milovidov
bf9f62dcbd
Merge pull request #38456 from sauliusvl/iouring
Re-introduce io_uring read method
2023-02-01 06:41:32 +03:00
fhbai
d0fc3d9d4e allow a three-argument version for table function format 2023-02-01 11:17:14 +08:00
Alexey Milovidov
9b908a0be0 Fix trash around query kind, part 2 2023-02-01 03:31:31 +01:00
Alexey Milovidov
5c4db119fa Fix trash around query kind, part 1 2023-02-01 03:11:54 +01:00
Alexey Milovidov
c7f9cf6587
Update InterpreterShowEngineQuery.h 2023-02-01 04:57:58 +03:00
Yakov Olkhovskiy
3d64c84571 fix ipv6 parser 2023-02-01 01:02:58 +00:00
Alexey Milovidov
95e267561a
Update AggregateFunctionSparkbar.h 2023-02-01 00:46:37 +03:00
Vitaly Baranov
96b140cc95 Rename columns in system.backups: num_files, num_processed_files, processed_files_size
num_processed_files -> num_files (BACKUP) / files_read (RESTORE)
processed_files_size -> total_size (BACKUP) / bytes_read (RESTORE)
2023-01-31 22:45:41 +01:00
Alexey Milovidov
1cb7574498
Update AggregateFunctionSparkbar.h 2023-02-01 00:44:27 +03:00
Raúl Marín
0b201ebff2 Improve how the obfuscator deals with queries 2023-01-31 20:19:32 +01:00
Yakov Olkhovskiy
f4ef21cb2f allow implicit narrowing conversion UInt64 => IPv4 2023-01-31 19:04:21 +00:00
Alexey Milovidov
075dfe9005
Merge pull request #45750 from ucasfl/arrow-duration
Arrow support duration type
2023-01-31 20:34:38 +03:00
kssenii
4a1bdcf24c Merge remote-tracking branch 'upstream/master' into storage-rabbitmq-fix-flush 2023-01-31 18:11:26 +01:00
Antonio Andelic
ece92fa866
Update src/Coordination/Changelog.cpp
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-01-31 17:11:18 +01:00
Anton Popov
1c4174750d fix mistake after refactoring 2023-01-31 15:48:14 +00:00
FArthur-cmd
a8e38738e9 add support for show engines query 2023-01-31 18:35:10 +03:00
Raúl Marín
7c31cb7adc Proper includes for ConnectionTimeoutsContext.h 2023-01-31 16:11:32 +01:00
Alexander Gololobov
96cb23a6a1 Break on first non-empty block 2023-01-31 15:49:56 +01:00
Antonio Andelic
8457d3bf3d Apply comments 2023-01-31 14:18:54 +00:00
Antonio Andelic
1786237be6 Merge branch 'master' into keeper-use-fallocate 2023-01-31 13:53:47 +00:00
Vitaly Baranov
6165625e27
Update src/Parsers/ASTFunction.cpp
Co-authored-by: SmitaRKulkarni <64093672+SmitaRKulkarni@users.noreply.github.com>
2023-01-31 14:43:48 +01:00
Vitaly Baranov
c6be69568a
Update src/Parsers/ASTFunction.cpp
Co-authored-by: SmitaRKulkarni <64093672+SmitaRKulkarni@users.noreply.github.com>
2023-01-31 14:43:30 +01:00
Robert Schulze
5f91a78fda
Merge pull request #45652 from ClickHouse/block-delta-gorilla
Mark delta/doubledelta codec followed by Gorilla/FPC as suspicious
2023-01-31 14:06:57 +01:00
Raúl Marín
bacfe7ffa5 Fix ASTQualifiedAsterisk cloning 2023-01-31 14:02:46 +01:00
taofengliu
aae5d302be bug fix 2023-01-31 20:49:21 +08:00
Anton Popov
9f4658151e
Merge pull request #45799 from ClickHouse/func-iptypes-empty
Add empty/notEmpty function support for IP types
2023-01-31 13:37:23 +01:00
Alexander Tokmakov
51b0f66e6b
Merge pull request #45793 from ClickHouse/fix_part_check_cancellation
Fix race condition on a part check cancellation
2023-01-31 14:15:17 +03:00
FFFFFFFHHHHHHH
eb7df4e403 fix 2023-01-31 18:45:37 +08:00
刘陶峰
2014cc5fa7
Merge branch 'master' into bug_fix 2023-01-31 18:42:52 +08:00
taofengliu
95ebfbe0c7 bug fix 2023-01-31 18:34:17 +08:00
Robert Schulze
170fff16e4
Merge pull request #45816 from ClickHouse/minor-doc-fixes
Minor doc follow-up to #45382
2023-01-31 11:32:48 +01:00
Kseniia Sumarokova
7d53f8bbf6
Merge pull request #45591 from bharatnc/ncb/odbc-connection-pool-fixes
fixes to use the odbc_bridge_use_connection_pooling setting correctly
2023-01-31 11:31:59 +01:00
Robert Schulze
44a5e9cb17
Minor doc follow-up to #45382 2023-01-31 10:31:01 +00:00
Robert Schulze
fdd6c77480
Merge pull request #45382 from bigo-sg/improve_position
Add fastpath for function position when needle is empty
2023-01-31 11:22:31 +01:00
Robert Schulze
325c6bdf3d
Renaming: "Query Result Cache" --> "Query Cache"
Reasons:

- The cache will at some point store intermediate results as opposed to
  only query results. We should change the terminology now without
  having to worry about backward compat.

- Equivalent caches in MySQL (1) and Starrocks (2) are called "query
  cache".

- The new name is ca. 13.8% more catchy.

(1) https://dev.mysql.com/doc/refman/5.6/en/query-cache.html
(2) https://docs.starrocks.io/en-us/2.5/using_starrocks/query_cache
2023-01-31 09:54:34 +00:00
Robert Schulze
659a64a1d9
Merge pull request #45679 from ClickHouse/untangle-query-result-cache-settings
Untangle configuration of query result cache
2023-01-31 10:44:14 +01:00
Alexander Gololobov
f9133f3d85
Merge pull request #45791 from ClickHouse/fix_drop_hung
Fix bug in tables drop which can lead to potential query hung
2023-01-31 10:11:11 +01:00
FFFFFFFHHHHHHH
c64ffc6389 fix style 2023-01-31 15:59:35 +08:00
FFFFFFFHHHHHHH
0a6cc61fd9 Merge branch 'corrMatrix' of github.com:FFFFFFFHHHHHHH/ClickHouse into corrMatrix 2023-01-31 15:50:28 +08:00
FFFFFFFHHHHHHH
78f2d6fb25 fix 2023-01-31 15:44:33 +08:00
taiyang-li
4cf11d9a84 change as request 2023-01-31 10:48:02 +08:00
Duc Canh Le
e8ebd2e845 updateFrame returns size_t 2023-01-31 10:04:19 +08:00
Duc Canh Le
ae98847d31 Merge branch 'master' into ch_canh_fix_sparkbar 2023-01-31 10:01:16 +08:00
Alexey Milovidov
40b00432d2
Merge pull request #45737 from chhetripradeep/pchhetri/fix-45690
Set compression method and level for backup writer
2023-01-31 04:14:57 +03:00
Anton Popov
31e8b692f4 fix typo 2023-01-31 01:13:23 +00:00
Anton Popov
839cd614fb fix memory leak in azure sdk 2023-01-31 01:01:10 +00:00
Bharat Nallan
f1d6e3b908
Merge branch 'master' into ncb/odbc-connection-pool-fixes 2023-01-30 15:49:04 -08:00
Alexander Gololobov
93b82a2c44 Use multithreaded executor in isStorageTouchedByMutations() 2023-01-30 23:48:52 +01:00
Ilya Yatsishin
8d6df7ed58
Merge pull request #45785 from Algunenano/generate_random_types 2023-01-30 23:03:12 +01:00
Alexander Gololobov
4eea3de654 Do not restrict count() query to 1 thread in isStorageTouchedByMutations() 2023-01-30 22:29:28 +01:00
Yakov Olkhovskiy
79d82a3587 add empty/notEmpty function support for IP types 2023-01-30 20:37:08 +00:00
Alexey Milovidov
f46bfaa1c9
Merge pull request #45760 from ClickHouse/fix-trash
Remove trash
2023-01-30 22:53:32 +03:00
Vitaly Baranov
d95d8bcb26 Rename isCollectionNameArgument() -> isNamedCollectionName() and add comments. 2023-01-30 19:31:32 +01:00
Alexander Tokmakov
e42cd3163f fix race condition on a part check cancellation 2023-01-30 18:48:20 +01:00
Alexander Gololobov
863548114d force_wait flag is no longer needed 2023-01-30 18:38:28 +01:00
Pradeep Chhetri
455bd1a14a
Merge branch 'master' into pchhetri/fix-45690 2023-01-31 00:48:46 +08:00
Vitaly Baranov
2e3a3cc4dc
Merge pull request #45701 from vitlibar/add-setting-allow-head-object-request
Add new S3 setting allow_head_object_request
2023-01-30 17:41:09 +01:00
Bharat Nallan Chakravarthy
0d2e4fcc15 set use_connection_pooling from settings everywhere 2023-01-30 08:22:48 -08:00
alesapin
9ecf6e70a9 Make disk object storage compatible with other storages 2023-01-30 17:16:07 +01:00
Robert Schulze
abac59477b
Update src/Core/Settings.h
Co-authored-by: Igor Nikonov <954088+devcrafter@users.noreply.github.com>
2023-01-30 17:12:01 +01:00
Robert Schulze
b42383f0d4
Update src/Core/Settings.h
Co-authored-by: Igor Nikonov <954088+devcrafter@users.noreply.github.com>
2023-01-30 17:11:53 +01:00
alesapin
be58d5d1af Fix bug in tables drop which can lead to potential query hung 2023-01-30 17:00:28 +01:00
Alexander Gololobov
de841b29c7 Support delete ON CLUSTER 2023-01-30 16:42:52 +01:00
Alexander Gololobov
386ae9266d Rewrite DELETE into ALTER UPDATE _row_exists=0 2023-01-30 15:46:17 +01:00
Raúl Marín
997fad4e8d GenerateRandom: Add support for maps 2023-01-30 15:23:22 +01:00