Commit Graph

16855 Commits

Author SHA1 Message Date
alexey-milovidov
e64cf60236
Merge pull request #4530 from hczhcz/patch-1
Fix readBinary linkage error in Field.cpp
2019-03-01 01:49:54 +03:00
alexey-milovidov
40e11feaef
Merge pull request #4540 from 4ertus2/bugs
fix ClusterCopier crash cause of ThreadStatus not created
2019-03-01 01:48:55 +03:00
Nicolae Vartolomei
602aeb3bb2
Enable taskstat accounting for versions >= 3
Previously if clickhouse was compiled under a kernel with higher
TASKSTATS_VERSION, but run under a kernel with older TASKSTAT_VERSION
extended and io accounting would be disabled.
2019-02-28 21:52:53 +00:00
Alex Zatelepin
cc92f41ddd fix build 2019-02-28 21:15:10 +03:00
Alexey Zatelepin
eee73dac42 Merge branch 'master' into fix-concurrent-alters 2019-02-28 19:19:21 +03:00
chertus
ddf0f11e51 fix ClusterCopier crash cause of ThreadStatus not created 2019-02-28 18:49:03 +03:00
BayoNet
455ca955e5 DOCAPI-5203: Added the descriptions for direct I/O settings for MergeTree merge and SELECT queries. 2019-02-28 14:20:27 +03:00
Alexey Zatelepin
c5dde2c9fd get rid of default query_id value in RWLock::getLock [#CLICKHOUSE-3789] 2019-02-28 12:37:05 +03:00
Alexey Zatelepin
9e157dbd64 move test script from bugs to tests [#CLICKHOUSE-3789] 2019-02-28 11:50:35 +03:00
liangqian
6757b112d1 change Sream into Stream 2019-02-28 15:27:30 +08:00
Tema Novikov
f92210d0fb
Set update_time on full executable dictionary update
This fixes issue #4524.
2019-02-28 09:47:48 +03:00
hcz
8f099af799
Fix readBinary linkage error in Field.cpp 2019-02-28 14:16:45 +08:00
proller
aad2856eba CLICKHOUSE-4179 : arrayEnumerateDenseRanked arrayEnumerateUniqRanked (#4475)
* Build fixes (clang 7.0.0+)

* better

* wip

* wip

* fix

* fix

* wip

* fix

* clean

* clean

* CLICKHOUSE-4179 WIP

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

*    wip

* wip

* wip

* wip

* wip

* cf

*    wip

* wip

* wip

* wip

* cf

* wip

* wip# Please enter the commit message for your changes. Lines starting

* wip# Please enter the commit message for your changes. Lines starting

* cf

* wip# Please enter the commit message for your changes. Lines starting

* wip

* cf

* wip

* wip

* clean

* clean

* clean

* clean

* wip

* wip

* wip

* cf

* wip

* wip

* wip

* cf

* clean

* wip

* clean

* cf

* clean

* clean

* test

* clean

* wip

* cf

* wip

* clean

* clean

* wip

* wip

* clean

* cf

* clean

* Requested changes

* cf

* no convertToFullColumnIfConst

* clean

* clean

* clean

* fix

* Remove comment
2019-02-28 01:18:58 +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
62b246c5a4 Avoid excessive "stat" syscall\ 2019-02-27 23:02:48 +03:00
Alexey Milovidov
c3623f7bb6 Fixed error with underestimation of data size to read when choosing O_DIRECT mode 2019-02-27 22:32:54 +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
Alexey Zatelepin
df5ad1871a add comment [#CLICKHOUSE-3789] 2019-02-27 21:39:55 +03:00
Alexey Zatelepin
5ac1d4dd4e rename LockHandler -> LockHolder [#CLICKHOUSE-3789] 2019-02-27 21:34:38 +03:00
Alexey Zatelepin
0d7ab9e3ea allow acquiring read lock to a table out of order if it was already locked by the same query [#CLICKHOUSE-3789]
this is important in preventing ALTER deadlocks
2019-02-27 21:34:38 +03:00
alesapin
8bea1513ca Comment without default 2019-02-27 20:01:59 +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
Ivan
a1e266fd6c
Fix test reference 2019-02-27 18:41:32 +03:00
Vitaly Baranov
6fbcc12674
Merge pull request #4493 from vitlibar/support-for-nested-messages-in-protobuf-output
Added support for nested messages in protobuf output format
2019-02-27 18:16:45 +03:00
Ivan Lezhankin
d66626a35a Revert "Move experimental join transformations to syntax analyzer"
This reverts commit 0e2316e0ac.
2019-02-27 16:35:43 +03:00
Mikhail f. Shiryaev
4cfe93a4d0 Add necessary integration tests 2019-02-27 13:59:12 +01:00
Mikhail f. Shiryaev
a1ed5d8eae Apply pep8 to test_graphite_merge_tree 2019-02-27 13:59:12 +01:00
proller
211ec436c5
Build fixes (#4516) 2019-02-27 15:52:24 +03:00
Ivan Lezhankin
2a604d075a Merge remote-tracking branch 'upstream/master' into CLICKHOUSE-4268 2019-02-27 15:08:36 +03:00
Vitaly Baranov
147a7a1458 Remove unused function ProtobufSchemas::getMessageTypeForColumns(). 2019-02-27 14:37:17 +03:00
Vitaly Baranov
e712a78cce Minor improvements of ProtobufReader. 2019-02-27 14:37:17 +03:00
Vitaly Baranov
2e8669211a Improve test: check input/output with protobuf schema containing nested messages. 2019-02-27 14:37:17 +03:00
Vitaly Baranov
85ab57f179 Implement support of nested messages in Protobuf output format. 2019-02-27 14:37:17 +03:00
Vitaly Baranov
4f46052f2e Optimize the class ProtobufWriter and prepare for implementing support of nested messages. 2019-02-27 14:37:14 +03:00
Artem Zuikov
ced4d51b93
Merge pull request #4513 from 4ertus2/bugs
test for issue-3783 (decimal groupArray crash)
2019-02-27 13:39:22 +03:00
Vitaly Baranov
1cce1feac1 Move IConverter to header for allow inlining ProtobufWriter functions. 2019-02-27 00:54:25 +03:00
Vitaly Baranov
2f0276503a Move ProtobufSimpleWriter to the internals of ProtobufWriter. 2019-02-27 00:54:25 +03:00
Vitaly Baranov
65d997db94 Simplify excluding ProtobufWriter from compilation when USE_PROTOBUF=0. 2019-02-27 00:54:25 +03:00
Vitaly Baranov
ba2efbae01 Make the interface IRowOutputStream more generic and use it for writing protobufs. 2019-02-27 00:53:13 +03:00
Alexey Milovidov
610f9523b0 Addition to prev. revision 2019-02-26 22:34:32 +03:00
Ivan Lezhankin
e9849ba8de Don't replace tables with compound names 2019-02-26 20:22:05 +03:00
chertus
d448d3e907 enable allow_experimental_multiple_joins_emulation and allow_experimental_cross_to_join_conversion by default 2019-02-26 20:00:33 +03:00
alesapin
507aa7b779
Merge pull request #4515 from yandex/fix_ub_in_cached_dictionary
Fix UB in IsIn function of cache dictionary and typo in integration test
2019-02-26 19:49:18 +03:00
alesapin
7ffd74ca74 Fix UB in IsIn function of cache dictionary and typo in integration test. 2019-02-26 17:52:55 +03:00
Ivan Lezhankin
7f130d2362 Don't replace aliased tables. 2019-02-26 17:12:25 +03:00
chertus
c2b0c07bd6 test for issue-3783 (deciaml groupArray crash) 2019-02-26 17:12:19 +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
Ivan Lezhankin
09af5512b8 Implement push-down inside join-statement 2019-02-26 13:56:19 +03:00
Alexey Milovidov
8e59998dfa Added a comment 2019-02-26 13:53:35 +03:00
Alexey Milovidov
f542ba784b Merge branch 'fix-bad-parsing-error-message' of github.com:yandex/ClickHouse into fix-bad-parsing-error-message 2019-02-26 13:38:16 +03:00
Alexey Milovidov
ae28c46a46 Added workaround for compiler bug 2019-02-26 13:37:47 +03:00
Alexey Milovidov
3b20ecf36a Merge branch 'master' into fix-bad-parsing-error-message 2019-02-26 13:27:12 +03:00
Alexey Milovidov
497c0a9b8b Merge branch 'master' into quantile-timing-ubsan-fix 2019-02-26 13:26:30 +03:00
Ivan Lezhankin
0e2316e0ac Move experimental join transformations to syntax analyzer 2019-02-26 13:18:12 +03:00
Ivan Lezhankin
c8eefb3927 Always modify subqueries if modifying inplace
to support push-down while analyzing.
2019-02-26 13:18:12 +03:00
Ivan Lezhankin
fa273bb73b Improve push-down predicate tests. 2019-02-26 13:17:25 +03:00
Ivan Lezhankin
c035d853a5 Add test on "analyze" query 2019-02-26 13:17:25 +03:00
Ivan Lezhankin
0a443399a0 Implement the debug query "ANALYZE"
that prints out the query after syntax analysis.
Should be helpful for tests.
2019-02-26 13:17:25 +03:00
Mikhail f. Shiryaev
88d63a0b3a Use pair of patterns to make combined RollupRules 2019-02-26 10:49:39 +01: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
alesapin
94b74ff4a3 Fix install build 2019-02-25 22:44:24 +03:00
Alexey Milovidov
126f4951db Merge branch 'master' of github.com:yandex/ClickHouse into fix-bad-parsing-error-message 2019-02-25 21:28:17 +03:00
alexey-milovidov
bffe514efa
Merge pull request #4466 from danlark1/master
Function trigramDistance() added for string similarity search
2019-02-25 21:20:29 +03:00
alexey-milovidov
e1b9fbd489
Merge pull request #4503 from yandex/fix_kill_query_test
Fix flap on kill query test
2019-02-25 21:20:14 +03:00
Alexey Milovidov
fc08604cd1 Merge branch 'master' of github.com:yandex/ClickHouse into fix-bad-parsing-error-message 2019-02-25 21:10:12 +03:00
alexey-milovidov
b1812b3cbc
Merge pull request #4505 from yandex/fix-thread-pool-inactive-thread-exit
Fixed ThreadPool when there are too many inactive threads #4485
2019-02-25 21:10:05 +03:00
Alexey Milovidov
f02a834615 Fixed fuzz test in UBSan 2019-02-25 21:03:52 +03:00
Alexey Milovidov
c832124e6b Addition to prev. revision 2019-02-25 20:39:02 +03:00
Alexey Milovidov
d77b9584b1 Merge branch 'master' of github.com:yandex/ClickHouse 2019-02-25 19:17:54 +03:00
Alexey Milovidov
03fcd0c330 Removed old dictionary tests (has been moved to integration tests) 2019-02-25 19:17:43 +03:00
Alexey Milovidov
02f25c22c6 Merge branch 'master' of github.com:yandex/ClickHouse into fix-bad-parsing-error-message 2019-02-25 19:16:53 +03:00
alexey-milovidov
864a81f1d5
Merge pull request #4502 from yandex/speedup-ddl-cleanup
Speedup ddl cleanup
2019-02-25 19:00:16 +03:00
Alexey Milovidov
467f9ce211 Fixed ThreadPool when there are too many inactive threads #4485 2019-02-25 18:45:07 +03:00
alesapin
45b8a1387a Fix flap on kill query test 2019-02-25 18:03:37 +03:00
alexey-milovidov
a29ecdf11d
Merge pull request #4495 from orivej/xxhash
Support xxHash with external lz4
2019-02-25 18:03:31 +03:00
Alexey Milovidov
c26657ce85 Merge branch 'master' of github.com:yandex/ClickHouse 2019-02-25 17:36:48 +03:00
Alexey Milovidov
d02508cb8f Avoid loss of precision in test 2019-02-25 17:36:19 +03:00
alexey-milovidov
0ae7daad3d
Merge pull request #4496 from yandex/add-performance-test-from-the-website
Add performance test for benchmark from the website
2019-02-25 15:56:59 +03:00
Alexey Zatelepin
50dbfc8d50 clean distributed DDL queue in a separate thread [#CLICKHOUSE-3977] 2019-02-25 15:42:23 +03:00
alesapin
3b30b2f856
Merge pull request #4477 from yandex/external_dict_integration_test
External dict integration test
2019-02-25 15:27:22 +03:00
alesapin
350d5a78dd Better config 2019-02-25 13:47:29 +03:00
alesapin
9d91dbb7c5 Finally add mongo source 2019-02-25 13:45:22 +03:00
Георгий Кондратьев
b94de32423 Support xxHash with external lz4
xxhash.h does not exist in external lz4 because it is an implementation detail
and its symbols are namespaced with XXH_NAMESPACE macro.  When lz4 is external,
xxHash has to be external too, and the dependents have to link to it.

This find_xxhash.cmake is based on find_lz4.cmake.
2019-02-25 07:14:37 +00:00
Alexey Milovidov
15a7954b70 Removed double whitespace 2019-02-25 02:05:23 +03:00
Alexey Milovidov
f44316b39d Merge branch 'master' into fix-bad-parsing-error-message 2019-02-25 01:48:01 +03:00
Alexey Milovidov
846bf82a3e More simple 2019-02-25 01:41:18 +03:00
Alexey Milovidov
25f31151fa Minor changes 2019-02-25 01:28:05 +03:00
alesapin
3515d9bb8c Better intendation 2019-02-24 20:57:03 +03:00
alesapin
40cbe4c253 Add hierarchical tests 2019-02-24 20:45:10 +03:00
alexey-milovidov
9d8b91b97a
Merge pull request #4483 from yandex/dont-create-part-log-if-not-defined
Do not create part_log if it is not defined in configuration file
2019-02-24 18:27:50 +03:00
alesapin
da33310f1b Add multiple rows to test, fix bug 2019-02-24 13:58:52 +03:00
alesapin
22a54bbd77 Add python into integration tests image 2019-02-24 13:28:47 +03:00
Alexey Milovidov
c0f2876ad1 Added performance test resembling benchmark from the website 2019-02-24 03:05:05 +03:00
alexey-milovidov
16225dff12
Merge pull request #4480 from 4ertus2/ast
Refactoring: simplify InDepthNodeVisitor
2019-02-24 02:32:42 +03:00
Alexey Milovidov
ac2ea9b198 Added 'query_thread_log' section to configuration file. Now query_thread_log doesn't work without this section. 2019-02-24 02:29:38 +03:00
Danila Kutenin
6c50a55777 Faster hash function and one comment removed 2019-02-23 21:26:09 +03:00
Danila Kutenin
6736dcc96b A bit better performance, return old name to function 2019-02-22 22:43:47 +03:00
Alexey Zatelepin
46520e2887 protect zk variable with a mutex [#CLICKHOUSE-3977] 2019-02-22 22:41:33 +03:00
Alex Zatelepin
34346e37eb
Merge pull request #4472 from yandex/speedup-ddl-cleanup
Fix hangup on server shutdown if distributed DDLs were used.
2019-02-22 21:42:05 +03:00
Alexey Milovidov
0d9c438864 Added a test 2019-02-22 20:16:11 +03:00
chertus
14faa95c83 fix table functions & RequiredSourceColumnsVisitor 2019-02-22 20:08:10 +03:00
Alexey Milovidov
85c0ba1e70 Do not create part_log if it is not defined in configuration file 2019-02-22 19:10:14 +03:00
Alexey Milovidov
6c74807f9b Miscellaneous 2019-02-22 18:59:29 +03:00
chertus
8bff0d74c0 minor changes 2019-02-22 18:45:47 +03:00
alesapin
e22a6cd6ec Remove mongo 2019-02-22 16:43:31 +03:00
chertus
9e2aa47478 simplify InDepthNodeVisitor 2019-02-22 16:33:56 +03:00
alesapin
5a73a98619 Remove pymongo 2019-02-22 15:13:55 +03:00
alesapin
2bb54b0b38 Add http tests and different queries 2019-02-22 13:55:12 +03:00
Artem Zuikov
89f4cab025
Merge pull request #4474 from 4ertus2/joins
Multiple JOINS: correct result names for columns
2019-02-22 13:14:44 +03:00
Andy Yang
f1a4330c69 add bitmap state test sql 2019-02-22 16:14:35 +08:00
Danila Kutenin
9ea1e948b3 better style in distance() 2019-02-22 06:50:06 +03:00
Danila Kutenin
3149eac681 some style 2019-02-22 06:07:35 +03:00
Danila Kutenin
ada849263b Optimize distance function, some allocation, hashmap tricks 2019-02-22 06:02:10 +03:00
Andy Yang
f62d4717d7 modify bitmap test sql 2019-02-22 10:24:48 +08:00
Vitaly Baranov
dee7da9eb4
Merge branch 'master' into improve-performance-of-input-from-protobuf 2019-02-22 01:43:55 +03:00
proller
00e50f1502
Build fixes (#4471) 2019-02-21 23:11:21 +03:00
chertus
a14d955e9e mJOIN: correct names for right table 2019-02-21 22:43:14 +03:00
chertus
642ad05473 minor refactoring 2019-02-21 22:38:12 +03:00
alesapin
0d2e562b02 tryin to add http server 2019-02-21 20:34:19 +03:00
alesapin
7c0af3c914 Adding http 2019-02-21 20:02:33 +03:00
alesapin
70fdbca747 More tests 2019-02-21 19:43:21 +03:00
Alexey Zatelepin
73f852ae82 manually reset DDLWorker in shared context to prevent reference cycles 2019-02-21 19:41:27 +03:00
Vitaly Baranov
4793ccb3fc Improve performance of ProtobufReader. 2019-02-21 18:49:42 +03:00
chertus
10b473bb24 mJOIN: correct names for left table columns 2019-02-21 15:45:31 +03:00
alesapin
010a7e00ee Add mysql dictionaries tests 2019-02-21 15:04:08 +03:00
Mikhail f. Shiryaev
58a5a9dc0c Fix "only_from_localhost" example 2019-02-21 10:54:06 +01:00
Danila Kutenin
3f636b3c34 Remove redundant include 2019-02-21 08:16:55 +03:00
Danila Kutenin
953d8c29a5 Remove redundant comment 2019-02-21 08:14:26 +03:00
Danila Kutenin
16b2e45586 Function trigramDistance added for string similarity search 2019-02-21 08:08:37 +03:00
Vitaly Baranov
31039056f5
Merge pull request #4174 from vitlibar/add-protobuf-input-format
Add protobuf input format.
2019-02-21 00:59:13 +03:00
chertus
f028691eaa Merge branch 'master' into joins 2019-02-20 18:48:47 +03:00
chertus
116574288f one more test 2019-02-20 18:47:38 +03:00
chertus
1f2a5f9a91 disable asterisks in mJOIN, add some tests 2019-02-20 18:28:53 +03:00
proller
853537d233
Parquet hotfixes (#4458)
* Parquet hotfixes

* Parquet tests hotfixes

* Parquet: Mute ubsan for parquet and snappy

* Disable ubsan for arrow
2019-02-20 18:21:23 +03:00
chertus
d45d980716 support column names without aliases (make special ones) 2019-02-20 16:22:01 +03:00
chertus
48ee3e83fa JoinToSubqueryTransform with short names 2019-02-20 15:12:36 +03:00
alesapin
432a802342 Merge branch 'master' into fix_long_http_queries_insert 2019-02-20 14:53:36 +03:00
alesapin
ef7beb1596 Fix bug with long http insert queries processing 2019-02-20 12:22:13 +03:00
Vitaly Baranov
78c808da10 Add a test for checking reading data from protobuf messages. 2019-02-20 07:28:18 +03:00
Vitaly Baranov
eef02034b2 Implement a new row input stream for reading protobuf messages. 2019-02-20 07:28:18 +03:00
Vitaly Baranov
670968af97 Added function deserializeProtobuf() to each data type. 2019-02-20 07:28:18 +03:00
Vitaly Baranov
630012dfb7 Fix error text about format schema. 2019-02-20 07:28:18 +03:00
Vitaly Baranov
9cd4c7495f Implement an utility class for reading protobuf messages. 2019-02-20 07:28:02 +03:00
Vitaly Baranov
74cc6f285c Implement an utility class to match columns and protobuf fields. 2019-02-20 05:32:29 +03:00
Vitaly Baranov
76aae5f5d0 Add support for settings 'format_schema' in a "INSERT INTO table FORMAT" query. 2019-02-20 05:32:29 +03:00
Andy Yang
1d39588695 Merge branch 'bitmap_feature' of https://github.com/andyyzh/ClickHouse into bitmap_feature
update code
2019-02-20 10:14:10 +08:00
Andy Yang
a8377af02f modify bitmap test sql 2019-02-20 10:12:40 +08:00
proller
e20c77e4c6 Add parquet support. Fixes, tests, ... 2019-02-19 23:51:44 +03:00
proller
1def68be6f Merge remote-tracking branch 'upstream/master' into fix23 2019-02-19 23:48:07 +03:00
proller
88076bb8c9 Merge commit 'bf09c2047a47b74f089d701b9b1e4fcbe8955a7f' into fix23 2019-02-19 23:46:37 +03:00
Alexey Milovidov
9c23486551 Fixed backward incompatibility of table function "remote" introduced with column comments 2019-02-19 20:02:51 +03:00
alexey-milovidov
fb002f40ff
Merge pull request #4371 from vitlibar/fix-compilation-on-mac
Fix compilation on Mac.
2019-02-19 19:39:42 +03:00
Alexey Milovidov
11fc35e098 Fixed accidential incompatibility due to wrong implementation of "send_logs_level" setting 2019-02-19 16:27:59 +03:00
Vitaly Baranov
ad377d421f MergingSortedBlockInputStream class constructor, "max_block_size" parameter: change type UInt64 -> size_t. 2019-02-19 14:56:08 +03:00
Vitaly Baranov
536edf7721 StorageSystemNumber class constructor, "offset" and "limit" parameters: change type size_t -> UInt64. 2019-02-19 14:56:08 +03:00
Vitaly Baranov
37e726c311 IStorageURLBase::getReadURIParams() and IStorageURLBase::getReadPOSTDataCallback() functions, "max_block_size" parameter: change type UInt64 -> size_t. 2019-02-19 14:56:17 +03:00
Vitaly Baranov
2176c0c4d3 IDataType::[de]serializeBinaryBulk() functions, "limit" parameter: change type UInt64 -> size_t. 2019-02-19 14:56:08 +03:00
Vitaly Baranov
309df832ec IStorage::read() function, "max_block_size" parameter: change type UInt64 -> size_t. 2019-02-19 14:56:08 +03:00
Vitaly Baranov
4b6cba9a8e IColumn::getPermutation() and IColumn::permutate() functions, "limit" parameter: change type UInt64 -> size_t. 2019-02-19 14:56:09 +03:00
Vitaly Baranov
86b204d1c7 IDictionary::getBlockInputStream() function, "max_block_size" parameter: change type UInt64 -> size_t. 2019-02-19 14:49:03 +03:00
Vitaly Baranov
833aa9189b IColumn::index() function, "limit" parameter: change type UInt64 -> size_t. 2019-02-19 14:47:41 +03:00
alesapin
1b0ae80a49
Merge pull request #4437 from yandex/add_cli_settings_to_performance_test
Add CLI settings for clickhouse-performance-test.
2019-02-19 10:20:50 +03:00
Vitaly Baranov
ab7e7507a4 Revert incorrect fix compilation on Mac.
This reverts commit ef6b20030c.
2019-02-18 20:31:18 +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
alesapin
b2d90d5c10 Add CLI settings for clickhouse-performance-test. 2019-02-18 18:43:58 +03:00
alexey-milovidov
15b03f6e12
Merge pull request #4412 from 4ertus2/joins
Support aliases in JOIN ON section for right table columns
2019-02-18 18:31:01 +03:00
Alex Zatelepin
cadc023af8
Update CMakeLists.txt
remove redundant statement
2019-02-18 18:24:20 +03:00
Danila Kutenin
35bfe7950e Pointer codestyle fix in Levenshtein distance 2019-02-18 04:21:18 +03:00
Danila Kutenin
ed57671948 Implement Levenstein distance with linear memory 2019-02-18 04:18:39 +03:00
Alexey Milovidov
0ca6496b4d Updated test 2019-02-16 01:47:51 +03:00
Alexey Milovidov
b5b0c3eb28 Allow to move more than a single condition to PREWHERE 2019-02-15 22:25:29 +03:00
Alexey Milovidov
eb54d43c14 Do not move conditions on all queried columns to PREWHERE 2019-02-15 22:00:19 +03:00
alexey-milovidov
85a5ece942
Merge pull request #4407 from nikvas0/nikvas0/index_fix2
indices fix
2019-02-15 18:56:14 +03:00
alexey-milovidov
b828354ed1
Merge pull request #4408 from zhang2014/fix/ISSUES-4389
ISSUES-4389 fix lambda function with predicate optimizer
2019-02-15 18:55:53 +03:00
chertus
1fc6c60668 undo unneeded changes 2019-02-15 18:47:39 +03:00
chertus
b72d12d12e join on allow aliases for right table columns 2019-02-15 18:47:39 +03:00
chertus
dc1a0ed3f4 normalize JOIN ON section 2019-02-15 18:47:39 +03:00
chertus
33c3b5cdad some more refactoring 2019-02-15 18:47:39 +03:00
chertus
c6e541858e refactoring: do not match columns to tables twice 2019-02-15 18:47:39 +03:00
robot-clickhouse
d8abd09457 Auto version update to [19.3.4] [54415] 2019-02-15 14:50:37 +03:00
proller
263e69e861
Build fixes (FreeBSD port) (#4397) 2019-02-15 14:46:07 +03:00
Anton Kobzev
58b94db3fd
Merge branch 'master' into array-flatten-function 2019-02-15 12:08:24 +03:00
zhang2014
597ae0b937 ISSUES-4389 fix lambda function with predicate optimizer 2019-02-15 17:04:02 +08:00
Andy Yang
7978b508b4 check 00281_compile_sizeof_packed test case error 2019-02-15 15:02:08 +08:00
anton
2868bbcb21 Basic implementation 2019-02-15 10:00:50 +03:00
Nikita Vasilev
4fb7abfeff removed logs 2019-02-15 08:58:29 +03:00
Nikita Vasilev
83d37a6f83 removed logs 2019-02-15 08:56:37 +03:00
anton
5cb04155d7 Basic implementation 2019-02-15 08:47:49 +03:00
Alexey Milovidov
ac05eaaac4 Added a test 2019-02-15 02:58:50 +03:00
Alexey Milovidov
e758caa7a9 Better "optimize_move_to_prewhere" heuristic; simpler code 2019-02-15 02:51:17 +03:00
Alexey Milovidov
793b92987f Better "optimize_move_to_prewhere" heuristic 2019-02-14 23:09:44 +03:00
Alexey Milovidov
f30c05ed94 Better prewhere (incomplete) 2019-02-14 22:59:51 +03:00
alexey-milovidov
ed3a8a66a2
Merge pull request #4399 from yandex/better-replica-repair
Better replica repair
2019-02-14 21:50:20 +03:00
alexey-milovidov
6d5bbd642a
Merge pull request #4401 from 4ertus2/ast
fix UB in TranslateQualifiedNamesMatcher
2019-02-14 21:48:30 +03:00
Nikita Vasilev
77d8fe0aee fix 2019-02-14 20:35:50 +03:00
Nikita Vasilev
610534e5ff fix 2019-02-14 19:59:26 +03:00
Alexey Milovidov
a216cba3c4 Better "optimize_move_to_prewhere" heuristic 2019-02-14 19:48:41 +03:00
alesapin
6d865b538e
Merge pull request #4398 from yandex/zookeeper-size-limit
Slightly raised up the limit on max string and array size received from ZooKeeper
2019-02-14 19:33:34 +03:00
anton
350975cb25 Basic implementation 2019-02-14 17:56:11 +03:00
chertus
a2ff9391ad fix UB 2019-02-14 17:25:55 +03:00
Alexey Milovidov
21247ebfac Better replica repair logic: clearing obsolete queue 2019-02-14 17:04:28 +03:00
Alexey Milovidov
2efb4bdca2 Slightly raised up the limit on max string and array size received from ZooKeeper 2019-02-14 16:47:00 +03:00
Alexey Milovidov
048f966cde Added a test #4396 2019-02-14 16:42:26 +03:00
Alexey Milovidov
b7a4456007 Avoid "Memory limit exceeded" during ATTACH TABLE query 2019-02-14 16:05:44 +03:00
Andy Yang
4d42a297ae Adjust to the latest IAggregateFunctionDataHelper 2019-02-14 19:51:13 +08:00
alexey-milovidov
d5aba078e0
Merge pull request #4386 from nikvas0/nikvas0/set_index_args
Set index fix
2019-02-14 14:00:05 +03:00
Nikita Vasilev
64e0732b4a fixed 2019-02-14 12:13:04 +03:00
Nikita Vasilev
683314b69b fix set 2019-02-14 12:06:32 +03:00
Nikita Vasilev
60158d06ed fix test 2019-02-14 11:50:17 +03:00
Nikita Vasilev
f8c0f4697c create test 2019-02-14 11:49:31 +03:00
Nikita Vasilev
28840c79ed Merge branch 'master' into nikvas0/set_index_args 2019-02-14 10:44:57 +03:00
Andy Yang
41f474ef64 Merge branch 'bitmap_feature' of https://github.com/andyyzh/ClickHouse into bitmap_feature
merge remote branch
2019-02-14 15:42:43 +08:00
Andy Yang
4a4dbcd2c1 Merge remote-tracking branch 'origin' into bitmap_feature 2019-02-14 15:14:18 +08:00
Andy Yang
ae4a842a1e modify test cases 2019-02-14 14:58:29 +08:00
Alexey Milovidov
46e8553b1f Config: added clarification 2019-02-14 00:16:40 +03:00
Nikita Vasilev
ca1484ae95 set exactly one arg 2019-02-13 22:26:24 +03:00
alexey-milovidov
578b18af84
Merge pull request #4384 from yandex/fix-low-cardinality-with-rollup
Fix low cardinality with rollup
2019-02-13 21:29:16 +03:00
Nikolai Kochetov
42baf1652f Added test for LowCardinality with rollup and cube. 2019-02-13 20:08:20 +03:00
Nikolai Kochetov
8e2cc98416 Added test for LowCardinality with rollup and cube. 2019-02-13 19:56:06 +03:00
Nikolai Kochetov
cf40a1538b Fix size() and empty() for AggregationDataWithNullKey. #4223 2019-02-13 19:54:55 +03:00
robot-clickhouse
cfab694978 Auto version update to [19.3.3] [54415] 2019-02-13 18:36:20 +03:00
proller
f5560660be Fix brotli (unbundled, missing, ...) 2019-02-13 18:35:11 +03:00
Alexey Milovidov
49bb1f9ca3 Updated contributors 2019-02-13 17:17:53 +03:00
Alexey Milovidov
62eb65774a Added suppression for libunwind 2019-02-13 16:42:01 +03:00
robot-clickhouse
ec99ce1ab5 Auto version update to [19.3.2] [54415] 2019-02-13 16:17:07 +03:00
Alexey Zatelepin
15d0adaf5a add info about replicated_can_become_leader to logs and system.replicas [#CLICKHOUSE-4309] 2019-02-13 16:08:34 +03:00
alesapin
af4c4dc1e5 Fix old clients insert query processing with embedded data 2019-02-13 15:54:22 +03:00
Alexey Milovidov
a0b91077e7 Fixed -Wshadow-field-in-constructor (clang 8 warning) 2019-02-13 15:53:36 +03:00
Alexey Milovidov
e2d4dae5e1 Fixed race condition in removal of data parts #3531 2019-02-13 15:53:06 +03:00
alesapin
952aed6c82
Merge pull request #4235 from fandyushin/brotli
Brotli support for HTTP interfaces
2019-02-13 10:50:04 +03:00
Alexey Milovidov
29c517fbce Merge branch 'master' of github.com:yandex/ClickHouse 2019-02-13 03:11:58 +03:00
Alexey Milovidov
2695a4614d Added a test #3170 2019-02-13 03:11:49 +03:00
alexey-milovidov
024709db7d
Merge pull request #4372 from yandex/fix-cancel-of-vertical-merges
Faster cancelling of vertical merges
2019-02-13 02:58:00 +03:00
Alexey Milovidov
8b6b6c8035 Updated test 2019-02-13 02:53:36 +03:00
Alexey Milovidov
6a16d27da4 Fixed bad error message #2418 2019-02-13 02:49:32 +03:00
Mikhail
4fd289c1f4
Merge branch 'master' into brotli 2019-02-12 22:52:23 +03:00
Alexey Milovidov
c8cafa456c Added a test for already fixed issue [#CLICKHOUSE-4260] 2019-02-12 22:23:22 +03:00
alexey-milovidov
62f097eb66
Merge pull request #4348 from yandex/aggregate-function-state-in-field
Aggregate function state in field
2019-02-12 22:13:38 +03:00
Alexey Milovidov
4051306fa7 Fixed includes #4372 2019-02-12 22:09:51 +03:00
Alexey Milovidov
d558cf345c Faster calcelling of vertical merges 2019-02-12 22:04:13 +03:00
robot-clickhouse
7665ef297f Auto version update to [19.3.1] [54415] 2019-02-12 21:42:14 +03:00
alexey-milovidov
48280074c4
Merge pull request #4369 from yandex/fix-race-condition-merge-tree-clear-old-temporary-directories
Fixed rare race condition on startup of non-replicated MergeTree tables: concurrent attempt to remove a temporary directory [#CLICKHOUSE-4296]
2019-02-12 21:37:48 +03:00
alexey-milovidov
e49004be2e
Merge pull request #4351 from 4ertus2/joins
Simplify QueryNormalizer and fix for 4110
2019-02-12 21:36:56 +03:00
alexey-milovidov
2493b63bf2
Merge pull request #4365 from vitlibar/function-to-start-of-day-now-can-receive-date
Function toStartOfDay() now can receive a date.
2019-02-12 21:33:12 +03:00
alexey-milovidov
e762f370a7
Merge pull request #4363 from 4ertus2/ast
Fix full/right join 'different number of columns'
2019-02-12 21:31:09 +03:00
Nikolai Kochetov
0bf4f4334b Renamed tests. 2019-02-12 21:27:14 +03:00
alexey-milovidov
d8aa74bc64
Merge pull request #4367 from yandex/unified-sets-fix-lc-cache
Fix LowCardinality cache for ColumnsHashing
2019-02-12 21:24:52 +03:00
alexey-milovidov
5fbc11e40d
Merge pull request #4368 from yandex/fix-materialized-func-with-lc-args
Fix materialized function with LowCardinality argument.
2019-02-12 21:22:34 +03:00
alexey-milovidov
c1bf56c969
Merge pull request #4370 from nikvas0/nikvas0/index_setting
allow_experimental_data_skipping_indices setting
2019-02-12 21:19:55 +03:00
Nikita Vasilev
5279c7ff81 setting 2019-02-12 20:54:52 +03:00
Alexey Milovidov
7d1e755a7c Fixed rare race condition on startup of non-replicated MergeTree tables: concurrent attempt to remove a temporary directory [#CLICKHOUSE-4296] 2019-02-12 19:41:06 +03:00
Nikolai Kochetov
8e075899cb Added test. 2019-02-12 19:15:20 +03:00
Nikolai Kochetov
31397f7156 Fix column size for const LowCardinality arguments. 2019-02-12 19:04:05 +03:00
KochetovNicolai
7673d2abb5
Update 906_low_cardinality_cache.sql
Delete table after test.
2019-02-12 18:48:32 +03:00
Nikolai Kochetov
bb686b3154 Fix type for constant LowCardinality arguments. 2019-02-12 18:43:58 +03:00
Nikolai Kochetov
1af4d9b89c Fix type for constant LowCardinality arguments. 2019-02-12 18:42:33 +03:00
chertus
93e0621a2c fix wrong query in push down test 2019-02-12 18:08:21 +03:00
Nikolai Kochetov
b95f5196c0 Added test. 2019-02-12 17:43:52 +03:00
Nikolai Kochetov
a73f29ca2e Fix LowCardinality cache. 2019-02-12 17:38:29 +03:00
Vitaly Baranov
83d461975e Function toStartOfDay() now can receive a date. 2019-02-12 17:21:37 +03:00
proller
26ac9cd979 Merge remote-tracking branch 'upstream/master' into fix10 2019-02-12 17:08:34 +03:00
Alexey Milovidov
40bc370447 Merge branch 'master' of github.com:yandex/ClickHouse 2019-02-12 16:51:43 +03:00
Alexey Milovidov
2aafcb8401 Fixed ubsan build #4322 2019-02-12 16:51:34 +03:00
alesapin
5eb5f631fd
Update BrotliReadBuffer.h 2019-02-12 16:01:14 +03:00
proller
bdefba6c32 fix link order 2019-02-12 15:59:40 +03:00
proller
fa12941640 Merge remote-tracking branch 'upstream/master' into fix10 2019-02-12 15:58:57 +03:00
chertus
aaf3813607 Merge branch 'master' into joins 2019-02-12 15:51:04 +03:00
alexey-milovidov
a6d5714f89
Merge pull request #4360 from vitlibar/fix-compilation-on-mac
Fix compilation on Mac.
2019-02-12 15:34:43 +03:00
Alexey Milovidov
8f1910729a Fixed ubsan build #4322 2019-02-12 15:33:24 +03:00
chertus
3218f5003f fix full/right join different number of columns 2019-02-12 15:11:45 +03:00
proller
558ebbcc31 New library clickhouse_storage_kafka 2019-02-12 14:17:46 +03:00
Vitaly Baranov
ef6b20030c Fix compilation on Mac. 2019-02-12 14:15:03 +03:00
Nikolai Kochetov
a4441bfba2 Fix tests. 2019-02-12 13:09:03 +03:00
proller
af29067fa9 Merge remote-tracking branch 'upstream/master' into fix10 2019-02-12 12:51:01 +03:00
Nikolai Kochetov
ec6a5590fd Fix build. 2019-02-12 12:31:20 +03:00
alesapin
067ee98852 Forward settings in perf test and fix exception in uniq.xml 2019-02-12 12:13:31 +03:00
alesapin
84a71a2287 Fix perf test to correct tables 2019-02-12 11:42:56 +03:00
proller
428f7ce27b Fix split link of dbms/programs/odbc-bridge 2019-02-12 00:43:29 +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
chertus
a493f9ee7d add test for issue-3290 2019-02-11 22:39:11 +03:00
chertus
bbfd6c502c test for issue-3998 2019-02-11 22:33:04 +03:00
Nikolai Kochetov
2b8b342ccd Update IAggregateFunction interface. 2019-02-11 22:26:32 +03:00
chertus
805866e6b3 hotfix for wrong aliases issue-4110 2019-02-11 22:14:57 +03:00
chertus
958b538a01 minor improvement 2019-02-11 21:26:40 +03:00
Alexey Milovidov
0b084ba531 Merge branch 'master' of github.com:yandex/ClickHouse 2019-02-11 20:26:44 +03:00
Alexey Milovidov
2294575693 Fixed fuzz test #4322 2019-02-11 20:26:35 +03:00
alexey-milovidov
771d1f10ad
Merge pull request #4349 from proller/fix10
Fix build without contrib/cppkafka submodule
2019-02-11 20:22:36 +03:00
alexey-milovidov
49165b1347
Merge pull request #4344 from yandex/forbid-temporary-tables-in-database
Forbid temporary tables in database
2019-02-11 19:51:56 +03:00
proller
e79468ba45 Merge remote-tracking branch 'upstream/master' into fix10 2019-02-11 19:34:48 +03:00
proller
4078a62573 Fix build without contrib/cppkafka submodule 2019-02-11 19:34:32 +03:00
Nikolai Kochetov
0a6f75a1b6 Allow to execute subquery with scalar aggregate function state. 2019-02-11 18:50:52 +03:00
alesapin
dd62de8a69 Merge branch 'master' of github.com:yandex/ClickHouse 2019-02-11 18:47:47 +03:00
Nikolai Kochetov
d4ba5432b3 Added test. 2019-02-11 18:46:19 +03:00
Nikolai Kochetov
c35439a5f0 Updated FieldVisitor. 2019-02-11 18:46:19 +03:00
alesapin
acd8c8bd28 Skip unfulfilled tests in preformance-test 2019-02-11 18:45:41 +03:00
robot-clickhouse
b141657e61 Auto version update to [19.3.0] [54415] 2019-02-11 18:13:23 +03:00
alexey-milovidov
1db4bd8c2a
Merge pull request #4117 from abyss7/issue-2675
Better tests for Kafka engine
2019-02-11 18:03:24 +03:00
alexey-milovidov
5ab7ffc346
Merge pull request #4341 from yandex/fix_compile_expressions_comparison
Fix big dates comparison with compile expressions (Date and DateTime …
2019-02-11 18:03:04 +03:00
Alexey Milovidov
6610e0cf29 Added a test 2019-02-11 17:55:24 +03:00
Alexey Milovidov
7b312c6df2 Forbid to specify a database when creating a temporary table [#CLICKHOUSE-4294] 2019-02-11 17:46:09 +03:00
alesapin
55fc095c98 Fix big dates comparison with compile expressions (Date and DateTime are not signed types anymore). 2019-02-11 17:36:54 +03:00
alexey-milovidov
bb65c9dfd4
Merge pull request #4337 from danlark1/master
Better hints provider
2019-02-11 17:22:07 +03:00
alexey-milovidov
4e12697e1c
Merge pull request #4304 from vitlibar/add-function-to-start-of-interval
Add time function toStartOfInterval().
2019-02-11 17:21:48 +03:00
chertus
1de1192aa8 move asterisks extraction to TranslateQualifiedNamesVisitor (before column names normalisation) 2019-02-11 17:19:09 +03:00
Alexey Milovidov
94d1b6b4de Updated contributors 2019-02-11 17:16:07 +03:00
Danila Kutenin
985bb119c1 Fix comment 2019-02-11 15:44:18 +03:00
Danila Kutenin
6a1d1f5508 Better hints provider 2019-02-11 15:42:20 +03:00
Nikolai Kochetov
85318c0bfd Merge branch 'master' into aggregate-function-state-in-field 2019-02-11 15:41:11 +03:00
Vitaly Baranov
0dd1dc242a Add time function toStartOfInterval(). 2019-02-11 14:59:17 +03:00
Ivan Lezhankin
15ad409875 Tests are now passing locally 2019-02-11 14:54:30 +03:00
Nikolai Kochetov
9787b3a1ee Added Field type AggregateFunctionState. 2019-02-11 14:19:56 +03:00
Ivan Lezhankin
2bd14117f4 Merge remote-tracking branch 'upstream/master' into issue-2675 2019-02-11 13:57:40 +03:00
alexey-milovidov
81a184c47f
Merge pull request #4301 from yandex/input-data-in-perf-test
Fix perf-test input data and refactor two tests
2019-02-11 12:52:03 +03:00
alexey-milovidov
993b1a073c
Merge pull request #4330 from yandex/fix-table-create-query-toctou
Fixed test (TOCTOU)
2019-02-11 03:57:27 +03:00
Alexey Milovidov
c345ded839 Added comment #4200 2019-02-11 03:17:49 +03:00
alexey-milovidov
f58e0c7c97
Merge pull request #4200 from DarkWanderer/feature/row-binary-with-headers
Added RowBinaryWithNamesAndTypes format
2019-02-11 03:14:56 +03:00
alexey-milovidov
ae5338089a
Merge pull request #4329 from yandex/andrewgolman-add_topkweighed
Added topKWeighted aggregate function (cleanups)
2019-02-11 02:52:22 +03:00
Alexey Milovidov
0221757262 Fixed test (TOCTOU) 2019-02-11 02:13:09 +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
c2d1301174 Fixed typo once again #4245 2019-02-11 01:31:36 +03:00
Mikhail Fandyushin
b6c8a892a8 Merge branch 'brotli' of https://github.com/fandyushin/ClickHouse into brotli 2019-02-11 00:53:17 +03:00
Mikhail Fandyushin
47d0509f3d added tests for brotli compression 2019-02-11 00:52:26 +03:00
Alexey Milovidov
e1703eb2a0 Added a test #4245 2019-02-11 00:29:34 +03:00
alexey-milovidov
d47c307f91
Merge pull request #4328 from yandex/nezed-forks-implement-not-between
Implement NOT BETWEEN operator (cleanups).
2019-02-11 00:21:34 +03:00
Alexey Milovidov
5ed720b522 Fixed typo 2019-02-11 00:17:52 +03:00
Alexey Milovidov
47bffbf760 Merge branch 'master' into andrewgolman-add_topkweighed 2019-02-11 00:15:35 +03:00
Alexey Milovidov
0861af12a3 Fixed thread names 2019-02-11 00:15:14 +03:00
Alexey Milovidov
7ddede66db Added support for generic case for aggregate function topKWeighted; fixed errors #4245 2019-02-11 00:01:26 +03:00
Alexey Milovidov
ec5fbce404 Merge branch 'add_topkweighed' of https://github.com/andrewgolman/ClickHouse into andrewgolman-add_topkweighed 2019-02-10 23:31:17 +03:00
Alexey Milovidov
a1754f76b5 Added one more keyword for command line completions #4328 2019-02-10 23:30:28 +03:00
alexey-milovidov
78869a7c0c
Merge pull request #4327 from yandex/highlight-like-and-regexps
Usability: highlight metacharacters in LIKE expressions and regexps
2019-02-10 23:27:39 +03:00
Alexey Milovidov
f4f97867c3 Fixed error #4228 2019-02-10 23:23:24 +03:00
Alexey Milovidov
c0dd4debc5 Fixed error #4228 2019-02-10 23:21:22 +03:00
Alexey Milovidov
1f41aeaf7a Avoid some corner cases like "SELECT 1 NOT WITH CUBE" 2019-02-10 23:18:47 +03:00
Alexey Milovidov
08c5c45f2b Added a test for operator priority #4228 2019-02-10 23:18:11 +03:00
Alexey Milovidov
69b84380f2 Make it work #4228 2019-02-10 23:17:53 +03:00
Alexey Milovidov
8e564a616c Fixed error #4228 2019-02-10 23:08:44 +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
c6a01ccfb3
Merge pull request #4325 from yandex/k3box-arbitrary-const-expressions-in-limit
Add arbitrary const expressions in limit processing (cleanups)
2019-02-10 22:29:58 +03:00
alexey-milovidov
c6d9259e2a
Update ASTFunction.cpp 2019-02-10 22:21:08 +03:00
Alexey Milovidov
021fc36064 Highlight metacharacters in LIKE expressions and regexps 2019-02-10 22:11:47 +03:00
Alexey Milovidov
2c7cf23f3f Removed support for constant expressions in TOP because they cannot work 2019-02-10 21:19:26 +03:00
Alexey Milovidov
d9ab923a2a Fixed typo 2019-02-10 21:14:23 +03:00