Commit Graph

624 Commits

Author SHA1 Message Date
Azat Khuzhin
6097f769c7 Fix assertion for carriage return in the header in TSVWithNames* format.
TabSeparatedRowInputFormat::readPrefix() tries to check for carriage
return (via checkForCarriageReturn()), however it does the check after
checking the column is exists, reorder the codepath a little bit to
run checkForCarriageReturn() before.
2020-08-12 11:13:19 +03:00
Azat Khuzhin
72205cd326 Call writePrefix() from ctor in SinkToOutputStream
This will fix lack of headers for the following formats if there are
zero rows:
- TSVWithNames
- CSVWithNames
- TSVWithNamesAndTypes
2020-08-11 00:52:35 +03:00
Azat Khuzhin
d5a2e1e61c Call doWritePrefix() if IOutputFormat works as Processor (i.e. clickhouse-local)
This fixes the *WithNames output format (lack of header before this
patch).
2020-08-11 00:52:35 +03:00
Azat Khuzhin
ba92213d21 Write header only once in TSVWithNames* 2020-08-11 00:52:35 +03:00
Alexey Milovidov
edd89a8610 Fix half of typos 2020-08-08 03:47:03 +03:00
Anton Popov
35d0328462
Merge pull request #13396 from CurtizJ/fix-13198
Fix assertion in FinishSortingTransform.
2020-08-07 15:36:17 +03:00
Nikolai Kochetov
79f30f9446
Merge pull request #13399 from hczhcz/patch-0806
Fix empty output of arrow related formats
2020-08-07 15:31:45 +03:00
hcz
898e19e18d Fix function names 2020-08-07 15:40:05 +08:00
Nikolai Kochetov
539be71635 Fix tests. 2020-08-06 13:05:27 +03:00
Azat Khuzhin
15be6a0dd5 Fix quirks for PrettyCompactMonoBlock
- Fix PrettyCompactMonoBlock for clickhouse-local (broken in 20.3+,
  fails with an error `Unknown format PrettyCompactMonoBlock`, after #6239)
- Fix extremes/totals with PrettyCompactMonoBlock (even before 20.3
  breakage they were simply ignored)
2020-08-06 11:59:45 +03:00
hcz
dadcca6c08 Fix empty output of arrow related formats 2020-08-06 16:32:31 +08:00
Anton Popov
e7d3154d38 fix queries with order by prefix of primary key and constant columns 2020-08-06 02:37:39 +03:00
Alexander Kuzmenkov
4417fb80e6
Merge pull request #13203 from oandrew/avro-confluent-skip-tombstone
AvroConfluent: skip Kafka tombstone records/skip broken records
2020-08-05 02:47:42 +03:00
Andrew Onyshchuk
2883831564 AvroConfluent: skip broken messages 2020-08-04 02:43:42 -05:00
Andrew Onyshchuk
99c183da0f AvroConfluent: skip tombstone records 2020-08-04 02:43:42 -05:00
alexey-milovidov
2c4a494440
Update DelayedSource.cpp 2020-08-03 21:50:02 +03:00
Nikolai Kochetov
b6f04cac47 Fix totals and extremes for delayed replica. 2020-08-03 21:47:13 +03:00
Nikolai Kochetov
42c5248611 Fix totals and extremes for delayed replica. 2020-08-03 20:41:56 +03:00
Alexey Milovidov
6f690b7c0d Normalize ya.make files, fix "Arcadia" build 2020-08-02 16:57:38 +03:00
alexey-milovidov
344925fbdd
Merge pull request #13151 from ClickHouse/refactor-pipeline-executor
Refactor pipeline executor
2020-08-02 01:30:33 +03:00
alexey-milovidov
1f19d7e9bd
Merge pull request #13016 from ClickHouse/limit-push-down
Limit push down
2020-08-02 01:23:06 +03:00
alexey-milovidov
b0b27e687f
Update ITransformingStep.h 2020-08-02 01:21:50 +03:00
alexey-milovidov
bb25cff7b9
Update ITransformingStep.h 2020-08-02 01:21:15 +03:00
Nikolai Kochetov
c786f05388
Merge pull request #13189 from ClickHouse/refactor-pipes-2
Remove TreeExecutorBIS
2020-08-01 11:56:50 +03:00
Nikolai Kochetov
39530f837e Remove TreeExecutorBlockInputStream. 2020-07-31 16:23:19 +03:00
Nikolai Kochetov
14af7208a0
Update ExecutingGraph.h 2020-07-31 15:57:21 +03:00
alexey-milovidov
91156bef54
Merge pull request #13075 from ClickHouse/fix-11327
Fix 11327
2020-07-31 14:53:07 +03:00
Nikolai Kochetov
191dd81963 Check header for totals and extremes. 2020-07-31 14:47:33 +03:00
Nikolai Kochetov
3306a24273
Update ConvertingTransform.h 2020-07-31 14:11:03 +03:00
Nikolai Kochetov
a337d2e2bc Merge branch 'master' into refactor-pipeline-executor 2020-07-31 14:02:58 +03:00
alexey-milovidov
065db05665
Merge pull request #12638 from ianton-ru/selected_rows_event
Add SelectedRows and SelectedBytes events
2020-07-31 12:48:46 +03:00
alesapin
2eb01fd655
Merge pull request #13104 from ClickHouse/volumes-refactorings
Merging #12670
2020-07-31 11:21:30 +03:00
alexey-milovidov
c2a1b4c08b
Merge pull request #13058 from markpapadakis/master
Minor perf. improvement
2020-07-31 02:32:19 +03:00
alexey-milovidov
158587c0d1
Update PipelineExecutor.cpp 2020-07-31 02:31:49 +03:00
Nikolai Kochetov
41ef8a9191 Fix style. 2020-07-30 22:30:06 +03:00
Nikolai Kochetov
6ecd412023 Fix build. 2020-07-30 21:28:36 +03:00
Nikolai Kochetov
aa961149f7 Fix build. 2020-07-30 21:23:57 +03:00
Nikolai Kochetov
13c121e46b Fix build. 2020-07-30 21:18:30 +03:00
Nikolai Kochetov
ee9a46fb33 Fix build. 2020-07-30 20:00:38 +03:00
Nikolai Kochetov
aa51f7170c Fix build. 2020-07-30 19:27:11 +03:00
Nikolai Kochetov
dde7a80987 Extract ExecutingGraph from PipelineExecutor. 2020-07-30 19:24:50 +03:00
alesapin
724b7be555 Merge branch 'volumes-related-refactorings' of https://github.com/excitoon-favorites/ClickHouse into volumes-refactorings 2020-07-30 12:20:48 +03:00
alesapin
7a806eb90f
Merge pull request #13017 from ClickHouse/freeze_partition_with_name
Alter table freeze with verbose output
2020-07-29 18:42:48 +03:00
Nikolai Kochetov
59d543ca1c Ignore constants for remote query from local replica. 2020-07-29 17:30:03 +03:00
Nikolai Kochetov
be24184deb Ignore constants for remote query from local replica. 2020-07-29 17:27:37 +03:00
Nikolai Kochetov
fdc49cadb7 Ignore constants for remote query from local replica. 2020-07-29 15:51:59 +03:00
Nikolai Kochetov
54c6785b36 Try fix tests. 2020-07-29 15:29:20 +03:00
Nikolai Kochetov
d9c78cde6b Try fix tests. 2020-07-29 15:19:50 +03:00
alexey-milovidov
c5d76dac69
Update PipelineExecutor.cpp 2020-07-29 14:38:57 +03:00
Nikolai Kochetov
bf8f28a788 Try fix tests. 2020-07-29 14:06:00 +03:00