Commit Graph

20556 Commits

Author SHA1 Message Date
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
Gleb Novikov
86fecc7501 Merge branch 'master' into table-constraints 2019-08-20 12:17:56 +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
Nikolai Kochetov
e9070ede0a Try to rewrite live view test. 2019-08-16 19:28:25 +03:00
Alexander Tokmakov
8bbcecf3b1 add test 2019-08-16 19:15:36 +03:00
alesapin
af2a947ba1
Update StorageSystemParts.cpp 2019-08-16 18:06:02 +03:00
alesapin
ebdc0eb338
Update 00991_system_parts_race_condition.sh 2019-08-16 17:56:42 +03:00
Nikolai Kochetov
29f4f83c39 Fix build. 2019-08-16 15:54:50 +03:00
Nikolai Kochetov
7da72261a2 Merge branch 'master' into try-to-remove-dry-run 2019-08-16 15:50:48 +03:00
Vitaly Baranov
69ed5279b5 Get rid of dynamic allocation in ParsedJson::Iterator. 2019-08-16 15:48:48 +03:00
Vitaly Baranov
fa5f802adb
Merge pull request #6486 from Vxider/master
build fix
2019-08-16 15:20:33 +03:00
Nikolai Kochetov
688cc4976a Moved NOTICE to dbms/src 2019-08-16 14:03:23 +03:00
Nikolai Kochetov
18ad0e7e6b Merged with master. 2019-08-16 13:55:40 +03:00
Nikolai Kochetov
670c8a3e50 Add alwaysReturnsConstant for IFunctionBase. 2019-08-16 13:41:17 +03:00
Nikolai Kochetov
0eb1a931b4 Add alwaysReturnsConstant for IFunctionBase. 2019-08-16 13:29:33 +03:00
Nikolai Kochetov
08021fe125 Add alwaysReturnsConstant for IFunctionBase. 2019-08-16 12:38:12 +03:00
alesapin
b808f2e2e8 Add metric log 2019-08-16 11:19:13 +03:00
Alexey Milovidov
8d3ede98e2 Added another test 2019-08-16 05:21:01 +03:00
Alexey Milovidov
ab827ca6f3 Added failing test 2019-08-16 04:28:41 +03:00
Alexey Milovidov
b66719725f Fix race condition in system.parts vs. ALTER 2019-08-16 03:49:33 +03:00
alexey-milovidov
01a046e8ca
Merge pull request #5053 from nikvas0/nikvas0/index_mutate
indices and mutations
2019-08-16 02:44:48 +03:00
alexey-milovidov
a466c7aebd
Merge pull request #6299 from CurtizJ/order-by-efficient
Optimizations of ranges selection while reading with enabled optimize_read_in_order.
2019-08-16 02:39:53 +03:00
Alexey Milovidov
cf9b41549d MetricLog: code cleanups; comments 2019-08-16 02:35:54 +03:00
alexey-milovidov
a70bfa13d4
Merge pull request #6467 from nikitamikhaylov/system_metric_log
system.metric_log table
2019-08-16 02:28:53 +03:00
alexey-milovidov
bd2c5e14cd
Merge pull request #6499 from 4ertus2/refactoring
ExpressionAnalyzer and ActionsVisitor refactoring
2019-08-16 01:41:59 +03:00
alexey-milovidov
3a43512d2f
Merge pull request #6507 from yandex/fix-external-dictionaries-test-for-non-root
Fix test_external_dictionaries for non root user.
2019-08-16 01:40:53 +03:00
Yuriy
25c882e3cc fixed unbundled build 2019-08-16 00:22:54 +03:00
Nikolai Kochetov
2ef878d7ce Add alwaysReturnsConstant for IFunctionBase. Set alwaysReturnsConstant=true for ignore. 2019-08-15 22:31:43 +03:00
Nikita Vasilev
a051009d28 add it's a bug mes 2019-08-15 21:48:48 +03:00
Nikita Vasilev
f59fa67050 added type checks for set index functions 2019-08-15 21:46:16 +03:00
Nikita Vasilev
053f0ee78d fix compilation 2019-08-15 20:46:35 +03:00
Nikita Vasilev
00a5fe7836 Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate 2019-08-15 19:48:57 +03:00
Yuriy
c5b6d1f9bf merged origin/master 2019-08-15 19:48:10 +03:00
Nikita Mikhaylov
2cfbd1e194 reused prev_timepoint 2019-08-15 19:39:18 +03:00
Nikita Mikhaylov
854da3b6a2 ms column added 2019-08-15 19:09:43 +03:00
chertus
47a9424190 Merge branch 'master' into refactoring 2019-08-15 18:32:56 +03:00
chertus
e895251bc6 minor changes 2019-08-15 17:22:33 +03:00
Ivan Lezhankin
c52a34fd15 Add test for multiple mat. views 2019-08-15 17:19:12 +03:00
Nikolai Kochetov
24e5b95b98 Fix test_external_dictionaries for non root user. 2019-08-15 17:00:36 +03:00
chertus
994f9f3cc6 unify ActionsVisitor: rewrite as InDepthNodeVisitor 2019-08-15 16:54:59 +03:00
chertus
1b500ade45 remove duplicated include 2019-08-15 14:22:19 +03:00
Nikolai Kochetov
67f6129284 Temporarily disabled 00963_temporary_live_view_watch_live_timeout. 2019-08-15 14:18:41 +03:00
Nikolai Kochetov
e2171a038b Temporarily disabled 00963_temporary_live_view_watch_live_timeout. 2019-08-15 14:10:33 +03:00
CurtizJ
6ef3b5f9c7 fix usage of global syntax_result in optimizeReadInOrder 2019-08-15 13:15:04 +03:00
Nikolai Kochetov
90cb316457 Added more comments. Fix operator== in ExpressionActions. 2019-08-15 12:51:53 +03:00
Nikolai Kochetov
333746b910 Update 00459_group_array_insert_at.sql 2019-08-15 12:12:52 +03:00
Alexandr Krasheninnikov
27b079bd6a Tests added, fix wrong behaviour 2019-08-15 11:59:20 +03:00
Nikolai Kochetov
09dfc26087 Remove _dummy column at InterpreterSelectQuery::unifyStreams. 2019-08-15 11:50:17 +03:00
Nikolai Kochetov
abfaa9620d Fix style. 2019-08-15 11:09:18 +03:00
Nikolai Kochetov
a4be4da9b4 Added recursiveMaterializeConstants. 2019-08-15 10:55:59 +03:00
Nikolai Kochetov
6586f059b5 Added recursiveMaterializeConstants. 2019-08-15 10:54:39 +03:00
Nikolai Kochetov
807bc5205a Update 00818_inner_join_bug_3567.reference 2019-08-15 10:39:00 +03:00
Nikolai Kochetov
867a7461dc Make randConstant const again. 2019-08-15 10:32:06 +03:00
Nikolai Kochetov
37a88e1407 Added recursiveMaterializeConstants. 2019-08-15 10:28:33 +03:00
Nikolai Kochetov
720fe61a14
Merge pull request #6494 from yandex/fix-pipeline-executor-types
Fix arg type forPipelineExecutor::prepareProcessor
2019-08-15 09:54:18 +03:00
Nikolai Kochetov
551d04c01f
Merge pull request #6495 from yandex/fix-format-factory-default-streams
Fix FormatFactory default formats.
2019-08-15 09:53:51 +03:00
Gleb Novikov
f69ceec04c Removed redundant include of Interpreters/ActionsVisitor.h 2019-08-15 08:40:08 +03:00
Gleb Novikov
5ee4238538 small change to run CI 2019-08-15 03:53:16 +03:00
alexey-milovidov
64f676504d
Merge pull request #6493 from yandex/request-splitting-test
Added a test for bad URIs
2019-08-14 23:55:34 +03:00
Gleb Novikov
d41bb1fc19 Reverted server config.xml 2019-08-14 22:52:39 +03:00
Gleb Novikov
ab1c4139de Added ReplicatedMergeTree support and test for constraints, also added VIOLATED_CONSTRAINT error 2019-08-14 22:51:03 +03:00
chertus
7c566f317c refactoring: extract SelectQueryExpressionAnalyzer from ExpressionAnalyzer 2019-08-14 22:30:30 +03:00
CurtizJ
0b3d7d8032 Merge remote-tracking branch 'upstream/master' into order-by-efficient 2019-08-14 21:26:25 +03:00
Nikita Mikhaylov
e83482b512 metric_log.xml 2019-08-14 20:21:45 +03:00
alexey-milovidov
7a439e269f
Merge pull request #6470 from alex-krash/function_user
Function currentUser()
2019-08-14 20:09:54 +03:00