Commit Graph

39631 Commits

Author SHA1 Message Date
Alexey Milovidov
38e55c7883 Move old bug to test 2020-04-26 19:39:48 +03:00
Alexey Milovidov
1a4181b4ac Removed already fixed bug (already having a test) 2020-04-26 19:34:33 +03:00
Alexey Milovidov
b46cb9be52 Update CCTZ 2020-04-26 19:27:34 +03:00
Alexey Milovidov
08d8c350b7 Fix overflow at beginning of unix epoch for fractional timezones #9335 2020-04-26 19:22:44 +03:00
Alexey Milovidov
a70637ab4b Fixed UBSan; added a test 2020-04-26 17:57:45 +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
alexey-milovidov
62e2f10959
Merge pull request #10474 from hczhcz/patch-0422
Fix overflow in simpleLinearRegression
2020-04-26 17:34:57 +03:00
Vitaliy Zakaznikov
f35c7a8bf0 Updating 01247_insert_into_watch_live_view_url to check
CSV, JSONEachRow and JSONEachRowWithProgress output formats
2020-04-26 16:23:55 +02: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
Vitaliy Zakaznikov
cf8bc71b21 Adding support to set HTTP_SERVER_HOST using an env variable of the same name. 2020-04-26 14:04:28 +02:00
Vitaliy Zakaznikov
c09126e80f Updating 01247_insert_into_watch_live_view_url.py test
Updating httpechoserver.py
2020-04-26 13:48:43 +02:00
alexey-milovidov
a63d55bf16
Merge pull request #9559 from ClickHouse/execute-query-flush-format-2
WIP. Flush output format on each block in executeQuery
2020-04-26 08:20:02 +03:00
alexey-milovidov
b65b941638
Update style.md 2020-04-26 04:22:22 +03:00
Alexey Milovidov
1f0bd79d37 Update test 2020-04-26 04:15:35 +03:00
Alexey Milovidov
6bedcfc3f0 Update test 2020-04-26 04:08:19 +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
8806e79df6
Merge pull request #10501 from ClickHouse/fix-odbc-bridge-test
Fix "odbc-bridge" test
2020-04-26 03:26:14 +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
Vitaliy Zakaznikov
f571a6b229 Adding 01247_insert_into_watch_live_view_url.py test case. 2020-04-25 17:21:36 -04:00
Alexey Milovidov
58a4d29f40 Fix "odbc-bridge" test 2020-04-25 23:52:45 +03:00
alexey-milovidov
8b1e504b19
Merge pull request #10497 from azat/kafka
Tiny kafka fixes
2020-04-25 23:50:22 +03:00
alexey-milovidov
092efc53ba
Merge pull request #10496 from ClickHouse/fix-visible-drift-memory-tracking
Fix visible drift of MemoryTracking metric
2020-04-25 23:50:08 +03:00
alexey-milovidov
1e25991c62
Merge pull request #10494 from kyprizel/master
Split fuzzers and sanitizers
2020-04-25 23:49:45 +03:00
alexey-milovidov
21fb686e4a
Merge pull request #10499 from GoToCoding/patch-1
Update developer_instruction.md
2020-04-25 23:49:10 +03:00
alexey-milovidov
23cd6bec5f
Merge pull request #10500 from sofakingworld/another_one_elixir_third_party_client
Elixir 3rd-party client - Pillar
2020-04-25 23:48:26 +03:00
alexey-milovidov
c9334d3fde
Merge pull request #10491 from azat/dist-shutdown
Proper Distributed shutdown (fixes UAF, avoid waiting for sending all batches)
2020-04-25 23:47:59 +03:00
Dmitry
07664ec514 Documentation, add info about Elixit client Pillar 2020-04-25 20:34:46 +03:00
Ruzal Ibragimov
524284c123
Update developer_instruction.md
Fix creating testing databases.
2020-04-25 20:02:32 +03:00
Vitaliy Zakaznikov
edc3268851 Adding 01246_insert_into_watch_live_view.py test case. 2020-04-25 11:03:42 -04:00
Vitaliy Zakaznikov
71a40d6ec9 Revert "Working on adding AUTO REFRESH to LIVE VIEW tables."
This reverts commit 855e06b031.
2020-04-25 09:56:57 -04:00
Vitaliy Zakaznikov
1fc345f5a0 Revert "Reverting all the changes in LIVE VIEW table."
This reverts commit 684c7f943a.
2020-04-25 09:56:41 -04:00
Vitaliy Zakaznikov
e73166c78d Removing SquashingBlockOutputStream from the stream to
allow blocks from WATCH query to propagate to target table
as is.
2020-04-25 09:46:46 -04:00
alexey-milovidov
c1e8dd0ad6
Merge pull request #10492 from Felixoid/patch-2
Add link to clickhouse-plantuml
2020-04-25 15:57:20 +03:00
Alexey Milovidov
c75c2fac29 Fix visible drift of MemoryTracking metric 2020-04-25 15:36:01 +03: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
Vitaliy Zakaznikov
684c7f943a Reverting all the changes in LIVE VIEW table. 2020-04-25 07:39:15 -04:00
Vitaliy Zakaznikov
8621e93460 Starting to remove changes to LIVE VIEW table. 2020-04-25 07:37:33 -04:00
Vitaliy Zakaznikov
34a03939ea First changes to try to support INSERT INTO table WATCH query. 2020-04-25 07:33:47 -04:00
Mikhail f. Shiryaev
97253eb4cf
Add link to clickhouse-plantuml 2020-04-25 12:05:59 +02:00
Eldar Zaitov
d7a037c26b split fuzzers and sanitizers 2020-04-25 10:12:38 +03:00
Azat Khuzhin
83ab91f1ad docs/kafka: use ATTACH TABLE over ATTACH MATERIALIZED VIEW (all langs)
Since later requires full specification (engine and so on).
2020-04-25 03:08:00 +03:00
Azat Khuzhin
747a74215f Avoid processing all batches before Distributed shutdown 2020-04-25 02:03:27 +03:00
Azat Khuzhin
8ad6b37913 Proper StorageDistributed shutdown to avoid UAF in DistributedMonitor
StorageDistributed::shutdown() does not acquire the lock, that controls
access to the cluster_nodes_data, thus it does not synced with the
requireDirectoryMonitor(), hence some monitors can be untracked that
will trigger UAF (use-after-free) after DROP TABLE dist:

