Commit Graph

46031 Commits

Author SHA1 Message Date
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
e43f49edfb Add a test for *WithNames* via clickhouse-local (corner cases)
- empty rows
- multiple runs to the same file (write header only once)
2020-08-11 00:52:35 +03:00
Azat Khuzhin
8d5011a3e7 Add a test for *WithNames* with clickhouse-local 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
Azat Khuzhin
f18b06f7fa Add test for File(TSVWithNames) 2020-08-11 00:52:35 +03:00
Azat Khuzhin
c76ab5340f Add csv_with_names prefix to 01375_storage_file_write_prefix test 2020-08-11 00:52:35 +03:00
Alexey Milovidov
16b9d77ebf Merge branch 'master' of github.com:yandex/ClickHouse into clickhouse-install 2020-08-11 00:41:35 +03:00
Alexey Milovidov
4ad89e626f Merge branch 'master' into clickhouse-install 2020-08-11 00:41:12 +03:00
alexey-milovidov
604b918d44
Merge pull request #13572 from ClickHouse/poco_netssl
Enable Poco::NetSSL support in ya.make
2020-08-11 00:37:49 +03:00
Alexey Milovidov
42ecf91df1 Fix "Arcadia" build 2020-08-11 00:36:49 +03:00
Alexander Kuzmenkov
d42dbfce98 Do not overallocate when creating PODArray with given size
Another part of #12278
2020-08-10 23:36:52 +03:00
Alexander Kuzmenkov
e06fd84ca7
Update synthetic_hardware_benchmark.xml
https://github.com/ClickHouse/ClickHouse/pull/13099#issuecomment-671479904
2020-08-10 20:16:23 +03:00
alexey-milovidov
6bcd2917b4
Merge pull request #13586 from ClickHouse/docs-code-padding
[docs] improve code blocks padding
2020-08-10 20:05:32 +03:00
Ilya Yatsishin
96963d3630
Merge pull request #13578 from qoega/integration-pass-docker-version
Add noop runner parameter to prepare actual changes
2020-08-10 19:41:56 +03:00
Ivan Blinkov
f892b7acc0
[docs] improve code blocks padding 2020-08-10 18:45:09 +03:00
Yatsishin Ilya
4c61a29a63 Add noop runner parameter to prepare actual changes 2020-08-10 16:44:04 +03:00
olgarev
6164e7373d
DOCSUP-791: Docs for optimize_read_in_order setting (#12611)
* Docs in English for optimize_read_in_order setting.

* Link misspelling fixed.

* Usage section moved to the ORDER BY topic.

* Link fixed.

* Update docs/en/sql-reference/statements/select/order-by.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql-reference/statements/select/order-by.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Apply suggestions from code review

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Apply suggestions from code review

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql-reference/statements/select/order-by.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Small fix in English and translation into Russian.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-08-10 16:33:39 +03:00
tavplubix
bb832f204c
Merge pull request #13495 from vitlibar/fix-getting-query-settings
Fix getting settings specified in query.
2020-08-10 16:28:55 +03:00
alexey-milovidov
65da973944
Update CHANGELOG.md 2020-08-10 16:20:29 +03:00
alexey-milovidov
b6e5f69802
Update CHANGELOG.md 2020-08-10 16:17:40 +03:00
alexey-milovidov
5833f090c6
Update CHANGELOG.md 2020-08-10 16:17:11 +03:00
alexey-milovidov
f5b346d350
Update CHANGELOG.md 2020-08-10 16:16:23 +03:00
alexey-milovidov
0fd90c94ab
Merge pull request #13421 from ClickHouse/nm/changelog-update
changelog for 20.6
2020-08-10 16:14:40 +03:00
Roman Bug
62054856b7
DOCSUP-1999: Restruct sql statements section in separate files. (#13389)
* DOCSUP-1999: First commit to test and build docs.

* DOCSUP-1999: Move topics from misc.md to single files.

* DOCSUP-1999: Add footer original article (for some files)

* DOCSUP-1999: Fix some links.

* DOCSUP-1999: Add Original article footer for all added files.

* DOCSUP-1999: Fix broken link.

* DOCSUP-1999: Fix header in misc.md (by pr comment).
Fixed footer (original article).

* DOCSUP-1999: Fix broken links for build.

Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>
2020-08-10 16:10:48 +03:00
alexey-milovidov
dbccea1d92
Merge pull request #13557 from ClickHouse/load-metadata-better-error-messages
Better error messages in loadMetadata
2020-08-10 16:06:15 +03:00
Pavel Kovalenko
bece61b1cc Fix codestyle. 2020-08-10 14:40:31 +03:00
Pavel Kovalenko
f503273d41 Merge remote-tracking branch 'origin/master' into s3-multithreaded-disk-copy
# Conflicts:
#	src/Disks/S3/DiskS3.cpp
2020-08-10 14:35:26 +03:00
Ivan
c8d3999693
Enable Poco::NetSSL support in ya.make 2020-08-10 14:18:57 +03:00
Nikita Mikhaylov
3696fcbb1f
changes 2020-08-10 13:14:31 +03:00
alexey-milovidov
4c5d7cd733
Fix data corruption @blinkov 2020-08-10 09:16:14 +03:00
Alexey Milovidov
09d30a3699 Attempt to fix "Arcadia" build 2020-08-10 06:26:23 +03:00
Alexey Milovidov
0c15f3b6c8 Allow server to startup if there are leftovers from unsuccessfull database creations 2020-08-10 05:58:08 +03:00
Alexey Milovidov
84584659b6 Better error messages 2020-08-10 04:06:06 +03:00
Alexey Milovidov
8054a08c55 Fix build after merge 2020-08-10 03:44:21 +03:00
alexey-milovidov
8912a1cda3
Merge pull request #13082 from CurtizJ/fix-redis
Fix access to redis dictionary after connection was dropped once
2020-08-10 03:29:17 +03:00
Alexey Milovidov
c7a6a18a75 Preparation to enable clickhouse install on Mac and FreeBSD 2020-08-10 02:58:09 +03:00
Alexey Milovidov
6716e442f9 Merge branch 'master' of github.com:yandex/ClickHouse into clickhouse-install 2020-08-10 02:20:37 +03:00
Alexey Milovidov
361417bea1 Fix "split" build 2020-08-10 02:18:07 +03:00
alexey-milovidov
64352c0dc4
Fix idiotic data rot (@blinkov) 2020-08-10 02:10:17 +03:00
alexey-milovidov
6814559826
Update aggregatefunction.md 2020-08-10 02:09:56 +03:00
Vitaly Baranov
3b9f5a827c Fix getting settings specified in query. 2020-08-10 01:07:23 +03:00
Vitaly Baranov
bc5e94a09b Add test. 2020-08-10 01:07:23 +03:00
Vitaly Baranov
2e6ba2a05d
Merge pull request #13496 from vitlibar/compound-identifiers-for-custom-settings
Support compound identifiers for custom settings.
2020-08-10 01:03:02 +03:00
alexey-milovidov
180ea39bf8
Merge pull request #13099 from ClickHouse/fixed-hash-map-implicit-zero-6
Slightly improve performance of aggregation by UInt8/UInt16 keys, part 6
2020-08-09 23:13:53 +03:00
Alexey Milovidov
1e04014a71 Fix build 2020-08-09 23:10:51 +03:00
Konstantin Podshumok
262080132b cmake: disabling silent reconfigurations in contrib/*/CMakeLists.txt
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-09 21:37:46 +03:00
Konstantin Podshumok
d22de6c7e9 cmake: Make sure USE_SIMDJSON default value is in sync with ENABLE_LIBRARIES
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-09 21:37:46 +03:00
Konstantin Podshumok
fe56697893 cmake: Add option to fail configuration instead of auto-reconfiguration
squashed:
find/msgpack.cmake - merge collision fix, trivial

Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-09 21:37:26 +03:00
alexey-milovidov
cebac061c4
Merge pull request #13539 from amosbird/tdm
More test
2020-08-09 20:14:45 +03:00