yariks5s
7e407d6e3a
simplified planSquashing
2024-06-21 15:07:21 +00:00
Yarik Briukhovetskyi
07e746d5a4
Merge branch 'ClickHouse:master' into balancing_transform
2024-06-12 12:16:24 +02:00
yariks5s
68e1d8701c
fixes due to review
2024-06-10 18:09:07 +00:00
Amos Bird
9419a25231
Trivial count optimization with primary key
2024-06-06 23:21:38 +08:00
yariks5s
330bac788e
remove setting
2024-05-21 12:05:22 +00:00
yariks5s
40a78df96a
small improvements
2024-05-17 17:10:48 +00:00
yariks5s
ef9bfbd85a
fix build
2024-05-17 15:58:40 +00:00
yariks5s
fed6c65858
add setting to enable planning
2024-05-16 17:57:01 +00:00
yariks5s
a66a81efa3
merge
2024-05-10 11:21:40 +00:00
yariks5s
8c0786bd80
fix for projections
2024-05-08 19:43:22 +00:00
yariks5s
e1ed0af3d2
Added pointer check, Chunk as argument to PlanSquashingTransform, fully refactored names of functions
2024-05-08 14:28:09 +00:00
yariks5s
0bc664ac5b
added correct number of input ports for balancing
2024-04-29 18:21:19 +00:00
yariks5s
2eba133b53
implement SquashingChunksTransformForBalancing
2024-04-24 15:51:23 +00:00
yariks5s
7ce5e5a38c
SquashingChunksTranform -> (BalancingChunksTransform && SquashingChunksTranform) || SimpleSquashingChunksTranform
2024-04-24 15:36:11 +00:00
yariks5s
0065a4cc6e
fixing bugs by adding old transform to some parts
2024-04-24 14:55:01 +00:00
yariks5s
ba8af1fcd8
fix for projections
2024-04-12 16:21:41 +00:00
Alexey Milovidov
01136bbc3b
Limit backtracking in parser
2024-03-17 19:54:45 +01:00
Nikolai Kochetov
a36c11b21e
Disable transform_null_in as well just in case.
2023-11-29 17:30:22 +00:00
Nikolai Kochetov
dc43a36ee2
Fixing style
2023-11-29 16:40:18 +00:00
Nikolai Kochetov
390c27f7d8
Ignore aggregate_functions_null_for_empty for projections at insert.
2023-11-29 16:16:22 +00:00
Alexander Tokmakov
894ec8e0d0
less exceptions with runtime format string
2023-08-14 21:45:59 +02:00
Nikolai Kochetov
01cb502af3
Merge pull request #52151 from amosbird/fix_52075
...
Fix incorrect projection analysis when aggregation expression contains monotonic functions
2023-07-21 18:30:27 +02:00
Amos Bird
9b0eb9cdd7
ignore ast opt when doing projection calc
2023-07-21 14:54:48 +08:00
Robert Schulze
bd761c365a
Make serializeAST() more regular
2023-07-20 10:39:26 +00:00
Amos Bird
52246ab5b5
Ignore setting constraints for projection ASTs
2023-07-12 10:34:36 +08:00
Alexander Tokmakov
3f6594f4c6
forbid old ctor of Exception
2023-01-23 22:18:05 +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
Amos Bird
6a3a9dcf96
Fix building aggregate projections when external aggregation is on ( #39671 )
2022-08-04 23:29:26 +02:00
Nikolai Kochetov
edac3d6714
Merge branch 'master' into refactor-read-metrics-and-callbacks
2022-06-02 09:36:20 +00:00
Anton Popov
6cf9405f09
fix optimize_monotonous_functions_in_order_by in distributed queries
2022-06-01 00:50:28 +00:00
Nikolai Kochetov
1b85f2c1d6
Merge branch 'master' into refactor-read-metrics-and-callbacks
2022-05-25 16:27:40 +02:00
Nikolai Kochetov
3d84aae0ab
Better.
2022-05-24 20:06:08 +00:00
Nikolai Kochetov
9756b759c6
Move some resources
2022-05-23 13:46:57 +00:00
Nikolai Kochetov
56feef01e7
Move some resources
2022-05-20 19:49:31 +00:00
Robert Schulze
0f6715bd91
Follow-up to PR #37300 : semicolon warnings
...
In PR #37300 , Alexej asked why we the compiler does not warn about
unnecessary semicolons, e.g.
f()
{
}; // <-- here
The answer is surprising: In C++98, above syntax was disallowed but by
most compilers accepted it regardless. C++>11 introduced "empty
declarations" which made the syntax legal.
The previous behavior can be restored using flag
-Wc++98-compat-extra-semi. This finds many useless semicolons which were
removed in this change. Unfortunately, there are also false positives
which would require #pragma-s and HAS_* logic (--> check_flags.cmake) to
suppress. In the end, -Wc++98-compat-extra-semi comes with extra effort
for little benefit. Therefore, this change only fixes some semicolons
but does not enable the flag.
2022-05-20 15:06:34 +02:00
Azat Khuzhin
20e467397d
ProjectionsDescription: pass through min_block_size_bytes for SquashingChunksTransform
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-29 17:04:56 +03:00
Robert Schulze
118e94523c
Activate clang-tidy warning "readability-container-contains"
...
This check suggests replacing <Container>.count() by
<Container>.contains() which is more speaking and in case of
multimaps/multisets also faster.
2022-04-18 23:53:11 +02:00
Antonio Andelic
d96b682a55
Refactor
2022-04-04 07:24:42 +00:00
taiyang-li
fd9a10ef53
add hints for projections
2022-04-04 07:24:42 +00:00
Amos Bird
2debfc922d
Better projection format and test fixes
2022-02-07 10:47:11 +08:00
Amos Bird
a0ab7a01f1
Adapt minmax_count_projection with ModuleLegacy
2022-02-06 16:46:11 +08:00
Azat Khuzhin
aee034a597
Use explicit template instantiation for SystemLog
...
- Move some code into module part to avoid dependency from IStorage in SystemLog
- Remove extra headers from SystemLog.h
- Rewrite some code that was relying on headers that was included by SystemLog.h
v2: rebase
v3: squash move into module part with explicit template instantiation
(to make each commit self compilable after rebase)
2022-01-10 22:01:41 +03:00
Nikolai Kochetov
c8a92c046f
Another try
2021-12-17 20:36:37 +03:00
Raúl Marín
b2cfa70541
Reduce dependencies on ASTFunction.h
...
481 -> 230
2021-11-26 18:21:54 +01:00
Raúl Marín
051dddd8df
Reduce dependencies on ASTIdentifier.h
...
Goes from rebuilding 483 objects to 165 when it's modified
2021-11-26 16:49:40 +01:00
Amos Bird
feb3a12d34
fix
2021-11-17 23:11:23 +08:00
Amos Bird
7b9a19f066
enhance minmax_count projection
2021-11-17 22:05:57 +08:00
Amos Bird
d647a2db0c
Fix invalid header in projection block calculation
2021-10-30 17:26:43 +08:00
Amos Bird
05d93796dc
Fix minmax_count projection with primary key in partition expr
2021-10-19 23:36:07 +08:00
Nikolai Kochetov
2a95d7fc87
Merge pull request #29918 from amosbird/projection-improve5
...
Add primary key to minmax_count_projection
2021-10-17 14:04:18 +03:00