Commit Graph

132668 Commits

Author SHA1 Message Date
alesapin
f1b1096eb4
Fix isRetry method 2024-01-15 20:10:21 +01: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
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
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
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
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
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
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
Raúl Marín
8049d3560d
Update 02966_float32_promotion.sql 2024-01-13 12:56:14 +01:00
Alexey Milovidov
07b0d9dc93 Fix Mac 2024-01-13 04:49:50 +01:00
Alexey Milovidov
c0877d3f6d
Update 02962_analyzer_constant_set.reference 2024-01-13 06:15:49 +03:00
Alexey Milovidov
279ef9304b Merge branch 'analyzer-fix-index-set' of github.com:ClickHouse/ClickHouse into analyzer-fix-index-set 2024-01-13 04:15:22 +01:00
Alexey Milovidov
af8c8923cb Merge branch 'master' into analyzer-fix-index-set 2024-01-13 04:15:10 +01:00
Alexey Milovidov
2ecbe1f76d
Update 02962_analyzer_constant_set.sql 2024-01-13 06:14:57 +03:00
Alexey Milovidov
d112492c56 Remove some code 2024-01-13 03:48:04 +01:00
Alexey Milovidov
6b666f20a9
Merge pull request #58745 from Algunenano/i58727
Fix double destroy call on exception throw in addBatchLookupTable8
2024-01-13 03:36:36 +01:00
Artem Alperin
4139cb24ee
Add missing includes 2024-01-13 01:48:55 +03:00
Alexey Milovidov
43b31204a4
Merge pull request #58733 from ClickHouse/fix-mac-os-x
Fix Mac OS X
2024-01-12 20:03:37 +01:00
Yakov Olkhovskiy
f10f99f7bb
Update 01936_three_parts_identifiers_in_wrong_places.sql 2024-01-12 13:23:01 -05:00
Ilya Yatsishin
2c86b7ae6a
Merge pull request #58557 from yariks5s/to_start_of_interval_bug_fix
toStartOfInterval for milli- microsencods values rounding
2024-01-12 20:39:27 +04:00
Yakov Olkhovskiy
ef880657ce
replace BAD_ARGUMENTS error with INVALID_IDENTIFIER 2024-01-12 11:34:35 -05:00