Commit Graph

133498 Commits

Author SHA1 Message Date
Anton Popov
b430f3094e fix nested size0 for storage Log 2024-01-15 17:26:44 +00:00
Kseniia Sumarokova
7ded82e51f
Merge pull request #58297 from azat/qp-alter-part
Support query parameters in ALTER TABLE ... PART
2024-01-15 18:18:34 +01:00
Blargian
b008a1ea80 #58363 - add change to SettingsChangesHistory.h and fix failing tests which use pretty by setting output_format_pretty_color=1 2024-01-15 19:15:15 +02:00
slvrtrn
204a291384 Remove an unnecessary include 2024-01-15 17:52:58 +01:00
yariks5s
b4f078e5cc fix bug with several joins 2024-01-15 16:49:42 +00:00
slvrtrn
d841fae5ad Rename the tests 2024-01-15 17:36:13 +01:00
Dmitry Novik
de115c4da7 Fix for passes that use column source 2024-01-15 16:25:39 +00:00
slvrtrn
be09a41639 Merge remote-tracking branch 'origin' into support-net-write-read-settings 2024-01-15 17:15:43 +01:00
slvrtrn
8ad6b03649 Add a test for MySQL settings replacements 2024-01-15 17:15:07 +01:00
xleoken
6f7e7c95ba Ecloud EOS Storage support 2024-01-15 11:07:43 -05:00
Dmitry Novik
0f7daeffc8 Analyzer: Resolve GROUPING function on shards 2024-01-15 16:02:37 +00:00
Maksim Kita
573fa8c375 DatabaseCatalog background tasks add log names 2024-01-15 18:59:34 +03:00
slvrtrn
d37ac1954e Add support for net_write/read_timeout MySQL settings 2024-01-15 16:05:36 +01:00
Blargian
5f500522a4 #58363 - added setting is_writing_to_terminal to FormatSettings.h, modified PrettyBlockOutputFormat to use this, which is set in FormatFactory.cpp getOutputFormat and getOutputFormatParallelIfPossible 2024-01-15 16:32:51 +02:00
yariks5s
eea8d2ab22 enhanced tests 2024-01-15 14:13:37 +00:00
flynn
0be9b8d0f4 update test 2024-01-15 14:07:37 +00:00
Yarik Briukhovetskyi
61889faabd
Merge pull request #58710 from aiven-sal/aiven-sal/fix_normq2
Handle signed numeric literals in normalizeQuery
2024-01-15 14:40:03 +01:00
Dmitry Novik
a6a0122406 Fuzzer: do not trim fuzzer log 2024-01-15 13:06:43 +00:00
flynn
9533ff86ed add test 2024-01-15 13:06:23 +00:00
yariks5s
de2d0a788f remove the test from fast tests 2024-01-15 13:05:50 +00:00
Antonio Andelic
76c9bf42d7 Add docs for allocation profiling 2024-01-15 13:57:16 +01:00
kssenii
abd800dfa6 Fix keeper build 2024-01-15 13:25:10 +01:00
Antonio Andelic
7ecf146072 Fix data race in Keeper 2024-01-15 12:23:59 +00:00
János Benjamin Antal
b04e8b11ae Delay reading from StorageFileLog by creating a query plan step 2024-01-15 11:39:43 +00:00
vdimir
61f2ab3ec5
Update HashJoin::getNonJoinedBlocks 2024-01-15 11:37:33 +00:00
vdimir
6a1b005d7f
Fix build 2024-01-15 11:32:23 +00:00
vdimir
4adeb249d3
Analyzer: Fix assertion in HashJoin with duplicate columns 2024-01-15 11:32:22 +00:00
János Benjamin Antal
3e1d7bf685
Merge pull request #58477 from ClickHouse/multiple-read-kafka-storage-in-mv
Delay reading from StorageKafka to allow multiple reads in materialized views
2024-01-15 12:31:59 +01:00
vdimir
1f0a29cf10
Fix test_cluster_discovery/test_password.py 2024-01-15 11:31:22 +00:00
vdimir
89fadd7769
Update src/Interpreters/ClusterDiscovery.cpp
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-01-15 11:22:54 +00:00
vdimir
53e2a97d33
Add missing configs to test_cluster_discovery 2024-01-15 11:22:54 +00:00
vdimir
8dc1756532
Support <secret> in cluster discovery 2024-01-15 11:22:53 +00:00
vdimir
6ab507e722
Add test case for cluster discovery with wrong password 2024-01-15 11:22:52 +00:00
vdimir
012713fc31
ClusterDiscovery supports setting username and password 2024-01-15 11:22:48 +00:00
Azat Khuzhin
48a700edba Support query parameters in ALTER TABLE ... PART
But, to make this happen it is not enough to simply fix the parser, the
whole ASTs for ALTER should be fixed as well, since they store `ASTPtr`
instead of `IAST *`, and so because of `ReplaceQueryParameterVisitor`
does not work for ALTER query.

