Commit Graph

880 Commits

Author SHA1 Message Date
Guillaume Tassery
9c295fa524 Don't ask client to send write info byte if the version cannot handle it 2019-05-13 14:18:02 +07:00
Guillaume Tassery
1ae8948177 Merge branch 'master' of https://github.com/yandex/ClickHouse into send_header 2019-05-13 13:35:12 +07:00
Guillaume Tassery
a1ed3f8f6b Add checks for header progress 2019-05-13 12:55:53 +07:00
Guillaume Tassery
2bd3895e40 Rename HTTP header on total_rows to rows_in_set 2019-05-13 11:56:08 +07:00
Guillaume Tassery
1b30f91c42 Return to old implementation of read and write values for progress 2019-05-13 11:48:09 +07:00
Guillaume Tassery
a4c891e529 Typo for progress and summary header 2019-05-10 13:50:48 +07:00
proller
b9385f9620 Disable test in macos 2019-05-08 13:24:50 +03:00
Guillaume Tassery
6dcaadc620 Merge remote-tracking branch 'upstream/master' into send_header 2019-05-06 17:18:41 +07:00
Guillaume Tassery
7d578edc85 Check null values for when we send summary header 2019-05-06 16:09:45 +07:00
Guillaume Tassery
55842dce10 code style 2019-05-06 13:57:48 +07:00
Guillaume Tassery
e0bd16c1f4 Backward compatibility for write progress with old version of server and client 2019-05-06 13:14:37 +07:00
Guillaume Tassery
7b1be6efc4 Clode cleaning and add test for X-ClickHouse-Summary header 2019-04-26 10:46:52 +07:00
Guillaume Tassery
3707f26edf Write number of rows written in a summary instead of progress header 2019-04-26 10:38:39 +07:00
Nikolai Kochetov
d613716dc5 More bytes for DoubleConverter buffer. 2019-04-25 17:32:39 +03:00
Nikolai Kochetov
e9a63de607 More bytes for DoubleConverter buffer. 2019-04-25 17:00:07 +03:00
Guillaume Tassery
ced71ac9fd Send how many rows and bytes were written during the query 2019-04-25 18:25:49 +07:00
Alexey Milovidov
58d7d1e451 Resolved some of PVS-Studio warnings 2019-04-22 19:07:09 +03:00
Guillaume Tassery
7a75003d26 Send X-ClickHouse-Progress header in the end of a query execution 2019-04-19 19:14:10 +07:00
Danila Kutenin
622b2c8472 Enable LFAlloc for MarkCache and UncompressedCache 2019-04-13 15:07:43 +03:00
Alexey Milovidov
36d016d331 Added [[noreturn]] attributes for functions that throw unconditionally 2019-04-10 23:27:14 +03:00
Alexey Milovidov
f37d66bb2e Brotli: additions to #4388 2019-04-10 19:12:31 +03:00
Mikhail Fandyushin
e566d10eee HTTP Accept-Encoding: br; Revert using unbundled brotli library. FCixed using not initialized http respones ostream pointer 2019-04-10 00:59:44 +03:00
Mikhail Fandyushin
7fc9b8c6fb Merge branch 'master' into brotli 2019-04-08 21:07:58 +03:00
alexey-milovidov
27f7f0908f
Merge pull request #4913 from yandex/fix_additional_seek
Fix bug with additional file processing in cache compressed buffer
2019-04-07 01:24:50 +03:00
Danila Kutenin
1c030e4ed1 Fix allocations for a while 2019-04-06 23:53:25 +03:00
Danila Kutenin
37d70ac558 MarkCache and UncompressedCache use different allocator to catch segfaults more reliable 2019-04-06 18:27:39 +03:00
alesapin
7e1975b0c8 Fix bug with additional seek in cache compressed buffer 2019-04-05 12:42:44 +03:00
alesapin
5a6c4bf526 Better comment 2019-04-03 17:34:46 +03:00
alesapin
804a7612c2 Add comment 2019-04-03 17:28:39 +03:00
alesapin
bee8d61e26 Fix seek backwards after eof in ReadBufferAIO 2019-04-03 17:24:55 +03:00
Vitaly Baranov
37b904b8f5
Merge pull request #4808 from vitlibar/kafka-with-protobuf-format
Kafka with protobuf format
2019-03-30 19:00:57 +03:00
alesapin
2764401d0f Fix exception 'No message received' 2019-03-29 21:10:03 +03:00
Vitaly Baranov
a78e067c70 Allow empty row_delimiter when using Kafka. 2019-03-29 17:38:52 +03:00
proller
e4d45b7e50 Fix test include 2019-03-28 16:10:42 +03:00
Mikhail Fandyushin
c53b303bc2 HTTP Accept-Encoding: br; Added brotli errors codes 2019-03-27 00:32:29 +03:00
Mikhail Fandyushin
4b7ac9e9b4 HTTP Accept-Encoding: br; Fixed review notes 2019-03-26 23:27:34 +03:00
proller
fce9db12b9 Move Interpreters/Settings* -> Core/Settings* 2019-03-22 15:08:30 +03:00
Mikhail Fandyushin
fa9ded92ef HTTP Accept-Encoding: br; Added new line 2019-03-21 00:04:35 +03:00
Mikhail Fandyushin
e986d0eae6 HTTP Accept-Encoding: br; Final fixes 2019-03-21 00:04:35 +03:00
Mikhail Fandyushin
aeb73a4baf HTTP Accept-Encoding: br; Minor fixes in order to pass tests 2019-03-21 00:04:35 +03:00
Mikhail Fandyushin
e6546a4fcc HTTP Accept-Encoding: br; First working prototype of BrotliWriteBuffer; Need to improve 2019-03-21 00:04:35 +03:00
Mikhail Fandyushin
8e21b983f7 HTTP Accept-Encoding: br; Using BrotliWrite buffer in WriteBufferFromHttpServerResponse 2019-03-21 00:04:35 +03:00
Mikhail Fandyushin
73a9644da2 HTTP Accept-Encoding: br; Expended ZlibCompressionMethod to generic CompressionMethod; Added brotli to CompressionMethod enum 2019-03-21 00:04:35 +03:00
Mikhail Fandyushin
2a6e8d7fa1 HTTP Accept-Encoding: br; Added BrotliWriteBuffer interface 2019-03-21 00:04:35 +03:00
proller
cf8001b6a9
Fix includes (#4673) 2019-03-13 16:58:04 +03:00
alexey-milovidov
628ed349c3
Merge pull request #4627 from filimonov/issue4284
Fix broken progress in 19.3. Introduce total_rows for table function numbers().
2019-03-09 01:08:45 +03:00
Mikhail Filimonov
5f626dc99e Fix broken progress in 19.3 (regression in 92769a2460)
Introduce total_rows for table function `numbers()`.

fixes https://github.com/yandex/ClickHouse/issues/4429
resolves https://github.com/yandex/ClickHouse/issues/4284
2019-03-08 15:36:40 +01:00
Alexey Milovidov
9d89cc0fc1 Debugging PODArray 2019-03-08 06:23:02 +03:00
Alexey Milovidov
e773b6d81d Added a test to build 2019-03-02 04:32:37 +03:00
alexey-milovidov
40d8abbc34
Merge pull request #4523 from yandex/fix_column_description_parse
Fix column description parse. Now creation of replicated MT table wit…
2019-02-28 01:18:31 +03:00
Alexey Milovidov
3256b816be Merge branch 'master' of github.com:yandex/ClickHouse 2019-02-27 22:12:17 +03:00
Alexey Milovidov
141d9add39 Fixed error message 2019-02-27 22:12:08 +03:00
proller
23d70b2e04
Add Y_IGNORE (#4521) 2019-02-27 19:52:08 +03:00
alesapin
1909c87885 Fix column description parse. Now creation of replicated MT table with codecs and comments is possible without default 2019-02-27 19:41:51 +03:00
Alexey Milovidov
7179bb32b2 Balance 2019-02-26 15:31:17 +03:00
Alexey Milovidov
c80ad3b578 Removed useless includes 2019-02-26 15:30:36 +03:00
Alexey Milovidov
8e59998dfa Added a comment 2019-02-26 13:53:35 +03:00
Alexey Milovidov
34d480a7f4 Simplified test 2019-02-25 23:29:56 +03:00
Alexey Milovidov
c85dbe7610 Simplified test 2019-02-25 23:24:54 +03:00
Alexey Milovidov
c11a8d06ba Simplified test 2019-02-25 23:21:05 +03:00
Alexey Milovidov
a73f0ddcbb Added a test that reproduce the bug in gcc 7 2019-02-25 23:17:14 +03:00
Alexey Milovidov
15a7954b70 Removed double whitespace 2019-02-25 02:05:23 +03:00
Alexey Milovidov
0d9c438864 Added a test 2019-02-22 20:16:11 +03:00
Vitaly Baranov
4793ccb3fc Improve performance of ProtobufReader. 2019-02-21 18:49:42 +03:00
proller
e20c77e4c6 Add parquet support. Fixes, tests, ... 2019-02-19 23:51:44 +03:00
proller
fa9e9e57c8 [PATCH] Fixup for "AIOcontextPool: Found io_event with unknown id 0'' error #4434 from urgordeadbeef 2019-02-18 20:30:00 +03:00
proller
263e69e861
Build fixes (FreeBSD port) (#4397) 2019-02-15 14:46:07 +03:00
proller
f5560660be Fix brotli (unbundled, missing, ...) 2019-02-13 18:35:11 +03:00
alesapin
5eb5f631fd
Update BrotliReadBuffer.h 2019-02-12 16:01:14 +03:00
Mikhail
763b3dcf73
Merge branch 'master' into brotli 2019-02-11 23:44:39 +03:00
Mikhail Fandyushin
b01d735421 hide brotli from inerface 2019-02-11 23:42:46 +03:00
Ivan Lezhankin
2bd14117f4 Merge remote-tracking branch 'upstream/master' into issue-2675 2019-02-11 13:57:40 +03:00
alexey-milovidov
4f2b35cb10
Merge pull request #4215 from abyss7/CLICKHOUSE-3729
Report progress from server-side to keep client connections alive
2019-02-11 02:07:57 +03:00
alexey-milovidov
0dd618b9ad
Merge pull request #4326 from yandex/duplicate-includes
Removed duplicate includes
2019-02-10 22:31:37 +03:00
Alexey Milovidov
e150e62040 Grouped includes (40 of 182) 2019-02-10 20:40:52 +03:00
Alexey Milovidov
ba3cb83a84 Removed duplicate includes 2019-02-10 20:12:22 +03:00
Alexey Milovidov
c603d270f4 Cleanups #4246 2019-02-10 18:17:45 +03:00
Vitaly Baranov
49611e87e9 Fix build and code-style. 2019-02-08 16:36:58 +03:00
urgordeadbeef
f236ec93be Add FreeBSD AIO support. 2019-02-07 21:48:09 +03:00
Ivan Lezhankin
92769a2460 Don't update "arrow" on client-side for nothing 2019-02-07 16:47:16 +03:00
Ivan Lezhankin
018df69d3d Merge remote-tracking branch 'upstream/master' into issue-2675 2019-02-07 15:45:21 +03:00
Mihail Fandyushin
60cd766623 fixed clang build; added new line 2019-02-06 09:05:41 +03:00
Mikhail Fandyushin
1ee18203ae handle brotli errors; working wersion of BrotliReadBuffer 2019-02-06 02:12:31 +03:00
Mikhail Fandyushin
7e9e34bebf WIP: Reading brotli encoded HTTP messages. First-draft-ugly implementation, but its works 2019-02-05 01:15:08 +03:00
proller
a383868442 Remove not used dbms/src/IO/InterserverWriteBuffer.* 2019-02-02 12:03:09 +03:00
Alexey Milovidov
65f8e4d4a8 Merge branch 'master' into global-thread-pool 2019-01-25 16:33:50 +03:00
alexey-milovidov
f96b8e4ed6
Merge pull request #4005 from vitlibar/add-protobuf-output-format
Add protobuf output format
2019-01-24 22:05:23 +03:00
Vitaly Baranov
b1aba679d0 Class WriteBufferFromOwnString now can return StringRef too. 2019-01-24 17:32:01 +03:00
Ivan Lezhankin
862d419f31 Fix losing the next message after a broken one. 2019-01-24 14:58:25 +03:00
Danila Kutenin
784c3e5fda fix of ppc64le definitions 2019-01-23 18:24:14 +03:00
Danila Kutenin
f6e6f99737 fix 2019-01-23 17:26:05 +03:00
Danila Kutenin
7f4b0f3c04 added powerpc build support 2019-01-23 17:18:19 +03:00
maiha
6c83beafdd dbms: Fixed misspells in comments 2019-01-23 04:56:53 +09:00
alexey-milovidov
9a22185bd6
Update ReadBufferFromHDFS.cpp 2019-01-20 02:51:03 +03:00
alesapin
21f1c4d1ce Better code and tests for bad cases 2019-01-19 23:17:19 +03:00
alesapin
33d5f0c8dd Fix potential null pointer dereference 2019-01-18 21:57:11 +03:00
alesapin
66bd80703e Fix clang warning 2019-01-18 19:17:24 +03:00
alesapin
7c1c6eba8b Wrap hdfsBuilder into unique ptr 2019-01-18 15:48:55 +03:00
alesapin
a139f375c3 Remove copypaste 2019-01-18 14:39:36 +03:00
alesapin
71e58ca001 Fix potential leak in read buffer 2019-01-18 14:01:07 +03:00