Alexey Milovidov
01136bbc3b
Limit backtracking in parser
2024-03-17 19:54:45 +01:00
Maksim Kita
2a327107b6
Updated implementation
2024-01-25 14:31:49 +03:00
Alexey Milovidov
0c1e92aea5
Less threads in clickhouse-local
2024-01-19 04:53:14 +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
Natalya Chizhonkova
3d51192bad
Refactoring for UserDefinedSQLObjectsLoader
2023-12-12 17:03:49 +03:00
Vitaly Baranov
76766a200e
Fix access checking in evaluations of defaults during async insert.
2023-10-05 10:26:44 +02:00
Maksim Kita
310dc22266
FunctionHelpers remove areTypesEqual function
2023-09-14 13:51:06 +03:00
flynn
6ec783a746
Refactor IHints
2023-09-10 03:48:12 +00:00
Amos Bird
c43bf153f5
Refactor
2023-08-18 15:38:46 +08:00
Amos Bird
dd0c71b32a
Add error_exit_reaction
2023-08-18 15:38:46 +08:00
Amos Bird
476f3cedc1
Various reactions when executable stderr has data
2023-08-18 15:38:45 +08:00
Alexander Tokmakov
894ec8e0d0
less exceptions with runtime format string
2023-08-14 21:45:59 +02: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
Kseniia Sumarokova
0ab3dc9261
A bit safer UserDefinedSQLFunctionVisitor ( #50913 )
...
* Update UserDefinedSQLFunctionVisitor.cpp
* Update UserDefinedSQLFunctionVisitor.cpp
---------
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-06-13 11:25:13 +02:00
Alexey Milovidov
5a44dc26e7
Fixes for clang-17
2023-05-13 02:57:31 +02:00
save-my-heart
cea631a4c2
throw exception while non-parametric functions having parameters
2023-03-28 23:24:07 +08:00
Vitaly Baranov
1badc3cba0
Move information about current hosts and list of all hosts to BackupCoordination ( #47971 )
...
to simplify the code and help implementing other features.
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-03-24 17:38:19 +01:00
Vitaly Baranov
b0fb8fecee
Make names in ZooKeeper consistent with non-replicated storage.
2023-03-23 02:50:18 +01:00
Vitaly Baranov
14cae25bd3
Allow start without ZooKeeper.
2023-03-23 02:47:50 +01:00
Vitaly Baranov
27ef59d46e
Remove wrong chassert() in UserDefinedSQLObjectsLoaderFromZooKeeper.cpp
2023-03-21 13:56:27 +01:00
Aleksei Filatov
886b530963
[rev: 1] Fix review remarks
2023-03-17 13:56:05 +03:00
Aleksei Filatov
cf6ca10c83
Tests for replicated system.functions
2023-03-17 13:56:05 +03:00
Aleksei Filatov
690d8355ca
Add classes for backup/restore UDF
2023-03-17 13:56:04 +03:00
Aleksei Filatov
f84aa2f4ca
Add classes for replication UDF to ZooKeeper
2023-03-17 13:56:04 +03:00
Vitaly Baranov
1cf1ce07fe
Use server-side copy during restore from S3 to S3.
2023-03-13 23:50:13 +01:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages ( #45449 )
...
* save format string for NetException
* format exceptions
* format exceptions 2
* format exceptions 3
* format exceptions 4
* format exceptions 5
* format exceptions 6
* fix
* format exceptions 7
* format exceptions 8
* Update MergeTreeIndexGin.cpp
* Update AggregateFunctionMap.cpp
* Update AggregateFunctionMap.cpp
* fix
2023-01-24 00:13:58 +03:00
Antonio Andelic
a5c396ade9
Make better
2022-11-29 09:33:42 +00:00
Antonio Andelic
9f0fdd780b
Modify ALTER before replicating
2022-11-25 10:16:20 +00:00
Antonio Andelic
71fb4dc889
Fix visitor
2022-11-23 16:07:25 +00:00
Antonio Andelic
981e8a3a27
Modifiy visitor
2022-11-23 13:32:36 +00:00
Antonio Andelic
e84e05d849
Modify visitor
2022-11-23 10:27:38 +00:00
Vitaly Baranov
a30bfada63
Wipe passwords from backup logs too.
2022-10-31 10:50:33 +01:00
Vitaly Baranov
2e59d671fc
Split UserDefinedSQLObjectsLoader to interface and implementation.
2022-10-13 10:32:32 +02:00