Commit Graph

132814 Commits

Author SHA1 Message Date
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
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
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
Nikita Taranov
7a3ceeb54c
Fix usage of small buffers for remote reading (#58768)
* impl

* add test

* fix test
2024-01-14 16:06:51 +01:00
Yakov Olkhovskiy
62660e6e84
Merge pull request #58703 from ClickHouse/imp-error-message
Add identifier name to the error INVALID_IDENTIFIER
2024-01-14 07:46:33 -05:00
robot-clickhouse-ci-2
d1ab4b7dcb
Merge pull request #58794 from ClickHouse/performance-tests-ridiculous
Fix trash in performance tests
2024-01-14 13:14:36 +01:00
Alexey Milovidov
1afcab35c1 Fix supply chain attack in performance tests 2024-01-14 08:25:12 +01:00
Alexey Milovidov
e43be2f3b0 Support stress test 2024-01-14 08:18:03 +01:00
Alexey Milovidov
fe70165921 Whitespace 2024-01-14 08:08:32 +01:00
Alexey Milovidov
3b1cc5179b Fix error 2024-01-14 08:05:57 +01:00
Alexey Milovidov
e980c6c1f6 Fix tests 2024-01-14 07:50:35 +01:00
Alexey Milovidov
e9e6070899 Fix tests 2024-01-14 07:18:06 +01:00
Alexey Milovidov
3151b5fd0f Fix tests 2024-01-14 06:35:26 +01:00
Alexey Milovidov
6f6ec9705e Fix error 2024-01-14 05:18:12 +01:00
Alexey Milovidov
66d2353851 Revert "Fix Docker"
This reverts commit 6955574c4c.
2024-01-14 05:17:01 +01:00
Alexey Milovidov
65ac905032
Merge pull request #54366 from canhld94/final_no_copy
Implement vertical replacing FINAL
2024-01-14 04:21:07 +01:00
Alexey Milovidov
564a9f0d6c Fix bash 2024-01-14 04:11:31 +01:00
Alexey Milovidov
dc76cb5beb Fix error 2024-01-14 03:25:42 +01:00
Alexey Milovidov
b3c3138798
Merge pull request #58790 from ClickHouse/remove-some-code-3
Remove some code
2024-01-14 03:21:39 +01:00
Alexey Milovidov
bbbf455146 Better error message 2024-01-14 00:05:15 +01:00
Alexey Milovidov
6955574c4c Fix Docker 2024-01-14 00:02:13 +01:00
Alexey Milovidov
d4db3dbc69 Remove some code 2024-01-13 23:53:24 +01:00
Alexey Milovidov
7ca8ea9d23 Simplify stateful tests 2024-01-13 23:53:01 +01:00
yariks5s
bcf8d54a80 Merge branch 'polygon_bug_fix' of github.com:yariks5s/ClickHouse into polygon_bug_fix 2024-01-13 22:49:38 +00:00
yariks5s
4b645e445b tests 2024-01-13 22:49:27 +00:00
Nikolai Kochetov
e1639610f2
Update PolygonDictionaryUtils.h 2024-01-13 21:48:41 +01:00
Nikolai Kochetov
d954dab62f
Update PolygonDictionaryUtils.h 2024-01-13 21:04:08 +01:00
Alexey Milovidov
d46ee32e06
Merge pull request #58724 from Algunenano/promote_f32
Do not promote float32 automatically
2024-01-13 20:29:10 +01:00
Alexey Milovidov
afb50f03d9
Merge pull request #58519 from Avogar/control-arrow-dict-indexes-type
Add settings for better control of indexes type in Arrow dictionary
2024-01-13 20:00:40 +01:00
Alexey Milovidov
211c285a0b
Merge pull request #58657 from ClickHouse/analyzer-fix-index-set
Analyzer: Correctly handle constant set in index
2024-01-13 19:23:28 +01:00
Alexey Milovidov
d10a6e91af
Merge pull request #58770 from hdnpth/add-missing-includes
Add missing includes when _LIBCPP_REMOVE_TRANSITIVE_INCLUDES enabled
2024-01-13 19:22:49 +01:00
Alexey Milovidov
2d04ae1fca
Merge pull request #58772 from ClickHouse/remove-some-code-2
Remove some code
2024-01-13 19:21:42 +01:00
Artem Alperin
a5ba105dde move mistaken include 2024-01-13 15:33:25 +03:00
kssenii
341a9b3b70 Fix keeper build 2024-01-13 12:56:27 +01:00
Raúl Marín
8049d3560d
Update 02966_float32_promotion.sql 2024-01-13 12:56:14 +01:00
Blargian
ce012d217f #58363 - fix style check failing attempt no.2 2024-01-13 13:21:36 +02:00
Yarik Briukhovetskyi
e1e193ae93
Merge branch 'ClickHouse:master' into polygon_bug_fix 2024-01-13 12:00:22 +01:00
Blargian
0fdba3b83d #58363 - fix failing style check 2024-01-13 12:14:54 +02:00