Nikita Taranov
8ba3d405de
impl
2022-07-01 16:05:32 +02:00
Alexey Milovidov
20841f0e1e
Merge pull request #38551 from ClickHouse/revert-37628-non-neg-deriv
...
Revert "Non Negative Derivative window function"
2022-07-01 02:46:28 +03:00
Maksim Kita
0de66a2712
Merge pull request #38449 from ClickHouse/revert-38361-revert-38324-fix-partial-sort
...
Revert "Revert "Fix optimization in PartialSortingTransform (SIGSEGV and possible incorrect result)""
2022-06-30 13:02:38 +02:00
mergify[bot]
26258959b1
Merge branch 'master' into distinct_sorted_small_refact
2022-06-29 09:38:34 +00:00
Alexey Milovidov
dea3b5bfce
Revert "Non Negative Derivative window function"
2022-06-29 08:56:15 +03:00
Igor Nikonov
c1840e798c
Fix: wrong header variable was used
2022-06-28 20:15:16 +00:00
Igor Nikonov
d80a21a445
Distinct sorted: calculate column positions once in constructor
...
- instead of calculating them on every chunk
2022-06-28 19:59:05 +00:00
Nikita Taranov
2487ba7f00
Move updateInputStream
to ITransformingStep
( #37393 )
2022-06-27 13:16:52 +02:00
Maksim Kita
3ebe6a03b1
Revert "Revert "Fix optimization in PartialSortingTransform (SIGSEGV and possible incorrect result)""
2022-06-27 10:37:19 +02:00
Alexander Tokmakov
3f4a09478d
Revert "Fix optimization in PartialSortingTransform (SIGSEGV and possible incorrect result)"
2022-06-23 23:01:11 +03:00
Azat Khuzhin
9db64952c0
Fix SIGSEGV in optimization in PartialSortingTransform
...
Fixes : #37992 (cc @kitaisreal)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-22 21:39:10 +03:00
Nikita Taranov
41ba0118b5
Bring back #36396 ( #38110 )
...
* Revert "Revert "More parallel execution for queries with `FINAL` (#36396 )""
This reverts commit 5bfb15262c
.
* fix tests
* fix review suggestions
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-22 15:05:07 +02:00
Nikolai Kochetov
b8d27aa8dd
Merge pull request #37469 from azat/projections-optimize_aggregation_in_order
...
Implement in order aggregation (optimize_aggregation_in_order) for projections for tables with fully materialized projections
2022-06-21 12:17:35 +02:00
Maksim Kita
c86191a6b9
SortingTransform add cursor order
2022-06-18 18:20:00 +02:00
Maksim Kita
3664f02690
Replaced SortingHeap with SortingQueue
2022-06-18 18:20:00 +02:00
Maksim Kita
9670504781
Fixed tests
2022-06-18 18:20:00 +02:00
Maksim Kita
d7e3e85d2f
Sorting added batch queue variants
2022-06-18 18:20:00 +02:00
Alexander Gololobov
54e599161d
Check row size to avoid out of bounds access
2022-06-18 00:16:45 +02:00
Maksim Kita
ed03bb5dc6
Merge pull request #38127 from iyupeng/2022061601.fix_merge_sorter
...
Fix redundant memory reservation for output block in MergeSorter
2022-06-17 17:50:26 +02:00
Maksim Kita
cd1bbc6a1b
SortDescription compile fix typo
2022-06-16 16:40:02 +02:00
Maksim Kita
f8d5e908d7
Update SortingTransform.cpp
2022-06-16 16:39:34 +02:00
Yu, Peng
518a726c1d
Fix redundant memory reservation for output block in MergeSorter
2022-06-16 15:54:30 +08:00
Azat Khuzhin
4694929623
Implement merging only for AggregatingStep
...
v2: fill AggregateColumnsConstData only for only_merge
(fixes 01291_aggregation_in_order and some other tests)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-16 09:58:36 +03:00
Maksim Kita
7d5af1a79f
Merge pull request #37992 from kitaisreal/partial-sorting-transform-refactoring
...
PartialSortingTransform refactoring
2022-06-15 22:55:04 +02:00
Alexander Tokmakov
5bfb15262c
Revert "More parallel execution for queries with FINAL
( #36396 )"
...
This reverts commit c8afeafe0e
.
2022-06-15 17:25:38 +03:00
Nikita Taranov
c8afeafe0e
More parallel execution for queries with FINAL
( #36396 )
2022-06-15 12:44:20 +02:00
Alexey Milovidov
ab9fc572d5
Merge pull request #37667 from ClickHouse/group-by-enum-fix
...
Support types with non-standard defaults in ROLLUP, CUBE, GROUPING SETS
2022-06-15 05:14:33 +03:00
Maksim Kita
20227e0718
Fixed style check
2022-06-13 18:49:20 +02:00
Maksim Kita
eb861499c7
Fixed tests
2022-06-13 16:43:11 +02:00
Maksim Kita
411e1ad227
Fixed tests
2022-06-13 12:30:38 +02:00
Robert Schulze
9ec56fa362
Merge pull request #37628 from zvonand/non-neg-deriv
...
Non Negative Derivative window function
2022-06-13 11:21:16 +02:00
Maksim Kita
d5b148792b
Merge pull request #37990 from kitaisreal/sorting-added-sort-queue-variants
...
Sorting added sort queue variants
2022-06-11 15:22:29 +02:00
Maksim Kita
f56b88e949
PartialSortingTransform refactoring
2022-06-10 18:34:45 +02:00
Maksim Kita
95a3a10769
Sorting added sort queue variants
2022-06-10 17:45:11 +02:00
zvonand
6d727b60ce
merge from master
2022-06-10 17:51:17 +03:00
zvonand
5beb6e0c3b
Merge branch 'master' of github.com:ClickHouse/ClickHouse into non-neg-deriv
2022-06-10 17:40:16 +03:00
zvonand
794dbe6b60
new stateless queries + minor fixes
2022-06-10 17:01:49 +03:00
mergify[bot]
cc712a14f3
Merge branch 'master' into destroy_aggregate_states_on_thread_pool
2022-06-08 12:15:28 +00:00
Alexander Tokmakov
51e27c22a7
Merge pull request #37902 from ClickHouse/revert-37647-Fix-all-CheckTriviallyCopyableMove-Errors
...
Revert "Fix errors of CheckTriviallyCopyableMove type"
2022-06-07 19:23:19 +03:00
Dmitry Novik
a3d70f27f4
Merge pull request #36944 from excitoon-favorites/better_exp_smooth
...
Fix for exponential time decaying window functions
2022-06-07 17:20:43 +02:00
Anton Popov
df6882d2b9
Revert "Fix errors of CheckTriviallyCopyableMove type"
2022-06-07 13:53:10 +02:00
mergify[bot]
8ff44bf48d
Merge branch 'master' into destroy_aggregate_states_on_thread_pool
2022-06-06 23:06:28 +00:00
Nikita Taranov
edf5f5b234
check variant size also
2022-06-06 18:28:02 +00:00
Nikita Taranov
2721502a7b
do not spawn thread if only one variant
2022-06-06 08:30:03 +00:00
Nikita Taranov
20bb8dff96
set thread name
2022-06-05 21:37:45 +00:00
Robert Schulze
2d87af2a15
Merge pull request #37647 from DevTeamBK/Fix-all-CheckTriviallyCopyableMove-Errors
...
Fix errors of CheckTriviallyCopyableMove type
2022-06-05 19:58:47 +02:00
Nikita Taranov
ac23e75da5
fix
2022-06-05 11:48:13 +00:00
Nikita Taranov
0a9d8398d8
impl
2022-06-04 19:14:38 +00:00
Vladimir Chebotarev
31e316dcb2
Review and build fixes.
2022-06-04 03:42:17 +03:00
Vladimir Chebotarev
c8cae1d9dc
Added a test and fixed exponentialTimeDecayedMax
.
2022-06-03 20:58:35 +03:00