Nikolai Kochetov
f6d86d6032
Merge branch 'master' into add-read-from-mt-step
2021-04-12 15:23:32 +03:00
Nikolai Kochetov
7019a9a659
Merge pull request #22673 from nvartolomei/nv/exp-arrow-stream
...
Experiment with ArrowStream streaming
2021-04-12 13:29:25 +03:00
chou.fan
4a6345c210
add array nullable datatype support
2021-04-11 15:05:51 +01:00
Ivan
495c6e03aa
Replace all Context references with std::weak_ptr ( #22297 )
...
* Replace all Context references with std::weak_ptr
* Fix shared context captured by value
* Fix build
* Fix Context with named sessions
* Fix copy context
* Fix gcc build
* Merge with master and fix build
* Fix gcc-9 build
2021-04-11 02:33:54 +03:00
Maksim Kita
8b34a54c2d
Merge pull request #22938 from kitaisreal/aggregate-function-allocates-memory-in-arena-default-impl-fix
...
IAggreagteFunction allocatesMemoryInArena removed default implementation
2021-04-10 14:08:59 +03:00
Alexander Kuzmenkov
e44b3822e3
Merge pull request #21850 from fastio/handle_errors_for_kafka_engine
...
Handle errors for Kafka engine
2021-04-09 22:59:40 +03:00
Maksim Kita
d9e9224188
IAggreagteFunction allocatesMemoryInArena removed default implementation
2021-04-09 20:12:06 +03:00
Nikolai Kochetov
48bcd5b490
Add tree conversion for expression.
2021-04-09 19:18:45 +03:00
Nikolai Kochetov
66b6d53a93
Add json=1 setting for explain actions
2021-04-09 17:44:58 +03:00
Nikolai Kochetov
d0b5615641
Add comments.
2021-04-09 12:35:21 +03:00
Nikolai Kochetov
28ca191102
Merge pull request #22087 from ClickHouse/better-filter-push-down
...
Better filter push down
2021-04-09 10:22:17 +03:00
alexey-milovidov
ee9b53a342
Merge pull request #22863 from kitaisreal/data-type-low-cardinality-format-tsv-parsing-issue
...
DataTypeLowCardinality format tsv parsing issue
2021-04-09 09:50:50 +03:00
Nikolai Kochetov
3426bc3906
Merge pull request #22763 from CurtizJ/fix-having-push-down
...
Fix pushdown of having
2021-04-08 21:53:50 +03:00
Maksim Kita
942399983c
DataTypeLowCardinality format tsv parsing issue
2021-04-08 20:12:41 +03:00
Nikolai Kochetov
794d7c89b6
Remove ReverseRowsStep
2021-04-08 16:18:17 +03:00
Nikolai Kochetov
febb187da0
Added test,
2021-04-08 15:54:27 +03:00
Nikolai Kochetov
7ffbeac9df
Add info about indexes to ReadFromMergeTree step.
2021-04-08 14:48:54 +03:00
Nikolai Kochetov
118090396f
Filter column after filter push down now always the first one..
2021-04-08 12:54:39 +03:00
Nikolai Kochetov
7c5a9133df
Add index info to ReadFromStorageStep.
2021-04-08 11:19:04 +03:00
Nicolae Vartolomei
7259834fad
More Arrow like code style
2021-04-07 23:33:25 +03:00
Nicolae Vartolomei
4ea363006b
Experiment with ArrowStream streaming
2021-04-07 23:33:25 +03:00
Anton Popov
fa9a19cbdd
fix pushdown of having
2021-04-07 17:02:59 +03:00
Nikita Mikhaylov
48af7a898c
Merge pull request #22299 from nikitamikhaylov/keen-wolf-storagefile-column-oriented
...
Merging #21302
2021-04-07 16:01:12 +03:00
Alexander Kuzmenkov
06bb58cb69
Merge pull request #22704 from ClickHouse/aku/window-multiple
...
fix window functions with multiple input streams and no sorting
2021-04-07 15:15:47 +03:00
Nikita Mikhailov
37f48d13b4
add test
2021-04-06 22:23:16 +03:00
Azat Khuzhin
f157278b72
Safer SCOPE_EXIT
...
It executes the code in the dtor, that should never throw.
2021-04-06 21:10:37 +03:00
Alexander Kuzmenkov
d9ad06bd6d
fix ubsan
2021-04-06 19:24:56 +03:00
Alexander Kuzmenkov
585da2c8d0
Merge remote-tracking branch 'origin/master' into HEAD
2021-04-06 14:58:21 +03:00
Alexander Kuzmenkov
06e7a9f8f2
fix window functions with multiple input streams and no sorting
2021-04-06 14:43:27 +03:00
Nikolai Kochetov
6102652c99
Merge branch 'master' into better-filter-push-down
2021-04-06 13:38:03 +03:00
Nikolai Kochetov
44700d97e9
Add setting to disable query plan optimization. Fix perftest.
2021-04-06 11:25:54 +03:00
Anton Popov
0d03b8c0c4
Merge pull request #21889 from CurtizJ/fix-aggregation-in-order-1
...
Fix bugs in aggregation by primary key
2021-04-04 18:17:04 +03:00
Alexander Kuzmenkov
d0037329cf
Merge pull request #22459 from ClickHouse/aku/window-frame-offset
...
fix window frame offset check and add more tests
2021-04-02 19:49:59 +03:00
chou.fan
111a0c26a0
fix list_nested_type uninitialized compile error
2021-04-02 10:59:32 +01:00
Anton Popov
56320bcbfd
minor refactoring
2021-04-02 01:16:54 +03:00
Anton Popov
88cd775f6a
Merge remote-tracking branch 'upstream/master' into HEAD
2021-04-02 00:14:03 +03:00
Alexander Kuzmenkov
d006c5532e
fix window frame offset check and add more tests
2021-04-01 18:56:58 +03:00
alexey-milovidov
e3aa47c525
Merge pull request #22425 from ClickHouse/parallel-formatting-memory
...
Add memory accounting in parallel formatting
2021-04-01 16:23:48 +03:00
alesapin
85fbb7eccf
Merge pull request #21976 from ClickHouse/try-fix-excessive-rows-for-collapsing-merge
...
CollapsingSortedAlgorithm should not return more than index_granularity rows
2021-04-01 16:20:28 +03:00
Alexey Milovidov
14f2cf9b80
Add memory accounting in parallel formatting
2021-04-01 06:17:23 +03:00
Peng Jian
1e033e8817
fix code style
2021-04-01 10:12:37 +08:00
Peng Jian
26b5482b4d
remove the flag in the parser
2021-03-31 22:25:51 +08:00
Peng Jian
cf19ab76dc
skip to next one before throw parsing exception
2021-03-31 17:16:51 +08:00
Peng Jian
909d5ad2b5
Handle errors for Kafka engine
2021-03-31 17:15:57 +08:00
Nikolai Kochetov
8fad179800
Fix some tests.
2021-03-30 18:14:20 +03:00
Nikolai Kochetov
88bfa6c9ba
Add ReadFromMergeTree step.
2021-03-30 13:25:26 +03:00
Anton Popov
ea82e7725f
Merge pull request #21562 from CurtizJ/serialization-refactoring-4
...
Refactoring of data types serialization
2021-03-29 16:36:44 +03:00
alexey-milovidov
c762fa2f75
Merge pull request #22129 from vdimir/issue-19303
...
Shrink totals block to 1 row for JOIN with TOTALS and arrayJoin
2021-03-29 05:26:17 +03:00
alexey-milovidov
c81d807dbc
Update JoiningTransform.cpp
2021-03-29 05:25:58 +03:00
Nikolai Kochetov
e9f7213858
Filter push down for LEFT/INNER JOIN, CreatingSets, Union.
2021-03-25 21:11:54 +03:00
Alexander Kuzmenkov
8ea697b7df
use camelCase
2021-03-25 18:49:45 +03:00
vdimir
8f5c8f32df
Shrink totals block to 1 row for JOIN with TOTALS and arrayJoin
2021-03-25 17:32:36 +03:00
Anton Popov
6a15431be7
Merge remote-tracking branch 'upstream/master' into HEAD
2021-03-25 15:57:35 +03:00
Nikolai Kochetov
3efd11becc
Extract converting from UnionStep.
2021-03-25 12:57:53 +03:00
Nikolai Kochetov
0e2f52518f
Extract converting from UnionStep.
2021-03-25 12:57:14 +03:00
Nikolai Kochetov
0afede382b
Use empty header for CreatingSets step.
2021-03-25 11:39:55 +03:00
Nikolai Kochetov
a325d75d75
Remove AddingDelayedSourceStep.
2021-03-24 16:27:04 +03:00
Nikolai Kochetov
12de01cb48
Remove AddingDelayedSourceStep.
2021-03-24 16:22:51 +03:00
Alexander Kuzmenkov
e0d1f6d80f
fixes
2021-03-24 01:52:16 +03:00
Alexander Kuzmenkov
0c70fe1a6d
fix field get
2021-03-23 17:39:59 +03:00
Nikolai Kochetov
ed19864e5b
Update CollapsingSortedAlgorithm.cpp
...
Add comment.
2021-03-23 11:25:45 +03:00
Nikolai Kochetov
d7fc5e69f4
Update CollapsingSortedAlgorithm.h
...
Added comment.
2021-03-23 11:18:49 +03:00
Anton Popov
5de2b8512f
fix destruction of aggregate states
2021-03-23 01:12:14 +03:00
Alexander Kuzmenkov
b0284f20c3
Merge branch 'master' into aku/laglead
2021-03-22 21:16:27 +03:00
Nikolai Kochetov
35ff8925df
Fix crash.
2021-03-22 17:43:45 +03:00
alesapin
4145033d00
Merge branch 'master' into try-fix-excessive-rows-for-collapsing-merge
2021-03-22 16:47:32 +03:00
Nikolai Kochetov
22444045f0
CollapsingSortedAlgorithm should not return more then index_granularity rows.
2021-03-22 16:18:14 +03:00
Nikolai Kochetov
730785f4c2
Merge pull request #21459 from ClickHouse/refactor-actions-dag
...
Refactor actions dag
2021-03-22 11:58:16 +03:00
Alexander Kuzmenkov
3166f0cbfc
cleanup
2021-03-19 20:18:17 +03:00
Vladimir
c8b5be636f
Merge pull request #21438 from arenadata/ADQM-170
2021-03-19 17:06:55 +03:00
Alexander Kuzmenkov
1beba597ca
Merge remote-tracking branch 'origin/master' into HEAD
2021-03-19 02:11:08 +03:00
Alexander Kuzmenkov
6aa9039f7d
float frames and lag/lead_in_frame
2021-03-19 02:05:43 +03:00
Anton Popov
6f7c8894e9
fix bugs in aggregation by primary key
2021-03-18 23:57:42 +03:00
Alexander Kuzmenkov
c821c0c27a
Merge pull request #21761 from ClickHouse/aku/chunk-no-columns
...
fix incorrect number of rows for Chunks with no columns in PartialSor…
2021-03-18 17:58:09 +03:00
Nikolai Kochetov
c3c393a7aa
Merge branch 'master' into refactor-actions-dag
2021-03-18 14:33:07 +03:00
chou.fan
8b5a989564
Merge branch 'master' into arrow_array
2021-03-18 10:12:03 +00:00
Nikolai Kochetov
3eba817a68
Add comments.
2021-03-17 19:08:46 +03:00
Nikolai Kochetov
738cb1af62
Fix filter push down columns order.
2021-03-17 18:33:18 +03:00
Alexander Kuzmenkov
1cd9f28bd4
another way
2021-03-17 18:31:30 +03:00
Alexander Kuzmenkov
e5bef75728
fix
2021-03-16 19:15:31 +03:00
chou.fan
99e594e704
parquet data type support array format read and write
2021-03-16 15:29:21 +00:00
Ilya Golshtein
ab670a31dc
AvroRowInputFormat::readPrefix inroduced
2021-03-16 17:40:59 +03:00
Anton Popov
6247cd5503
Merge remote-tracking branch 'upstream/master' into HEAD
2021-03-16 16:50:15 +03:00
Nikita Mikhaylov
2e13c767a0
Merge pull request #21149 from nikitamikhaylov/pp-for-csv-with-names
...
Support parallel parsing for *WithNames types
2021-03-16 14:38:03 +03:00
Nikita Mikhaylov
7d7a2bc724
Merge pull request #21630 from nikitamikhaylov/pf-local
...
Parallel formatting for clickhouse-local
2021-03-16 14:37:40 +03:00
Alexander Kuzmenkov
2328d56827
fix
2021-03-16 04:19:33 +03:00
Alexander Kuzmenkov
3c16ea0bc8
fix incorrect number of rows for Chunks with no columns in PartialSortingTransform
2021-03-16 01:59:12 +03:00
Nikita Mikhaylov
588f3ee11e
better[2]
2021-03-15 14:43:57 +03:00
Ilya Golshtein
abcf581005
avro bug with format_setting reference and a typo in kafka test
2021-03-15 12:19:33 +03:00
Ilya Golshtein
a579fcb424
kafka/avro works against table
2021-03-14 15:55:44 +03:00
Anton Popov
1b07d28043
fix unwanted changes
2021-03-13 02:59:42 +03:00
Anton Popov
ed42437219
Merge remote-tracking branch 'upstream/master' into HEAD
2021-03-13 01:41:26 +03:00
Nikita Mikhaylov
e4b4665ff5
better
2021-03-12 13:58:03 +03:00
Nikolai Kochetov
4967227fe9
Remove commented code.
2021-03-11 20:11:57 +03:00
Nikita Mikhaylov
b434a2f0bd
disable parallel parsing for grpc tests
2021-03-11 18:22:24 +03:00
Nikita Mikhaylov
761b369fa2
move to poco::event
2021-03-11 18:22:24 +03:00
Nikita Mikhaylov
f3ee129074
fix grpc
2021-03-11 18:22:24 +03:00
Nikita Mikhaylov
e7a1398def
try fix tests
2021-03-11 18:22:24 +03:00
Nikita Mikhaylov
3372dd7b6a
fix stupid bug
2021-03-11 18:22:24 +03:00
Nikita Mikhailov
3a7d48f3a4
style and tsan fix
2021-03-11 18:22:24 +03:00
Nikita Mikhailov
369c9da161
better
2021-03-11 18:22:24 +03:00
alexey-milovidov
eab35bfc7f
Update ParallelParsingInputFormat.h
2021-03-11 18:22:24 +03:00
Nikita Mikhailov
91a418b3a9
better
2021-03-11 18:22:24 +03:00
Nikita Mikhailov
8b30bb0fb5
style
2021-03-11 18:22:24 +03:00
Nikita Mikhailov
61fdeb5897
better
2021-03-11 18:22:24 +03:00
Nikita Mikhailov
138dedf2df
done
2021-03-11 18:22:24 +03:00
Alexander Kuzmenkov
a2bedd592e
Merge pull request #21436 from azat/optimize_aggregation_in_order-log-fix
...
Fix logging for optimize_aggregation_in_order=1 (with small max_block_size)
2021-03-11 17:46:48 +03:00
Nikita Mikhaylov
38e1cb41cc
done
2021-03-11 17:04:59 +03:00
Nikita Mikhaylov
5ac5ae3b27
Merge pull request #21157 from CurtizJ/fix-type-map
...
Improve support of integer keys in data type Map
2021-03-11 15:49:57 +03:00
Nikolai Kochetov
7a4dafe106
Fix filter push down columns order.
2021-03-11 13:34:15 +03:00
Nikolai Kochetov
4f133ae036
Merge branch 'master' into refactor-actions-dag
2021-03-10 12:40:55 +03:00
Anton Popov
bc417cf54a
refactoring of serializations
2021-03-09 17:46:52 +03:00
Alexander Kuzmenkov
4b0cbb6ed7
Update FinishAggregatingInOrderAlgorithm.h
2021-03-09 13:43:06 +03:00
Nikolai Kochetov
a669f7d641
Merge branch 'master' into refactor-actions-dag
2021-03-05 18:21:14 +03:00
Anton Popov
562065732d
Merge remote-tracking branch 'upstream/master' into HEAD
2021-03-05 17:30:05 +03:00
Anton Popov
87da7f0589
Update FinishAggregatingInOrderAlgorithm.h
2021-03-05 12:50:28 +03:00
Nikolai Kochetov
9a39459888
Refactor ActionsDAG
2021-03-04 20:38:12 +03:00
chou.fan
c97e734d93
Merge branch 'master' of github.com:ClickHouse/ClickHouse into arrow_array
2021-03-04 10:17:26 +00:00
Azat Khuzhin
45ca803973
Fix logging for optimize_aggregation_in_order=1 (with small max_block_size)
2021-03-04 10:34:41 +03:00
Azat Khuzhin
e858dae187
Fix SIGSEGV for distributed queries on failures
...
Since after pull(), cancel() will be called, and this will lead to
SIGSEGV, since there is no exception, but has_exception was not reseted
in pull()
2021-03-04 00:42:49 +03:00
Nikolai Kochetov
15921fbfcb
Remove index by name from ActionsDAG
2021-03-03 23:01:07 +03:00
Nikolai Kochetov
cb122160ae
Merge pull request #19291 from Avogar/hedged-requests
...
Implementation of HedgedRequests
2021-03-03 12:58:37 +03:00
Pavel Kruglov
153bfbfc28
Merge branch 'master' of github.com:ClickHouse/ClickHouse into hedged-requests
2021-03-02 11:59:32 +03:00
Nikolai Kochetov
f82e00ff3c
Fix inconsistent column type for Values input format.
2021-03-01 23:10:50 +03:00
Anton Popov
c98e6bb1ad
Merge pull request #20550 from ClickHouse/fix-number-of-threads-in-subqueries
...
Fix number of threads in subqueries
2021-03-01 15:49:38 +03:00
Pavel Kruglov
197058dc12
Merge branch 'master' of github.com:ClickHouse/ClickHouse into hedged-requests
2021-02-27 00:36:33 +03:00
Nikolai Kochetov
d91b8a3acb
Merge branch 'master' into filter-push-down
2021-02-26 19:33:27 +03:00
Nikolai Kochetov
b082b661f7
Fix ya.make
2021-02-26 19:32:12 +03:00
Nikolai Kochetov
d328bfa41f
Review fixes. Add setting max_optimizations_to_apply.
2021-02-26 19:29:56 +03:00
Nikolai Kochetov
f63d7b45ce
Merge branch 'master' into fix-number-of-threads-in-subqueries
2021-02-26 11:15:03 +03:00
Nikolai Kochetov
33364f6bdf
Remove debug output
2021-02-25 13:50:35 +03:00
Nikolai Kochetov
6f5d4ba8cd
Fix tests.
2021-02-25 00:31:15 +03:00
Nikolai Kochetov
aa8632a1bc
Fix tests.
2021-02-25 00:27:47 +03:00
Anton Popov
b6a519cd04
Merge remote-tracking branch 'upstream/master' into HEAD
2021-02-24 19:45:38 +03:00
Maksim Kita
ae79fb22be
Merge pull request #21121 from amosbird/enumdefaultfix
...
disable null_as_default when type is Nullable
2021-02-24 19:31:30 +03:00
Nikolai Kochetov
d966725f33
Try fix hung in void PullingAsyncPipelineExecutor::cancel()
2021-02-24 17:10:35 +03:00
Amos Bird
abf26d4935
disable null_as_default when type is Nullable
2021-02-24 14:45:14 +08:00
chou.fan
2c48be3cfa
Merge branch 'master' of github.com:ClickHouse/ClickHouse into arrow_array
2021-02-22 23:47:58 +00:00
Maksim Kita
f001a6755e
Updated for map
2021-02-22 23:32:43 +03:00
Maksim Kita
3b80395b1b
Fixed style check
2021-02-22 23:32:43 +03:00
Maksim Kita
5eec754fd6
Use standard checkStackSize
2021-02-22 23:32:43 +03:00
Maksim Kita
992747e5ec
Updated for Array
2021-02-22 23:32:43 +03:00
Maksim Kita
3f6050cee9
Fixed error code include
2021-02-22 23:32:43 +03:00
Maksim Kita
8520fc3e4c
Replace null fields in tuple during parsing with default values
2021-02-22 23:32:43 +03:00
Kruglov Pavel
815b4ff0d9
Merge branch 'master' into hedged-requests
2021-02-21 17:10:24 +03:00
alexey-milovidov
20a7ccf5b1
Merge pull request #20174 from amosbird/alias
...
Normalized function names (lower-case case-insensitive names)
2021-02-21 16:23:51 +03:00
Nikolai Kochetov
00e0dbc3e5
Fix test.
2021-02-20 20:42:06 +03:00
Nikolai Kochetov
2ae0b47edb
Refactor tryPushDownFilter optimization.
2021-02-20 19:25:47 +03:00
Nikolai Kochetov
2f67cc02c1
Merge pull request #20881 from azat/async-task-queue-wait-fix
...
Fix 'Empty task was returned from async task queue' on query cancellation
2021-02-20 10:56:04 +03:00
Maksim Kita
131fdb4507
Merge pull request #20958 from ClickHouse/fix-eintr-for-epoll-wait
...
Check for EINTR in epoll_wait
2021-02-20 00:28:19 +03:00
Nikolai Kochetov
d438d7e390
Fix timeout in epoll_wait for PollingQueue
2021-02-19 12:07:34 +03:00
Nikolai Kochetov
b9d6df9618
Check for eintr in epoll_wait
2021-02-19 11:49:41 +03:00
Nikolai Kochetov
6e9bf68217
Fix typo
2021-02-18 23:54:42 +03:00
Azat Khuzhin
9c01869090
Fix 'Empty task was returned from async task queue' on query cancellation
2021-02-18 22:15:21 +03:00
Nikolai Kochetov
0449546bca
Support TotalsHaving. Update test.
2021-02-18 16:13:09 +03:00
Amos Bird
77fd060665
Normalize function names
2021-02-18 20:20:28 +08:00
Kruglov Pavel
142a541361
Merge branch 'master' into hedged-requests
2021-02-18 14:23:00 +03:00
Nikolai Kochetov
7231a97085
Remove MaterializingStep
2021-02-18 14:15:16 +03:00
Vitaly Baranov
3cbb325913
Merge pull request #20506 from vitlibar/refactor-protobuf-format-io
...
Improved serialization in Protobuf format.
2021-02-18 11:31:37 +03:00
Nikolai Kochetov
d582160af4
Merge branch 'master' into filter-push-down
2021-02-18 10:58:27 +03:00
Anton Popov
f1fa110d48
fix type map with integer keys
2021-02-18 01:05:31 +03:00
Nikolai Kochetov
ec4dafaa5f
Fix build.
2021-02-17 22:19:39 +03:00
Nikolai Kochetov
56a5d1dafa
Skip stateful functions
2021-02-17 21:48:26 +03:00
Vitaly Baranov
18e036d19b
Improved serialization for data types combined of Arrays and Tuples.
...
Improved matching enum data types to protobuf enum type.
Fixed serialization of the Map data type.
Omitted values are now set by default.
2021-02-17 20:50:09 +03:00
Kruglov Pavel
794c3449ca
Merge branch 'master' into hedged-requests
2021-02-17 20:36:36 +03:00
Nikolai Kochetov
f6278ed429
Support for DIstinct, sorting steps.
2021-02-17 19:56:17 +03:00
Nikolai Kochetov
6522bfc402
Support for DIstinct, sorting steps.
2021-02-17 19:54:11 +03:00
Nikolai Kochetov
a8647096ed
Try fix tests.
2021-02-17 13:27:47 +03:00
Nikolai Kochetov
0b315fccc2
Merge branch 'master' into fix-number-of-threads-in-subqueries
2021-02-16 16:29:30 +03:00
Nikolai Kochetov
a72ef6f026
Fix number of threads for scalar subqueries and subqueries for index.
2021-02-16 11:26:24 +03:00
Kruglov Pavel
598576ce70
Merge branch 'master' into hedged-requests
2021-02-15 16:51:45 +03:00
Nikita Mikhailov
d615b8e516
more checks
...
(cherry picked from commit b45168ecaf37d0061edfd12c67a8c5300d45d2e3)
2021-02-15 16:11:16 +03:00
Nikolai Kochetov
f1c32c4690
Merge branch 'master' into filter-push-down
2021-02-12 18:26:08 +03:00
Nikolai Kochetov
90c7cf5a52
Push down for ArrayJoin
2021-02-12 18:24:31 +03:00
Nikolai Kochetov
93e1428f21
Fix limit push down.
2021-02-12 13:51:16 +03:00
Alexander Kuzmenkov
824475b224
cleanup
2021-02-12 13:37:27 +03:00
Nikolai Kochetov
443a3e7e6f
Fix limit push down.
2021-02-12 13:12:31 +03:00
Nikolai Kochetov
93ea1e5e82
Comment output
2021-02-11 20:13:59 +03:00
Alexander Kuzmenkov
1275be58bf
Merge remote-tracking branch 'origin/master' into HEAD
2021-02-11 19:49:37 +03:00
Alexander Kuzmenkov
ebb47595aa
Merge pull request #20293 from ClickHouse/aku/window-prototype-3
...
make window functions faster
2021-02-11 19:49:02 +03:00
Alexander Kuzmenkov
a77415781f
reserve the result columns in advance
2021-02-11 19:48:27 +03:00
Alexander Kuzmenkov
62b3bf7b57
some tests and speedup
2021-02-11 19:20:57 +03:00
Nikolai Kochetov
a26c8d9eee
Fix const filter resilt for filter push down.
2021-02-11 19:08:54 +03:00
Alexander Kuzmenkov
a2943fd196
cleanpu
2021-02-11 18:47:52 +03:00
Alexander Kuzmenkov
d8f9a8d3cd
first_value and last_value
2021-02-11 18:41:54 +03:00
Alexander Kuzmenkov
ecbcf47f28
lag/lead stubs + cleanup
2021-02-11 18:07:42 +03:00
Alexander Kuzmenkov
772073a0db
Update WindowTransform.cpp
2021-02-11 17:01:09 +03:00
Alexander Kuzmenkov
525400bc41
window function rank() and friends
2021-02-11 16:29:30 +03:00
Nikolai Kochetov
3a020d2dd5
filter push down for Aggregating
2021-02-11 11:49:12 +03:00
Alexander Kuzmenkov
363007b964
fixes
2021-02-11 11:39:39 +03:00
alesapin
c2bb2c2902
Merge pull request #20097 from ClickHouse/remove-adding-missed-step
...
Build actions dag to evaluate missing defaults.
2021-02-11 10:51:21 +03:00
Alexander Kuzmenkov
467ff74814
Merge remote-tracking branch 'origin/master' into HEAD
2021-02-11 10:42:39 +03:00
Alexander Kuzmenkov
2571dac984
Merge pull request #20111 from ClickHouse/aku/window-prototype
...
RANGE OFFSET window frame
2021-02-11 10:39:21 +03:00
Alexander Kuzmenkov
695e3a797a
some optimizations
2021-02-10 21:55:11 +03:00
Alexander Kuzmenkov
d5b0f30732
cache the block size in the block itself for some speedup
2021-02-10 15:44:07 +03:00
Alexander Kuzmenkov
a67a54e2a5
cleanup
2021-02-10 15:44:07 +03:00
Alexander Kuzmenkov
a2a0d385c5
style
2021-02-09 19:50:39 +03:00
Nikolai Kochetov
db09d5a990
Fix not closed ports in DelayedPortsProcessor
2021-02-09 19:35:46 +03:00
Alexander Kuzmenkov
8212976dc0
add boundary order check
2021-02-09 18:36:08 +03:00
Alexander Kuzmenkov
c18749a704
fix a bug and add some tests
2021-02-09 17:44:04 +03:00
Alexander Kuzmenkov
6e40b9fb6c
fix for the DESC frame
2021-02-09 14:56:58 +03:00
Alexander Kuzmenkov
fe8b414a69
cleanup
2021-02-09 14:56:58 +03:00
Nikolai Kochetov
229acbad5d
Merge pull request #20077 from ClickHouse/remove-adding-const-column-transform
...
Remove AddingConstColumn step and transform.
2021-02-09 11:28:44 +03:00
Nikolai Kochetov
e0a806c180
Delete filterPushDown.cpp
2021-02-08 22:10:27 +03:00
Nikolai Kochetov
4840d663e6
Merge pull request #20035 from ClickHouse/early-stop-for-delayed-ports-processor
...
Close input ports in DelayedPortsProcessor as soon as all outputs are finished
2021-02-08 18:18:11 +03:00
Nikolai Kochetov
00d5d28ddf
Fix build.
2021-02-08 15:52:30 +03:00
Nikolai Kochetov
d7fa440356
Merge branch 'master' into remove-adding-const-column-transform
2021-02-08 15:49:23 +03:00
Nikolai Kochetov
13b2c2de20
Fixing ya.make
2021-02-08 12:06:14 +03:00
Pavel Kruglov
f946aab759
Merge branch 'master' of github.com:ClickHouse/ClickHouse into hedged-requests
2021-02-06 17:38:56 +03:00
Pavel Kruglov
794f185442
Fix
2021-02-06 17:23:48 +03:00
Alexander Kuzmenkov
4bb38f333b
some simple cases
2021-02-05 18:34:03 +03:00
Nikolai Kochetov
98cfefdcfb
Fix build
2021-02-05 14:49:58 +03:00
Nikolai Kochetov
9869f70a0d
Remove AddMissed step and transform.
2021-02-05 14:41:44 +03:00
alesapin
65d7b39cd6
Merge pull request #20073 from ClickHouse/fix-split-filter-remove-column
...
Fix removing of filter column when split filter actions.
2021-02-05 13:31:02 +03:00
Nikolai Kochetov
a34cd32552
Fix build
2021-02-05 12:25:16 +03:00
Alexander Kuzmenkov
6824f13a35
tmp
2021-02-05 12:13:19 +03:00
Nikolai Kochetov
d9aa1096cf
Build actions dag to evaluate missing defaults.
2021-02-04 23:36:50 +03:00
Alexander Kuzmenkov
26020daca5
Merge remote-tracking branch 'origin/master' into HEAD
2021-02-04 20:58:25 +03:00
Alexander Kuzmenkov
3796a183ba
Merge remote-tracking branch 'origin/master' into HEAD
2021-02-04 20:54:36 +03:00
Nikolai Kochetov
e3d6ffd9dc
Remove AddingConstColumn step and transform.
2021-02-04 17:25:11 +03:00
Nikolai Kochetov
7a2279d067
Fix removing filter column from expression after Filter actions split
2021-02-04 14:44:00 +03:00
Alexander Kuzmenkov
02ca7386b1
Merge pull request #19951 from ClickHouse/aku/window-prototype-3
...
CURRENT ROW and offset for start of ROWS frame
2021-02-04 14:33:13 +03:00
Alexander Kuzmenkov
c1c71fc8e9
ROWS OFFSET frame end
2021-02-04 10:41:09 +03:00
Alexander Kuzmenkov
4abbbae583
Merge remote-tracking branch 'origin/aku/window-prototype-3' into HEAD
2021-02-04 09:52:02 +03:00
Alexander Kuzmenkov
1b6262f874
cleanup
2021-02-04 09:51:46 +03:00
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
Anton Popov
2e8b45afc1
fix ubsan report
2021-02-01 16:35:08 +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