Commit Graph

20449 Commits

Author SHA1 Message Date
alexey-milovidov
58358ec856
Merge pull request #6514 from yandex/added-test-for-race-conditions
Added a test for race conditions.
2019-08-21 01:33:34 +03:00
alexey-milovidov
a691bf3c91
Merge pull request #6577 from proller/fix27
CLICKHOUSE-3885 copier: use partition_key in check query
2019-08-21 00:33:40 +03:00
Alexey Milovidov
c1de51dc5b Better code 2019-08-20 22:53:27 +03:00
Alexey Milovidov
db55780d21 Added a test 2019-08-20 22:53:03 +03:00
alexey-milovidov
f9968fbcfc
Merge pull request #6554 from yandex/add-table-finctions-number-mt
Add table function numbers_mt
2019-08-20 22:42:27 +03:00
alexey-milovidov
31a4b816fe
Merge pull request #6566 from yandex/filimonov-remove-duplicated-const
remove doubled const TABLE_IS_READ_ONLY
2019-08-20 22:24:40 +03:00
Alexey Milovidov
3fa67f4b72 Checkpoint 2019-08-20 21:55:05 +03:00
Alexey Milovidov
295aafb13f Parallel ALTER modify: don't use ThreadPool if the number of threads is one 2019-08-20 21:18:37 +03:00
Alexey Milovidov
593487c170 Merge branch 'master' into added-test-for-race-conditions 2019-08-20 21:12:03 +03:00
Alexey Milovidov
074853ac0e Fixed flappy test 2019-08-20 21:11:39 +03:00
Alexey Milovidov
c8859febcb Merge branch 'master' into added-test-for-race-conditions 2019-08-20 21:05:25 +03:00
Alexey Milovidov
d8683a33c8 Lowered test scale because it is too slow in debug build 2019-08-20 21:05:05 +03:00
proller
4f1c9ee197 CLICKHOUSE-3885 copier: use partition_key in check query 2019-08-20 21:05:01 +03:00
Alexey Milovidov
182708e4b1 Fixed typo 2019-08-20 20:58:31 +03:00
Nikolai Kochetov
822fe63f3b Added comment. 2019-08-20 19:13:18 +03:00
Nikolai Kochetov
06bb0af386 Fix build. 2019-08-20 18:03:35 +03:00
Nikolai Kochetov
aef03fd9bf
Merge pull request #6425 from yandex/vzakaznikov-liveview
Merge LIVE VIEW
2019-08-20 17:13:42 +03:00
Nikolai Kochetov
7bd748c969 Renamed NumbersMtBlockInputStream to NumbersMultiThreadedBlockInputStream. 2019-08-20 17:13:06 +03:00
Nikolai Kochetov
eecc8b0121 Update tests. 2019-08-20 16:33:25 +03:00
Nikolai Kochetov
0ab886ce9d Materialize constant in arrayWithConstant function. 2019-08-20 15:28:36 +03:00
BayoNet
e986d6ba53
DOCAPI-7459: skip_unavailable_shards docs (#6361)
* Link fix.

* DOCAPI-7459: skip_unavailable_shards docs

* Update dbms/src/Core/Settings.h

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/operations/settings/settings.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/operations/settings/settings.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/operations/settings/settings.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* DOCAPI-7459: Markup fixes.
2019-08-20 15:06:52 +03:00
filimonov
8d0c2eacfd
remove doubled const TABLE_IS_READ_ONLY 2019-08-20 13:18:08 +02:00
Ivan
a502424c33
Implement support for insertion into Kafka tables (#6012)
* Add write-callback on each row for RowOutputStream
* Fix build of new rdkafka library
* Poll messages if Kafka outgoing queue is full
* Add test
* Add test producer-consumer
* Truncate delimiter from last row in message
2019-08-20 14:17:57 +03:00
Nikolai Kochetov
0c0e5010dc Added NumbersMtBlockInputStream. 2019-08-20 13:29:04 +03:00
Nikolai Kochetov
7f31b8bf9c Added NumbersMtBlockInputStream. 2019-08-20 13:28:20 +03:00
Nikolai Kochetov
1cebcd3e73 Fixed test. 2019-08-20 12:15:08 +03:00
Nikolai Kochetov
bfd0505d99 Fix tests. 2019-08-20 11:36:10 +03:00
Nikolai Kochetov
cdf1ce3171 Merge branch 'master' into vzakaznikov-liveview 2019-08-20 10:41:31 +03:00
alexey-milovidov
c870cbce73
Merge pull request #6548 from achimbab/master
Added 'strict' parameter in windowFunnel() and added testcases.
2019-08-20 05:05:49 +03:00
Alexey Milovidov
b7cb55a06e Added a comment 2019-08-20 04:46:48 +03:00
Alexey Milovidov
818ceec220 Merge branch 'added-test-for-race-conditions' of github.com:yandex/ClickHouse into added-test-for-race-conditions 2019-08-20 04:25:21 +03:00
Alexey Milovidov
a574727269 Attempt to fix deadlock 2019-08-20 04:24:53 +03:00
Alexey Milovidov
ebbcd26981 Improved test 2019-08-20 03:53:12 +03:00
Alexey Milovidov
666029db6e Merge branch 'added-test-for-race-conditions' of github.com:yandex/ClickHouse into added-test-for-race-conditions 2019-08-20 03:50:40 +03:00
Alexey Milovidov
99aa5cce38 Fixed idiotic error in system.parts 2019-08-20 03:49:58 +03:00
Alexey Milovidov
f1fef3f169 Merge branch 'master' of github.com:yandex/ClickHouse 2019-08-20 03:48:24 +03:00
Alexey Milovidov
e594c344f5 Fixed idiotic error in system.parts 2019-08-20 03:48:08 +03:00
Alexey Milovidov
6d8161e644 Merge branch 'added-test-for-race-conditions' of github.com:yandex/ClickHouse into added-test-for-race-conditions 2019-08-20 03:10:59 +03:00
Alexey Milovidov
48867580e6 Added another test that produce segfault under ASan easily 2019-08-20 03:10:32 +03:00
alexey-milovidov
3a909c54c5
Merge pull request #6523 from yandex/fix_inconsistent_parts_after_clone_replica
Fix inconsistent parts after clone replica
2019-08-20 02:25:00 +03:00
tavplubix
fa40dfb257
Merge pull request #6559 from yandex/fix_csv_6426
Fix csv input
2019-08-20 02:24:33 +03:00
Alexander Tokmakov
bca580653d fix csv input 2019-08-20 02:09:02 +03:00
philip.han
a2fe2fb7b1 Fixed the test for 00632_aggregation_window_funnel. 2019-08-20 07:55:02 +09:00
alexey-milovidov
dfa6385eb3
Merge pull request #6538 from orivej/odbc-bridge
DEVTOOLS-5755 Remove odbc-bridge.cpp from clickhouse-lib
2019-08-20 01:39:48 +03:00
alexey-milovidov
fe634d69fe
Merge pull request #6550 from yandex/fix_6125
Fix NPE when using IN clause with a subquery with a tuple
2019-08-20 01:39:02 +03:00
Alexander Kazakov
fe5cd47068
Process prewhere clause in "skip unused shards" optimization (#6521)
* Process prewhere clause in optimize_skip_unused_shards

* Better diagnostics and logging
2019-08-19 23:28:24 +03:00
Alexey Milovidov
5d17e0e0e0 Updated test 2019-08-19 22:51:53 +03:00
Alexey Milovidov
5575be034d Whitespaces 2019-08-19 22:32:02 +03:00
Alexey Milovidov
4809586ed6 Updated instruction 2019-08-19 22:07:13 +03:00
Alexey Milovidov
22a11343e8 Attempt to fix race condition 2019-08-19 22:02:20 +03:00
Nikolai Kochetov
19a303f498 Update perf tests with hash functions. 2019-08-19 21:55:42 +03:00
Nikolai Kochetov
d359ff3d4a Fix build. 2019-08-19 21:34:12 +03:00
Nikolai Kochetov
56a9c3920f Fix build. 2019-08-19 21:28:48 +03:00
Nikolai Kochetov
8535ba9e47 Review fixes. 2019-08-19 21:23:37 +03:00
Alexey Milovidov
d2e5789f82 Fixed strange code in mutations that may lead to memory corruption 2019-08-19 21:12:22 +03:00
Nikolai Kochetov
04c17c56c2 Review fixes. 2019-08-19 21:10:40 +03:00
Nikolai Kochetov
3277f9e3de Add patch to Live View tests. 2019-08-19 20:56:00 +03:00
Nikolai Kochetov
d4363768e6 Added IFunctonBase::getResultIfAlwaysReturnsConstantAndHasArguments 2019-08-19 20:48:19 +03:00
Alexey Milovidov
481b9d36dd Merge branch 'master' into added-test-for-race-conditions 2019-08-19 20:43:35 +03:00
alexey-milovidov
a116fd7a69
Merge pull request #6477 from dimarub2000/quantileExact_improvement
QuantileExactExclusive & Inclusive function added.
2019-08-19 20:39:37 +03:00
Alexander Tokmakov
9e2537a7d0 add test 2019-08-19 19:52:05 +03:00
Alexander Tokmakov
c62eb7a3ae check columns count and types 2019-08-19 19:51:50 +03:00
dimarub2000
bb4136f7b0 virtual functions deleted 2019-08-19 19:03:25 +03:00
Nikolai Kochetov
a4e2fcdd49 Remove recursiveMaterializeConstants. 2019-08-19 18:41:42 +03:00
philip.han
61769865d8 Added 'strict' parameter in windowFunnel() and added testcases. 2019-08-19 23:52:42 +09:00
Nikolai Kochetov
a466040201 Added 00991_temporary_live_view_watch_events_heartbeat. 2019-08-19 17:39:35 +03:00
Alexander Tokmakov
be5df60c7a Merge branch 'master' into fix_inconsistent_parts_after_clone_replica 2019-08-19 17:34:22 +03:00
Nikolai Kochetov
e188ae40ce Added 00991_temporary_live_view_watch_live. 2019-08-19 16:35:00 +03:00
Nikolai Kochetov
619ee4489e Added 00991_live_view_watch_event_live. 2019-08-19 16:26:37 +03:00
Nikolai Kochetov
61432b83d8 Added table function numbers_mt. 2019-08-19 15:27:51 +03:00
Alexander Tokmakov
6991683a5f remove local parts which source replica doesnt have 2019-08-19 15:08:45 +03:00
Nikolai Kochetov
a33c59d83b Update Live View test. 2019-08-19 14:08:10 +03:00
alesapin
6d29ed99d9 Fix bug with enable_mixed_granularity_parts and mutations 2019-08-19 13:37:04 +03:00
Nikolai Kochetov
4c45ce3038 Apply patches to Live View tests. 2019-08-19 12:47:08 +03:00
Nikolai Kochetov
b8a5e107df Merge branch 'master' into try-to-remove-dry-run 2019-08-19 09:09:22 +03:00
Георгий Кондратьев
c70d585169 DEVTOOLS-5755 Remove odbc-bridge.cpp from clickhouse-lib
odbc-bridge.cpp defines main() so it should not be included in clickhouse-lib.
2019-08-19 05:13:39 +00:00
Nikolai Kochetov
28f4346fca Updated json perftest to loop. 2019-08-19 00:50:51 +03:00
Nikolai Kochetov
b85c50e7c3 Fix tests. 2019-08-18 17:55:20 +03:00
Alexey Milovidov
d7d11b85ca Update version manually 2019-08-18 16:53:25 +03:00
alexey-milovidov
f36d20915b
Merge pull request #6529 from yandex/better-signals
Better debug-ability of fault signals.
2019-08-18 16:44:54 +03:00
alexey-milovidov
1c9fedb77b
Merge pull request #6530 from yandex/metric-log-rectification
Metric log rectification
2019-08-18 16:44:21 +03:00
alexey-milovidov
29cc99ad58
Merge pull request #6194 from yurriy/mysql
Compatibility with more MySQL clients.
2019-08-18 16:28:13 +03:00
Nikolai Kochetov
cb848159e1 Merged with master. 2019-08-18 14:52:49 +03:00
Alexey Milovidov
9b48906f16 Rectification of MetricLog: simplified code 2019-08-18 03:34:23 +03:00
Alexey Milovidov
968cbda666 Rectification of MetricLog 2019-08-18 03:25:58 +03:00
Alexey Milovidov
16495bab5b Rectification of MetricLog 2019-08-18 03:04:58 +03:00
alexey-milovidov
1b3f19abab
Update StackTrace.h 2019-08-18 03:03:19 +03:00
proller
d09c5c871b Build fixes (#6491)
* Fix build

* cmake: fix cpuinfo

* Fix includes after processors merge

Conflicts:
	dbms/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp
	dbms/src/Processors/Formats/Impl/ParquetBlockOutputFormat.cpp
	dbms/src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp
	dbms/src/Processors/Formats/Impl/ProtobufRowOutputFormat.cpp

* Fix build in gcc8

* fix test link

* fix test link

* Fix test link

* link fix

* Fix includes after processors merge 2

Conflicts:
	dbms/src/Processors/Formats/Impl/ParquetBlockInputFormat.cpp

* Fix includes after processors merge 3

* link fix

* Fix likely/unlikely conflict with cython

* Fix conflict with protobuf/stubs/atomicops.h

* remove unlikely.h

* Fix macos build (do not use timer_t)
2019-08-18 01:53:46 +03:00
alexey-milovidov
97a7d78fb3
Merge pull request #6524 from 4ertus2/refactoring
More ExpressionAnalyzer refactoring  for JOINs
2019-08-18 01:46:02 +03:00
Alexey Milovidov
306878c7a0 Write symbolized stack trace on failure one line at a time and uncached 2019-08-18 01:39:26 +03:00
Alexey Milovidov
833256f310 Don't try to get delay of readonly replicas for AsynchronousMetrics 2019-08-18 00:18:22 +03:00
Alexey Milovidov
081f1bedc2 Allowed to use SIGPROF to print stack traces for debugging purposes 2019-08-18 00:13:38 +03:00
Alexey Milovidov
2cd669fa1d Minor improvement 2019-08-17 23:33:50 +03:00
alexey-milovidov
e2687fc2d5
Merge pull request #6513 from yandex/parts-race-condition
Fix race condition in system.parts vs. ALTER
2019-08-17 22:30:16 +03:00
Nikolai Kochetov
86bba711c4 Merge branch 'master' into try-to-remove-dry-run 2019-08-17 13:43:14 +03:00
Nikolai Kochetov
5c10bff9c2 Try to rewrite live view test. 2019-08-16 21:52:29 +03:00
Vitaly Baranov
e7a2565290
Merge pull request #6479 from vitlibar/no-allocation-in-simdjson-iterator
Get rid of dynamic allocation in ParsedJson::Iterator.
2019-08-16 20:58:16 +03:00
Nikolai Kochetov
ab4018e98e Fix test. 2019-08-16 19:56:34 +03:00
chertus
133bd92807 ExpressionAnalyzer.appendJoin() refactoring 2019-08-16 19:50:30 +03:00
alexey-milovidov
3c6db12efa
Merge pull request #6511 from nikvas0/nikvas0/set_index_bit_func_checks
typechecks for set index functions
2019-08-16 19:29:14 +03:00