This is for the SIGSEGV from the DirectoryMonitor (with already destroyed storage):
    0  0x0000000008e9f760 in std::__1::__cxx_atomic_load<int> (__order=std::__1::memory_order::seq_cst, __a=0x0)
    1  std::__1::__atomic_base<int, false>::load (__m=std::__1::memory_order::seq_cst, this=0x0) <-- this is nullptr
    2  std::__1::__atomic_base<int, false>::operator int (this=0x0)
    3  DB::ActionBlocker::isCancelled (this=0x7f85e31c9bb8) at ../src/Common/ActionBlocker.h:18
    4  DB::StorageDistributedDirectoryMonitor::run (this=0x7f85f93b2a00) at ../src/Storages/Distributed/DirectoryMonitor.cpp:140
2020-04-25 02:03:26 +03:00
alexey-milovidov
519751232e
Merge pull request #10490 from CurtizJ/fix-doc
Fix docs of 'generateRandom' function
2020-04-25 01:42:24 +03:00
Anton Popov
f937cf99a6 fix docs of 'generateRandom' function 2020-04-25 00:47:27 +03:00
Avogar
13f6981bb0 Update markdown test reference 2020-04-25 00:17:33 +03:00
Vitaliy Zakaznikov
855e06b031 Working on adding AUTO REFRESH to LIVE VIEW tables. 2020-04-24 17:15:17 -04:00