So this patch converts ASTPtr to `IAST *` for ASTAlterQuery and
ASTAlterCommand (plus it also fixes when the children for
ASTAlterCommand had not been updated sometimes).

And only after this it is possible to adjust the parser (see
places with `parser_string_and_substituion` in the parser code).

v2: also fix ASTAlterCommand::clone (add missing components) and ParserAlterCommand::parseImpl
v3: fix APPLY DELETED MASK
v4: fix mutations_execute_nondeterministic_on_initiator/mutations_execute_subqueries_on_initiator
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-01-15 14:16:54 +03:00
vdimir
e9ab8e8a7d
update comment to check_nested_column_not_in_using 2024-01-15 10:58:37 +00:00
János Benjamin Antal
f4e8e47c7a Increase log level to trace 2024-01-15 10:44:40 +00:00
Robert Schulze
ffda8310df
Merge remote-tracking branch 'rschu1ze/master' into qc-quota 2024-01-15 10:42:32 +00:00
Robert Schulze
d818cea1b0
Update comments 2024-01-15 10:41:47 +00:00
vdimir
2970812cb1
Fix JSONExtract function for LowCardinality(Nullable) columns 2024-01-15 10:38:56 +00:00
Robert Schulze
9cfdff2ddb
Merge pull request #58284 from lingtaolf/Improvement/inverted_index_support_match
Utilize inverted index by function `match()`
2024-01-15 11:37:23 +01:00
flynn
20dbe652ae Avro format support zstd codec 2024-01-15 09:14:18 +00:00
Antonio Andelic
6848a76afa
Merge pull request #58765 from ClickHouse/fix-keeper-shutdown
Don't process requests in Keeper during shutdown
2024-01-15 09:10:20 +01:00
zhongyuankai
826b29ef4d Max materialized views size for table 2024-01-15 10:02:57 +08:00
Zhiguo Zhou
83f0c3bb99 Enable BMI2 attribute when AVX2 is supported
The BMI2/AVX2 features were introduced with the same architectures
(Haswell from Intel and Excavator from AMD). The enabling of BMI2
attribute should be safe for the AVX2 specific code.
2024-01-15 09:53:29 +08:00
Alexey Milovidov
a471a54987
Merge pull request #55528 from ClickHouse/insert-quorum-host-name-check
Insert quorum: check host node version in addition
2024-01-15 02:23:15 +01:00
Vitaly Baranov
3d7a17af08 Allow KILL QUERY to cancel backups/restores. 2024-01-15 02:22:35 +01:00
Alexey Milovidov
c132e0141c
Merge pull request #58791 from ClickHouse/better-stateful-tests
Simplify stateful tests
2024-01-14 21:39:13 +01:00
Alexander Tokmakov
5128607995
Merge pull request #58393 from jaymebrd/feat/add-from-modifier-sync-replica-lightweight
add `from srcreplicas` modifier  for `SYSTEM SYNC REPLICA LIGHTWEIGHT`
2024-01-14 20:53:16 +01:00
Nikita Taranov
df0c6cc029
Fix bug in new (not released yet) parallel replicas coordinator (#58722) 2024-01-14 16:16:20 +01:00