Nikolai Kochetov
c81dd49686
Try fix build.
2020-05-21 22:55:27 +03:00
Nikolai Kochetov
adfa77be9d
Added another one comment.
2020-05-21 20:07:22 +03:00
Nikolai Kochetov
d6ce1ed7b9
Added comments.
2020-05-21 14:54:26 +03:00
Nikolai Kochetov
37e5da737c
Fix ya.make.
2020-05-21 12:27:55 +03:00
Nikolai Kochetov
cfef21be86
Fix build.
2020-05-21 11:54:41 +03:00
Nikolai Kochetov
adac47a845
Fix build.
2020-05-21 10:47:38 +03:00
Nikolai Kochetov
f6d5961915
Fix build.
2020-05-21 10:40:01 +03:00
Nikolai Kochetov
6efc51335a
Fix build.
2020-05-21 10:31:43 +03:00
hcz
ab37791134
Fix arrow stream termination
2020-05-21 15:28:10 +08:00
hcz
e11fa03bdd
Add ArrowStream input and output format
2020-05-21 12:07:47 +08:00
Azat Khuzhin
d93b9a57f6
Forward declaration for Context as much as possible.
...
Now after changing Context.h 488 modules will be recompiled instead of 582.
2020-05-21 01:53:18 +03:00
Nikolai Kochetov
bcd38ac207
Fix build.
2020-05-20 22:08:20 +03:00
Nikolai Kochetov
6f50700f35
Add PullingOutputFormat and PullingPipelineExecutor.
2020-05-20 21:53:18 +03:00
Nikolai Kochetov
fcf58fa4a1
Fix clang build.
2020-05-20 17:04:24 +03:00
Nikolai Kochetov
7ba5419190
Update PipelineExecutor.
2020-05-19 23:24:06 +03:00
Nikolai Kochetov
daa519a654
Fix ya.make
2020-05-19 12:04:56 +03:00
Nikolai Kochetov
0ec321a811
Fix ya.make
2020-05-19 00:01:33 +03:00
Nikolai Kochetov
4ce0ef6055
Fix tests.
2020-05-18 21:40:01 +03:00
Nikolai Kochetov
0ce9afd1e3
Try fix tests.
2020-05-18 19:19:43 +03:00
Nikolai Kochetov
deeae66455
Fix clang build.
2020-05-18 18:52:00 +03:00
Nikolai Kochetov
0e48cb1f80
Removed allow_processors flag from executeQuery().
2020-05-18 16:55:07 +03:00
Artem Zuikov
fcaee7dc98
add file to ya.make
2020-05-18 13:37:13 +03:00
alexey-milovidov
7efd2a825f
Merge pull request #10463 from ClickHouse/parallel-final
...
Parallel final
2020-05-18 05:20:18 +03:00
alexey-milovidov
327a48bcf9
Update AddingSelectorTransform.h
2020-05-18 05:19:08 +03:00
alexey-milovidov
f7b1263d41
Merge pull request #10268 from ClickHouse/max-rows-to-sort
...
Added failing tests about "max_rows_to_sort" setting.
2020-05-17 22:21:30 +03:00
alexey-milovidov
d3c9f5cb65
Update RowRef.h
2020-05-17 13:31:06 +03:00
alexey-milovidov
6c49967395
Merge pull request #10802 from PerformanceVision/offset_without_limit
...
Add the ability to set an OFFSET clause without a LIMIT
2020-05-17 12:06:22 +03:00
Alexey Milovidov
c33373f7fb
Minor modification
2020-05-17 10:43:23 +03:00
Alexey Milovidov
de8120d69a
Improvement; added a test
2020-05-17 10:17:54 +03:00
Alexey Milovidov
c06995c03c
Whitespaces
2020-05-17 09:47:53 +03:00
alexey-milovidov
a3346e9331
Merge pull request #10912 from ClickHouse/static-mutate
...
Static mutate
2020-05-17 09:05:35 +03:00
Nikolai Kochetov
caab379602
Merge pull request #10932 from ClickHouse/pulling-executor
...
Add PullingPipelineExecutor.
2020-05-16 23:09:18 +03:00
Nikolai Kochetov
8c2d0aa7c0
Fix comment.
2020-05-15 22:30:41 +03:00
Dmitry
a597e62d3b
nested_columns_holder is not destoyed
2020-05-15 22:27:18 +03:00
Nikolai Kochetov
5e7a35bbae
Try simplify code.
2020-05-15 22:19:20 +03:00
Nikolai Kochetov
b8052f512a
try fix tests.
2020-05-15 20:40:11 +03:00
Nikolai Kochetov
3537c1a65e
Added comment.
2020-05-15 13:26:24 +03:00
Nikolai Kochetov
d84be03268
Fix tests.
2020-05-15 11:17:40 +03:00
Nikolai Kochetov
0344c9d9dc
Fix build.
2020-05-15 11:09:50 +03:00
Nikolai Kochetov
681955661f
Add PullingPipelineExecutor.
2020-05-15 00:03:38 +03:00
Ivan
21ce8dbbc3
Fix CH-over-YDB build ( #10921 )
2020-05-14 22:56:10 +03:00
Dmitry
bef37517b8
fixes after reivew 2
2020-05-14 17:20:49 +03:00
Nikolai Kochetov
4d22374f24
Merged with master.
2020-05-14 12:06:15 +03:00
Nikolai Kochetov
4d0503f021
Make IColumn::mutate() static.
2020-05-14 11:30:18 +03:00
Nikolai Kochetov
f65305878b
Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues ( #10890 )
...
* Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues
* Try fix build.
* Try fix build.
* Fix build.
* Make convertToValues static.
* fix build.
* Remove const casts.
* Added comment.
* Fix build.
* Fix build.
* Add test.
* Fix test.
2020-05-14 10:59:14 +03:00
Dmitry
bbe0245b9d
changes after review #1
2020-05-13 16:49:10 +03:00
Dmitry
c4295d97f9
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-05-12 17:57:32 +03:00
Dmitry
3ec80b5531
now aggregates in parallel
2020-05-12 17:50:13 +03:00
Guillaume Tassery
b99ff5aa2d
const keyword
2020-05-11 18:01:23 +07:00
Guillaume Tassery
5b6e9f2a7e
offset_without_limitMerge branch 'master' of github.com:ClickHouse/ClickHouse into offset_without_limit
2020-05-11 16:05:44 +07:00
Guillaume Tassery
d6eae04eb0
cosmetic
2020-05-11 13:26:01 +07:00
Guillaume Tassery
c7dfe9e93d
cosmetic
2020-05-11 11:47:31 +07:00
Guillaume Tassery
654d6fcd26
cosmetic
2020-05-11 11:35:21 +07:00
alexey-milovidov
40ef113503
Merge branch 'master' into parallel-final
2020-05-11 06:47:44 +03:00
Guillaume Tassery
802ae8948a
cosmetic
2020-05-11 10:36:52 +07:00
Alexey Milovidov
fd26550a70
Remove commented code before merge #10580
2020-05-10 03:41:52 +03:00
Alexey Milovidov
d9257a8682
Merge branch 'arrow-io-format' of https://github.com/FawnD2/ClickHouse into FawnD2-arrow-io-format
2020-05-10 03:26:10 +03:00
Dmitry
0286b60ed6
return multiple blocks
2020-05-08 22:46:52 +03:00
Ivan
85d783c247
Poco contrib refactoring ( #10396 )
...
* Remove config_common.h
* Refactor libcpuid contrib
* Remove support for libcpuinfo
* Define USE_CPUID in Arcadia
* Refactor Poco libraries
2020-05-08 17:11:19 +03:00
Dmitry
015a3555c6
small fixes
2020-05-08 16:28:18 +03:00
Dmitry
e7b747b0b7
limit fixes + func(primary_key) group by works
2020-05-08 16:13:50 +03:00
Dmitry
465dfe47fc
fixed faults on LC
2020-05-07 23:13:51 +03:00
Dmitry
7bbb85dbe5
small fixes
2020-05-07 18:37:19 +03:00
Dmitry
0883dd67d3
removed some code duplication
2020-05-07 17:54:15 +03:00
Guillaume Tassery
2e719314a3
push functional draft
2020-05-07 20:40:50 +07:00
Nikolai Kochetov
152923aaa4
Merge pull request #10667 from palasonic1/palasonic-fix-params-order
...
fix order of params in AggregatingTransform constructor
2020-05-06 21:47:41 +03:00
alexey-milovidov
e4b3234df9
Merge pull request #10664 from ClickHouse/fix-10655
...
Fix 10655
2020-05-06 21:34:10 +03:00
alexey-milovidov
f2705cf608
Merge pull request #10698 from ClickHouse/fix-10674
...
Do not filter totals
2020-05-06 21:30:11 +03:00
Nikolai Kochetov
c72b0a45bc
Do not filter totals.
2020-05-06 14:30:17 +03:00
Nikolai Kochetov
bd9df858ed
Merge pull request #10660 from ClickHouse/fix-10566
...
Fix 10566
2020-05-06 11:56:44 +03:00
Guillaume Tassery
8ce606571e
write first draft of offset clause
2020-05-06 13:50:55 +07:00
FawnD2
ea87bd1c64
Merge branch 'master' into arrow-io-format
2020-05-05 18:52:44 +03:00
Dmitry
e98c23a8cf
read in order enabled
2020-05-05 17:35:23 +03:00
FawnD2
19022cb670
Remove redundant includes. Style fix
2020-05-05 15:56:54 +03:00
FawnD2
aaf4f4ad61
Add missing Float16 for parquet format
2020-05-05 04:46:04 +03:00
Maxim Serebryakov
3691400a60
fix order of params in AggregatingTransform
2020-05-04 23:26:33 +03:00
Gleb Novikov
c637d99e07
Volumes and storages refactoring:
...
1. Moved Volume to separate file
2. Created IVolume interface and implemented current behaviour in implementation of new interface — VolumeJBOD
3. Replaced all old volume usages with new VolumeJBOD. Where it is unnecessary to have JBOD — left just IVolume.
4. Removed old Volume completely
5. Moved StoragePolicy to separated files
6. Moved DiskSelector to separated files
7. Removed DiskSpaceMonitor file
2020-05-04 23:15:38 +03:00
Nikolai Kochetov
b23b02094f
Added comments.
2020-05-04 22:17:52 +03:00
Nikolai Kochetov
ee65f3eedc
Init all input ports in GroupingAggregatedTransform.
2020-05-04 21:07:56 +03:00
Nikolai Kochetov
4e27c33451
Init all input ports in GroupingAggregatedTransform.
2020-05-04 20:59:07 +03:00
Nikolai Kochetov
97dde2bcdf
Fix limit for MergingSorted with fast-forward optimization.
2020-05-04 20:16:16 +03:00
FawnD2
2f8435813c
Remove unused stream
2020-05-04 17:49:13 +03:00
FawnD2
da0a908d27
Remove unused stream
2020-05-04 17:47:09 +03:00
FawnD2
b492e92d41
Remove extra check
2020-05-04 17:32:36 +03:00
FawnD2
182de47012
Use file reader for Arrow format
2020-05-04 17:30:42 +03:00
Anton Okhitin
7366227115
Fix arcadia build
2020-05-04 16:47:08 +03:00
FawnD2
6d6d04903f
Remove check
2020-05-04 16:33:20 +03:00
FawnD2
a044766d58
Remove check
2020-05-04 16:26:20 +03:00
FawnD2
17450811d4
Move getHeader at the beginning of generate()
2020-05-04 16:19:25 +03:00
FawnD2
83148289d8
Rename arg
2020-05-04 16:01:37 +03:00
FawnD2
7b23844b32
Common order of precompiled checks
2020-05-04 03:58:10 +03:00
FawnD2
02e12215e7
Apply reducing memory usage optimization for seekable files to ORC format
2020-05-04 03:52:28 +03:00
FawnD2
a554177724
Simplify ORC format
2020-05-04 02:23:20 +03:00
FawnD2
112758b99d
Merge branch 'master' into arrow-io-format
2020-05-04 00:53:17 +03:00
FawnD2
2359ba3497
Correct stop condition
2020-05-03 22:59:19 +03:00
FawnD2
6b2e97fd56
Increate total read length while reading
2020-05-03 22:54:28 +03:00
FawnD2
b4898bdd19
Read single batch
2020-05-03 22:49:06 +03:00
FawnD2
a8d914a811
Read full table
2020-05-03 22:22:41 +03:00
FawnD2
b86562b8bc
Style fixes
2020-05-03 21:29:04 +03:00
FawnD2
7cc7a87f9f
Simplify interfaces
2020-05-03 21:12:14 +03:00
FawnD2
a590826fbb
Format settings for Arrow
2020-05-03 15:26:39 +03:00
FawnD2
e5b59616cd
Style fix
2020-05-03 15:25:53 +03:00
Alexey Milovidov
469cdc315b
Added suggestion from @azat #10607
2020-05-03 14:40:37 +03:00
FawnD2
f62f1a5924
Add missed include
2020-05-03 06:08:37 +03:00
FawnD2
6e0b31fb2a
Arrow output format
2020-05-03 05:46:36 +03:00
FawnD2
aeed62d5e7
Remove unused error codes
2020-05-03 04:20:03 +03:00
FawnD2
4d0225f5a9
std::string -> String
2020-05-03 04:15:09 +03:00
FawnD2
f4fe23e3fe
Add ptr wrapper. Fix style
2020-05-03 04:01:05 +03:00
FawnD2
fa1c35753b
Move CH -> Arrow routine converter into separated class
2020-05-03 03:54:39 +03:00
Alexey Milovidov
554e7a0dd2
Preparations
2020-05-02 22:59:07 +03:00
Alexey Milovidov
e6ab4d655b
Fix bad code
2020-05-02 22:54:29 +03:00
Alexey Milovidov
f0e80fec68
Whitespaces
2020-05-02 22:41:01 +03:00
alexey-milovidov
330627f597
Update ArrowBlockInputFormat.h
2020-05-02 22:35:58 +03:00
alexey-milovidov
47e3f83bc8
Update ArrowBlockInputFormat.h
2020-05-02 22:34:34 +03:00
alexey-milovidov
07f824c746
Update ArrowBlockInputFormat.cpp
2020-05-02 22:33:47 +03:00
alexey-milovidov
dfeb76038d
Update ArrowBlockInputFormat.h
2020-05-02 22:32:33 +03:00
alexey-milovidov
fbb280b5ac
Update ArrowBlockInputFormat.cpp
2020-05-02 22:32:21 +03:00
alexey-milovidov
250a44a47f
Merge pull request #10607 from Avogar/json_as_string_format
...
Add JSONAsStringRowInputFormat
2020-05-02 22:17:22 +03:00
Matwey V. Kornilov
d7627fa4fb
Fix capnproto version check for capnp::UnalignedFlatArrayMessageReader
...
capnp::UnalignedFlatArrayMessageReader was introduced in
3aa2b2aa02
(which is a part of 0.7.0 release). Unfortunately,
capnp::UnalignedFlatArrayMessageReader was removed in
3f0fee61c6
(which is a part of 0.8.0 release)
So change CAPNP_VERSION check accordingly.
2020-05-01 22:32:06 +03:00
Avogar
697d5b07ce
Fix build and style errors. Update test.
2020-05-01 19:41:14 +03:00
Avogar
6464a1a902
Add JSONAsStringRowInputFormat
2020-04-30 23:16:09 +03:00
Nikolai Kochetov
10afbc22b5
Fix build.
2020-04-30 16:36:20 +03:00
Nikolai Kochetov
62e9be7ba8
Fix build.
2020-04-30 14:33:27 +03:00
Nikolai Kochetov
19dadb8c2d
Add parallel final.
2020-04-30 12:59:08 +03:00
FawnD2
538e6c39da
Arrow input format
2020-04-28 22:52:22 +03:00
Nikolai Kochetov
de6d2d01b9
Try to fix tests.
2020-04-27 21:15:55 +03:00
Nikolai Kochetov
2f06180c5e
Revert changes for CSVRowOutputFormat.
2020-04-27 18:21:53 +03:00
Nikolai Kochetov
201a184d31
Enable auto flust for output formats if enable_streaming was set.
2020-04-27 18:00:10 +03:00
Nikolai Kochetov
32baa073b5
Merge remote-tracking branch 'upstream/master' into insert_into_watch_from_live_view
2020-04-27 17:49:50 +03:00
alexey-milovidov
436e4e3f5e
Merge pull request #10502 from oandrew/avro-nested2
...
Avro nested fields - support complex types
2020-04-27 13:44:58 +03:00
Andrew Onyshchuk
570be94a48
Use correct type for DateTime64 (ubsan)
2020-04-26 21:10:30 -05:00
alexey-milovidov
c6ae6a7ba8
Merge pull request #10418 from ClickHouse/fix_logical_error_in_diagnostic_info
...
Better diagnostic info in input formats
2020-04-26 20:26:59 +03:00
alexey-milovidov
d1464a441f
Merge pull request #10503 from oandrew/read-columns-perf-fix
...
IRowInputFormat performance fix
2020-04-26 17:36:54 +03:00
Vitaliy Zakaznikov
626468d255
Adding support for streaming mode to JSONEachRowRowOutputFormat
2020-04-26 15:56:45 +02:00
Vitaliy Zakaznikov
369b4d53ef
Adding support for output_format_enable_streaming
format setting.
2020-04-26 15:44:11 +02:00
Dmitry
d9ac0e8fef
Merge branch 'master' of github.com:yandex/ClickHouse into group_by_in_order_optimization
2020-04-26 14:44:06 +03:00
Andrew Onyshchuk
4a5497498e
IRowInputFormat performance fix
2020-04-25 19:33:36 -05:00
Alexey Milovidov
d01bd44f14
Merge branch 'master' into execute-query-flush-format-2
2020-04-26 03:31:46 +03:00
alexey-milovidov
8820b43606
Merge pull request #10479 from Avogar/markdown_format
...
Markdown format
2020-04-26 03:25:48 +03:00
Andrew Onyshchuk
e7ba75ce98
Avro nested fields - support complex types
2020-04-25 17:42:49 -05:00
Azat Khuzhin
40c65f7bee
IRowInputFormat: omit "Skipped 0 rows with errors while reading the input stream"
...
This will just pollute the output log.
And this is significant for kafka streaming, since it will print this
message for each message (due to how
ReadBufferFromKafkaConsumer/KafkaBlockInputStream works).
You can see this in the server log of the test_storage_kafka
(integration test), for the table with kafka_skip_broken_messages > 0,
it will have 52 lines of such message, 2 with "Skipped 1 rows" and 50
with "Skipped 0 rows" (since there are 52 messages in summary, 2
malformed and 50 correct).
2020-04-25 15:16:29 +03:00
Alexander Tokmakov
53dcce55e9
better diagnostic info in input formats
2020-04-24 15:03:48 +03:00
Avogar
778f1aa1e7
Merge branch 'markdown_format' of github.com:avogar/ClickHouse into markdown_format
2020-04-24 14:07:04 +03:00
Avogar
2458da802c
Update MarkdownRowOutputFormat
2020-04-24 14:06:41 +03:00
Alexey Milovidov
d3418bbb02
Fix clang-tidy
2020-04-22 11:45:14 +03:00
Alexey Milovidov
03e17405cd
Checkpoint
2020-04-22 10:03:43 +03:00
Alexey Milovidov
603d132d45
Checkpoint
2020-04-22 09:34:20 +03:00
Alexey Milovidov
0a7edce036
Checkpoint
2020-04-22 09:01:33 +03:00
alexey-milovidov
7690c34e5b
Merge pull request #10424 from ClickHouse/tsv-bom-extra-case
...
Allow to parse BOM in TSV if the first column cannot contain BOM in its value
2020-04-22 06:56:43 +03:00
Alexander Kuzmenkov
d1c5e38a21
Merge pull request #10385 from CurtizJ/tuple-literal
...
Parse tuples of tuples as literals
2020-04-22 05:49:14 +03:00