Commit Graph

1180 Commits

Author SHA1 Message Date
Alexander Kuzmenkov
d6372bd3d9 linker woes 2021-02-04 09:38:42 +03:00
Azat Khuzhin
ca071381e1 Merge remote-tracking branch 'upstream/master' into writer-partial-buffer 2021-02-03 23:46:39 +03:00
Alexander Kuzmenkov
35754abb4a CURRENT ROW frame start for RANGE frame 2021-02-03 17:22:37 +03:00
Alexander Kuzmenkov
7c55ecf67d cleanup 2021-02-03 16:41:59 +03:00
Alexander Kuzmenkov
f31d2206a7 more fuzzing and less bugs 2021-02-03 15:50:25 +03:00
Nikolai Kochetov
b5b68f66a9 Colse input ports in DelayedPortsProcessor as soon as all outputs are finished. 2021-02-03 14:57:22 +03:00
Alexander Kuzmenkov
bb45c5a8ff Merge remote-tracking branch 'origin/master' into HEAD 2021-02-03 12:13:23 +03:00
Alexander Kuzmenkov
1b47cf08a9
Merge pull request #19921 from ClickHouse/aku/window-prototype-2
UNBOUNDED FOLLOWING frame end
2021-02-03 12:10:37 +03:00
Alexander Kuzmenkov
3c0a5d2226 fix invalid iterator addition 2021-02-03 12:09:31 +03:00
Alexander Kuzmenkov
dad4f82e0e fix invalid iterator addition 2021-02-03 12:08:46 +03:00
Alexander Kuzmenkov
7e945bab03 fix the calculation for moving frame start 2021-02-03 08:53:21 +03:00
alexey-milovidov
4cbd0ed282
Merge pull request #20010 from ClickHouse/coverity
Fix some of the issues found by Coverity
2021-02-03 08:48:05 +03:00
Alexey Milovidov
12485eee6b Fix some of the issues found by Coverity 2021-02-02 22:07:23 +03:00
Alexander Kuzmenkov
264aea20be Merge remote-tracking branch 'origin/master' into HEAD 2021-02-02 19:12:46 +03:00
Alexander Kuzmenkov
d2a0e44a3a
Merge pull request #19299 from ClickHouse/aku/window-prototype
[wip] support RANGE frame for window functions
2021-02-02 17:59:16 +03:00
Kruglov Pavel
fd5adf1ff6
Merge pull request #19925 from ClickHouse/fix_insert_values_with_semicolon
Fix logical error in INSERT VALUES
2021-02-02 12:05:19 +03:00
Maksim Kita
d0151de4bb
Merge pull request #19608 from kreuzerkrieg/Add_IStoragePolicy_interface
Add IStoragePolicy interface
2021-02-02 11:03:20 +03:00
Alexander Kuzmenkov
8bd026271a more cleanup 2021-02-02 04:16:44 +03:00
Alexander Kuzmenkov
78a9624fc5 CURRENT ROW frame start for ROWS frame 2021-02-02 02:27:23 +03:00
Alexander Kuzmenkov
5e99b4461d cleanup 2 2021-02-02 02:27:17 +03:00
Alexander Kuzmenkov
ef46c36317 start offset for ROWS frame 2021-02-02 02:27:17 +03:00
Alexander Kuzmenkov
5e78105786 cleanup 3 2021-02-02 02:27:17 +03:00
Azat Khuzhin
8b92749e1c Fix ParallelFormattingOutputFormat after allowed partial writes
The problem was that ParallelFormattingOutputFormat creats
BufferWithOutsideMemory with Memory<> whos size is 0, and this create
WriteBuffer with zero size, which will have endless loop.
2021-02-02 01:52:19 +03:00
Nikolai Kochetov
19e4a33f9d
Merge pull request #19544 from amosbird/limitconcurrency
Per MergeTree table query limit
2021-02-01 16:09:12 +03:00
Alexander Tokmakov
accf4d262e fix logical error 2021-02-01 15:40:57 +03:00
Alexander Kuzmenkov
5519e4c134 unbounded following frame end 2021-01-30 04:16:44 +03:00
Nikolai Kochetov
9f9b7fc3e2 Update ya.make 2021-01-29 13:05:21 +03:00
Alexander Kuzmenkov
2dd5062cc0 use current row as partition etalon 2021-01-28 23:46:22 +03:00
Alexander Kuzmenkov
09e192395a update comments and apply the setNeeded() advice from Nikolai 2021-01-28 23:39:27 +03:00
Alexander Kuzmenkov
1b891e042d fix a bug 2021-01-28 21:18:16 +03:00
Alexander Kuzmenkov
3ace39fbf7 simplify a loop and make RANGE frame the default 2021-01-28 20:05:01 +03:00
Alexander Kuzmenkov
e553eb112f cleanup 2021-01-28 16:47:06 +03:00
Alexander Kuzmenkov
629cb44d4c everything was wrong 2021-01-28 16:42:18 +03:00
Nikolai Kochetov
3b50a74759 Simplify optimization interface. 2021-01-28 15:32:02 +03:00
Nikolai Kochetov
4ef56a41cb Simplify optimizeTree 2021-01-28 14:15:45 +03:00
Nikolai Kochetov
e1765e7f88 Add method trivial to ActionsDAG 2021-01-28 14:00:24 +03:00
Nikolai Kochetov
3b7373e992 More comments. 2021-01-27 22:53:07 +03:00
Nikolai Kochetov
b244499d69 Fix build. 2021-01-27 22:24:59 +03:00
Nikolai Kochetov
cf05c17cfa Rewrite QueryPlan tree optimizations traverse. 2021-01-27 20:36:53 +03:00
Nikolai Kochetov
e9f893d9b0 Move query plan optimixations into separate files. 2021-01-27 16:57:26 +03:00
Alexander Kuzmenkov
0d69249c56 typo 2021-01-27 03:27:40 +03:00
Alexander Kuzmenkov
83cfdde6d9 RANGE frame works in some cases 2021-01-27 03:08:15 +03:00
Alexander Kuzmenkov
10a8831d8b partition by -- single loop 2021-01-26 20:59:38 +03:00
Alexander Kuzmenkov
b8a2a29f94 cleanup 2021-01-26 18:31:09 +03:00
Nikolai Kochetov
578f36e4f3 Update test.Fix ya.make. 2021-01-26 16:58:49 +03:00
kreuzerkrieg
29a2ef3089 Add IStoragePolicy interface 2021-01-26 10:55:28 +02:00
Amos Bird
66fe97d8bd
Per MergeTree table query limit 2021-01-26 14:03:31 +08:00
alexey-milovidov
7197552535
Merge pull request #19430 from ClickHouse/fix-14100
Fix error Extremes transform was already added to pipeline
2021-01-26 00:04:14 +03:00
Nikolai Kochetov
a6f787faea
Merge pull request #19253 from ClickHouse/split-actions-dag
Split actions dag
2021-01-25 18:13:42 +03:00
Alexander Kuzmenkov
574454c270 cleanup 2021-01-25 18:07:09 +03:00
Alexander Kuzmenkov
f8f79d5788 tmp -- the tests pass by some miracle 2021-01-23 02:03:07 +03:00
Nikolai Kochetov
290eadc121
Merge branch 'master' into split-actions-dag 2021-01-22 18:09:34 +03:00
Nikolai Kochetov
d683bf42ce Review fixes. 2021-01-22 16:46:56 +03:00
Nikolai Kochetov
41afc5938b Remove exception about extra extremes. 2021-01-22 13:44:24 +03:00
feng lv
beb0fec8bb mirror changes in code and comment 2021-01-22 09:13:22 +00:00
Nikolai Kochetov
801c540f5e Try fix tests. 2021-01-20 20:33:12 +03:00
Alexander Kuzmenkov
18c944257a cleanup 2021-01-20 20:23:15 +03:00
Nikolai Kochetov
fa3964d36d Fix test. 2021-01-20 12:42:55 +03:00
Alexander Kuzmenkov
6e4b9aa862 don't use simple transform 2021-01-20 10:10:54 +03:00
Nikolai Kochetov
a69d386492 Fix tests. 2021-01-19 20:09:40 +03:00
Nikolai Kochetov
35f48e60ad Fix description after step optimizations 2021-01-19 16:21:28 +03:00
Nikolai Kochetov
964af8e02c Fix description after step optimizations 2021-01-19 16:17:52 +03:00
Nikolai Kochetov
b1c7944f84 Fix description after step optimizations 2021-01-19 16:08:14 +03:00
Nikolai Kochetov
9db2974aaa Update explain for filter 2021-01-19 15:54:55 +03:00
Nikolai Kochetov
0711957fbb Split filter optimization. 2021-01-19 15:08:21 +03:00
Nikolai Kochetov
91403b2f75 Split filter optimization. 2021-01-19 15:04:45 +03:00
Nikolai Kochetov
b00f01d6b1 Split filter optimization. 2021-01-19 13:03:25 +03:00
Nikolai Kochetov
6e1a118642 Merge Filter and Expression steps. 2021-01-19 11:14:37 +03:00
Nikolai Kochetov
7135c62204 Update tryLiftUpArrayJoin 2021-01-18 19:12:16 +03:00
Nikolai Kochetov
76495124cd Fix readign from fd for ORCBlockInputFormat. 2021-01-15 18:45:29 +03:00
alesapin
07431a6494
Merge pull request #18980 from ClickHouse/fix-expressions-merge
Fix expressions merge
2021-01-13 11:16:01 +03:00
Nikolai Kochetov
1937659450 Add more info for ActionsDAG 2021-01-12 21:47:54 +03:00
Nikolai Kochetov
1f2a90d321 Remove debug code. 2021-01-12 21:41:11 +03:00
Nikolai Kochetov
af79c6ca9b Remove debug code. 2021-01-12 21:40:07 +03:00
Nikolai Kochetov
0aad1de330 Try fix Task was not found in task queue 2021-01-12 18:20:56 +03:00
Nikolai Kochetov
3b95ee8e60 Print log in case of exception in PollingQueue 2021-01-12 16:12:14 +03:00
Nikolai Kochetov
24503267d5 Print log in case of exception in PollingQueue 2021-01-12 15:42:18 +03:00
Nikolai Kochetov
c61e9a655a Print log in case of exception in PollingQueue 2021-01-12 13:01:19 +03:00
Nikolai Kochetov
ec70d7961b Try fix build. 2021-01-11 17:01:32 +03:00
Nikolai Kochetov
45b28a6374 Add more debug info to PollingQueue exception. 2021-01-11 13:09:40 +03:00
Nikolai Kochetov
496690896c Add more debug info to PollingQueue exception. 2021-01-11 12:08:13 +03:00
Alexey Milovidov
dab4719aac Remove some headers 2021-01-05 06:22:06 +03:00
Alexey Milovidov
d88d3de0d1 Fix UBSan report: applying non-zero offset to nullptr 2021-01-04 02:31:47 +03:00
Nikolai Kochetov
3a1ec56486 Revert "Merge pull request #18411 from ClickHouse/try-fix-max_result_rows"
This reverts commit 9a2b163db7, reversing
changes made to 5e97df7c29.
2021-01-03 21:51:57 +03:00
Amos Bird
6a644b2af1
Fix SimpleAggregateFunction in SummingMergeTree 2 2021-01-01 12:42:22 +08:00
Nikita Mikhaylov
4165a58ce4
Merge pull request #11617 from nikitamikhaylov/parallel-parsing-input-format
Parallel formatting
2020-12-31 21:22:16 +04:00
alexey-milovidov
a2e1f21ef2
Merge pull request #18637 from amosbird/summingsimple
Fix SimpleAggregateFunction in SummingMergeTree
2020-12-31 15:23:26 +03:00
Nikita Mikhaylov
f27aa148e0
Merge branch 'master' into parallel-parsing-input-format 2020-12-31 06:16:43 +04:00
alexey-milovidov
9a2b163db7
Merge pull request #18411 from ClickHouse/try-fix-max_result_rows
Use Port::Data instead of Chunk in LazyOutputFormat.
2020-12-31 02:24:10 +03:00
Nikita Mikhailov
fa48e062eb fix build 2020-12-30 21:51:41 +03:00
Nikita Mikhailov
8e31ce4a5c Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format 2020-12-30 18:22:11 +03:00
Nikita Mikhailov
d4ec52f732 shellchek 2020-12-30 18:21:58 +03:00
Amos Bird
ae72f96111
Fix SimpleAggregateFunction in SummingMergeTree 2020-12-30 22:38:11 +08:00
alexey-milovidov
25fffc7388
Merge pull request #18595 from ClickHouse/minor-fixes-minsim-hash
Minor fixes for min/sim hash
2020-12-30 17:36:47 +03:00
Nikita Mikhailov
b94a654715 build fix 2020-12-30 16:55:31 +03:00
Nikita Mikhailov
60b4a36c4a arcadia fix + live view fix + cleanup 2020-12-30 07:50:58 +03:00
Nikita Mikhailov
c5f92e5096 better formatfactory 2020-12-30 06:07:30 +03:00
Nikita Mikhailov
ffd73082ba fix memory and add comment 2020-12-30 01:34:26 +03:00
Nikita Mikhailov
2b90b4e01d Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format 2020-12-29 22:47:06 +03:00
Alexander Kuzmenkov
d4e5d5fdb4
Merge pull request #18455 from ClickHouse/aku/window-prototype
[wip] some window function fixes
2020-12-29 19:23:19 +03:00