Commit Graph

12019 Commits

Author SHA1 Message Date
Alexey Milovidov
215ec2be98 Tiny improvement [#CLICKHOUSE-3820] 2018-07-13 20:27:58 +03:00
alexey-milovidov
53f9ae3cf1 Update CompressedReadBufferBase.cpp 2018-07-13 06:41:18 +03:00
proller
9d0b6bffe4 Better error: Print checksums if they mismatch 2018-07-13 06:41:18 +03:00
Alexey Milovidov
c315200e64 Fixed rare error in ZooKeeper library: callback never called in case when network error happens after reading response header but before response body was read - that will lead to deadlock and readonly table [#CLICKHOUSE-3820] 2018-07-13 00:31:38 +03:00
robot-metrika-test
d2c4696bc6 Auto version update to [54394] 2018-07-12 16:25:17 +03:00
robot-metrika-test
b683792769 Auto version update to [54393] 2018-07-11 23:45:40 +03:00
Alexey Milovidov
14d5aa061f Miscellaneous #1322 2018-07-11 22:37:57 +03:00
Alexey Milovidov
d6a3cade18 Whitespaces [#CLICKHOUSE-3820] 2018-07-11 19:10:02 +03:00
Alexey Milovidov
06fc37abd4 Merge branch 'master' of github.com:yandex/ClickHouse 2018-07-11 18:58:56 +03:00
Alexey Milovidov
0352d6916f Updated default clickhouse-client config #1959 2018-07-11 18:58:29 +03:00
robot-metrika-test
5a25d7df26 Auto version update to [54392] 2018-07-11 16:00:46 +03:00
Alexey Milovidov
b3b41c9661 Non significant changes #2521 2018-07-11 15:59:37 +03:00
Alexey Milovidov
2f4605e7da Fixed build #2627 2018-07-11 15:50:23 +03:00
alexey-milovidov
9793ae98e0
Merge pull request #2521 from ssmike/CLICKHOUSE-3547
CLICKHOUSE-3547 streaming histogram aggregation
2018-07-11 15:48:12 +03:00
alexey-milovidov
e0ce1aac56 Update WriteBufferFromOStream.cpp 2018-07-10 23:46:10 +03:00
alexey-milovidov
ba25b84e6d Update WriteBufferFromOStream.cpp 2018-07-10 23:46:10 +03:00
alexey-milovidov
401c48272d Update WriteBufferFromOStream.h 2018-07-10 23:46:10 +03:00
alexey-milovidov
1737228039 Update ReadBufferFromIStream.cpp 2018-07-10 23:46:10 +03:00
alexey-milovidov
21a5a7a544 Update ReadBufferFromIStream.h 2018-07-10 23:46:10 +03:00
proller
2e0869f567 Write current position in stream errors 2018-07-10 23:46:10 +03:00
Alexey Milovidov
8eea4ae9cd Fixed race condition in test #2604 2018-07-10 22:00:07 +03:00
Alexey Milovidov
abf8cd24d7 Fixed discrepancy [#CLICKHOUSE-2837] 2018-07-10 21:39:32 +03:00
Alexey Milovidov
98f8ae3edb Fixed error with timeouts [#CLICKHOUSE-2837] 2018-07-10 20:40:17 +03:00
robot-metrika-test
f6e0a4ae68 Auto version update to [54391] 2018-07-10 19:16:29 +03:00
Alexey Milovidov
e3b3c9f81b Added test for chroot in ZK [#MDBSUPPORT-204] 2018-07-10 19:14:27 +03:00
Alexey Milovidov
f80081ca03 Fixed chroot prefix in information about exception for ZooKeeper multi transaction (variant 2) [#MDBSUPPORT-204] 2018-07-10 19:14:27 +03:00
Amos Bird
f5764910c4 Fix TRUNCATE command for temporary tables. 2018-07-10 22:25:08 +08:00
Alexey Milovidov
a26a0f5331 Better exception message for KeeperMiltiException [#MDBSUPPORT-204] 2018-07-10 16:47:14 +03:00
Alexey Milovidov
8e0ae12b4e Miscellaneous [#CLICKHOUSE-2] 2018-07-10 16:43:01 +03:00
Георгий Кондратьев
f8b53280a0 Do not add lib prefix to dictionary_library plugins
By convention plugins (libraries that are only meant for dlopen) do not have lib prefix.
2018-07-10 14:29:19 +03:00
Alexey Milovidov
15dd80a913 Debugging [#CLICKHOUSE-2] 2018-07-10 03:35:00 +03:00
Alexey Milovidov
3c34487f43 Preparations [#CLICKHOUSE-2] 2018-07-09 23:36:58 +03:00
Amos Bird
ea01a3b22e add OPTIMIZE FINAL support for ReplicatedMergeTree. 2018-07-09 18:03:23 +03:00
Mikhail Surin
877acef7d5 remove temporary allocations 2018-07-08 16:56:33 +03:00
Alexey Milovidov
7707b5a209 Improvement [#CLICKHOUSE-3810] 2018-07-08 02:53:49 +03:00
Alexey Milovidov
a34f1231f3 Fixed error with empty TinyLog table; added a test from Nickolay Kovalev #2563 2018-07-07 23:05:52 +03:00
Alexey Milovidov
4f2655960c Fixed test [#CLICKHOUSE-2] 2018-07-07 22:39:20 +03:00
Alexey Milovidov
d2a44248cd Fixed error with empty TinyLog table; added a test from Nickolay Kovalev #2563 2018-07-07 22:02:10 +03:00
Alexey Milovidov
b714d87de7 Get rid of virtual columns in system.tables table [#CLICKHOUSE-3806] 2018-07-07 21:58:48 +03:00
Alexey Milovidov
c126b9a5ab Fixed trashy test #2115 2018-07-07 21:52:58 +03:00
Mikhail Surin
69b8774611 ensure parameter type 2018-07-07 15:38:47 +03:00
Mikhail Surin
9f5e9d1389 epsilon 2018-07-07 15:09:21 +03:00
Mikhail Surin
ca837723ed fix unique for empty point sets 2018-07-07 13:40:32 +03:00
Alexey Milovidov
c3b7abaa8b Added another test #2115 2018-07-06 22:47:08 +03:00
Alexey Milovidov
b01d7bb5e2 Fixed wrong code #2115 2018-07-06 22:37:58 +03:00
Alexey Milovidov
299d029d35 Added a test from Silviu Caragea #2115 2018-07-06 22:22:12 +03:00
Alexey Milovidov
43111f2ac9 Fixed error with function "has" and Nullable array argument #2115 2018-07-06 22:19:38 +03:00
Alexey Milovidov
576885c6b8 Little better [#CLICKHOUSE-2] 2018-07-06 21:35:37 +03:00
robot-metrika-test
173deed844 Auto version update to [54390] 2018-07-06 19:37:50 +03:00
Alexey Milovidov
93f8316e1f Little better [#CLICKHOUSE-3806] 2018-07-06 19:34:53 +03:00
Alexey Milovidov
1927ab56e1 Merge branch 'master' of github.com:yandex/ClickHouse 2018-07-06 19:22:37 +03:00
Alexey Milovidov
95915579c7 Fixed test [#CLICKHOUSE-3806] 2018-07-06 19:22:15 +03:00
alexey-milovidov
1e78445a25 Update FunctionsConversion.h 2018-07-06 18:55:26 +03:00
Nikolai Kochetov
935b7edb48 Removed enums from IDataType::isValueRepresentedByUnsignedInteger 2018-07-06 18:55:26 +03:00
Nikolai Kochetov
f676fed344 Added test with monotonic integer cast. 2018-07-06 18:55:26 +03:00
Nikolai Kochetov
7592b6e34a Fixed monotonic constraints for unsigned integer types. 2018-07-06 18:55:26 +03:00
Alex Zatelepin
f7f4f220f1 Update MergeTreeData.cpp 2018-07-06 15:14:23 +03:00
Ciprian Hacman
fd6fb023b6 Recreate format_version.txt when missing 2018-07-06 15:14:23 +03:00
Mikhail Surin
8c4f04c452 invalid values handler 2018-07-06 14:29:14 +03:00
Alexey Milovidov
7fcf609812 Miscellaneous [#CLICKHOUSE-3806] 2018-07-06 03:28:39 +03:00
Alexey Milovidov
5d52be3c7e Merge branch 'master' of github.com:yandex/ClickHouse 2018-07-06 03:27:58 +03:00
Alexey Milovidov
21508df7c2 Fixed extremely bad code #2313 2018-07-06 03:27:47 +03:00
Alexey Milovidov
67b9a69f19 Fixed error in prev. revision [#CLICKHOUSE-3806] 2018-07-06 00:26:23 +03:00
Alexey Milovidov
88c582106b Attempt to get rid of VirtualColumnFactory (part 2) [#CLICKHOUSE-3806] 2018-07-05 23:38:05 +03:00
Alexey Milovidov
cc2250f688 Attempt to get rid of VirtualColumnFactory (part 1) [#CLICKHOUSE-3806] 2018-07-05 22:56:51 +03:00
Alexey Milovidov
0a188389c0 Fixed error #2599 2018-07-05 21:56:33 +03:00
Alexey Milovidov
4a35b57cea Little better #2599 2018-07-05 21:45:18 +03:00
Amos Bird
78beacb3a5 Make OPTIMIZE be able to merge all parts with FINAL. 2018-07-05 21:32:54 +03:00
Alexey Zatelepin
d5f8e4a1a5 load quorum status in merge predicate asynchronously [#CLICKHOUSE-3802] 2018-07-05 20:06:33 +03:00
Alexey Zatelepin
a41ee1f0a7 switch to ephemeral nodes for block number locks [#CLICKHOUSE-3802] 2018-07-05 20:06:33 +03:00
Alexey Zatelepin
0a46d231ed speedup merge selection: async exists check for selected parts [#CLICKHOUSE-3802] 2018-07-05 20:06:33 +03:00
Alexey Zatelepin
116ed0a59e add RestartingThread wakeup for faster session recovery 2018-07-05 19:30:52 +03:00
Alexey Zatelepin
fe83c8dab1 stricter validation of mutation commands #2588 2018-07-05 17:19:33 +03:00
Mikhail Surin
0418f179dc merge review 2018-07-05 16:29:43 +03:00
Alexey Zatelepin
88951cac62 clearer error message in test 2018-07-05 16:29:22 +03:00
Mikhail Surin
8bb17685fd reduce memory footprint 2018-07-05 14:33:59 +03:00
Mikhail Surin
f598e6d47c add tests 2018-07-05 12:53:42 +03:00
Mikhail Surin
984fe8e4fd implement n log(n) compression algorigthm 2018-07-05 12:53:42 +03:00
Mikhail Surin
b09323c547 naive implementation 2018-07-05 12:53:42 +03:00
Alexey Milovidov
c45aa180e8 Reviewing #2521 2018-07-05 02:24:36 +03:00
Alexey Milovidov
018e48399e Make the test results more stable with respect to floating point calculations method #2521 2018-07-05 01:37:48 +03:00
Alexey Milovidov
bfc29a3b91 Updated test #2521 2018-07-05 01:32:55 +03:00
Alexey Milovidov
ac2d352203 Reviewing #2521 2018-07-05 01:28:15 +03:00
Alexey Milovidov
b18a0e3ec0 Reviewing #2521 2018-07-05 00:49:32 +03:00
Alexey Milovidov
efb4eab4fd Merge branch 'CLICKHOUSE-3547' of https://github.com/ssmike/ClickHouse into ssmike-CLICKHOUSE-3547 2018-07-05 00:29:40 +03:00
Alexey Milovidov
c6eaca7c67 Adaptations #2574 2018-07-05 00:15:29 +03:00
Alexey Milovidov
7209d8b76f Adaptations #2574 2018-07-05 00:09:58 +03:00
Alexey Milovidov
84fd35da41 Adaptations #2574 2018-07-05 00:00:50 +03:00
Alexey Milovidov
7bdafa6105 Merge branch 'master' of https://github.com/amosbird/ClickHouse into amosbird-master 2018-07-04 23:54:54 +03:00
Alexey Milovidov
c0373c1d45 Style; added comment #2566 2018-07-04 23:46:17 +03:00
Alexey Milovidov
47958bee7c Merge branch 'feature-agg-func-in-summing-merge-tree' of https://github.com/kvap/ClickHouse into kvap-feature-agg-func-in-summing-merge-tree 2018-07-04 23:34:28 +03:00
Alexey Milovidov
4535f96148 Implemented TODO #2584 2018-07-04 20:28:52 +03:00
Alexey Milovidov
8fd1dbf6ec Make the test compatible with different versions of curl #2490 2018-07-04 20:28:52 +03:00
Alexey Milovidov
e6c293ab60 Added setting "use_index_for_in_with_subqueries_max_values" #2571 2018-07-04 20:28:52 +03:00
Alexey Milovidov
76e35959fb Fixed test #2490 2018-07-04 20:28:52 +03:00
Alexey Milovidov
c99e717632 Fixed bad code #2571 2018-07-04 20:28:52 +03:00
Alexey Milovidov
6afec54f7a Addition to prev. revision #2571 2018-07-04 20:28:52 +03:00
Alexey Milovidov
e86f73e465 Fixed half of bad code #2571 2018-07-04 20:28:52 +03:00
Alexey Milovidov
083b075631 Removed useless method #2571 2018-07-04 20:28:52 +03:00
Nikolai Kochetov
d49a39e5e5 Added test with runningDifference function. #2590 2018-07-04 20:25:48 +03:00
Nikolai Kochetov
5e3c0c0238 Supported nullable for runningDifference function. #2590 2018-07-04 20:25:48 +03:00
Alexey Zatelepin
48c48c6c9a add functional test for mutations of Replicated tables [#CLICKHOUSE-3747] 2018-07-02 22:34:15 +03:00
Nikolai Kochetov
67755fe882 Added test. #2580 2018-07-02 20:46:33 +03:00
Nikolai Kochetov
323578c8b6 Reload client connection params before reconnection. #2580 2018-07-02 20:46:33 +03:00
Alexey Milovidov
9845814701 Obfuscator: added heuristic #2518 2018-06-30 22:03:26 +03:00
Alexey Milovidov
394b020869 Fixed potential issue in Obfuscator on illegal UTF-8 source #2518 2018-06-30 02:27:56 +03:00
Nikolai Kochetov
f5ecd410ae Renamed test. 2018-06-29 17:05:02 +03:00
Alexey Zatelepin
3cbced0d2a add integration test for mutations of Replicated tables [#CLICKHOUSE-3747] 2018-06-29 16:46:28 +03:00
Amos Bird
900b046943 Add options to enable parsing CSV with single/double quote. 2018-06-29 15:34:55 +08:00
Alexey Milovidov
d4eefc414c Merge branch 'query_in_form_data' of https://github.com/stavrolia/ClickHouse into stavrolia-query_in_form_data 2018-06-28 20:34:58 +03:00
alexey-milovidov
b7ac6ac8c1 Update IAST.cpp 2018-06-28 20:25:09 +03:00
Nikolai Kochetov
782caef119 Added IAST::appendColumnName(WriteBuffer &); reimplemented IAST::getColumnName() using it. 2018-06-28 20:25:09 +03:00
Nikolai Kochetov
bd4a899dd3 Reduced the number of IAST::getColumnName() calls in ExpressionAnalyzer. 2018-06-28 20:25:09 +03:00
Nikolai Kochetov
29ef36a270 Added test. [#CLICKHOUSE-3794] 2018-06-28 20:15:12 +03:00
Nikolai Kochetov
acd6c8fafd Supported array(tuple) arguments for arrayEnumerateUniq function. [#CLICKHOUSE-3794] 2018-06-28 20:15:12 +03:00
Alexey Milovidov
6f21706f65 Added test #2553 2018-06-28 19:05:41 +03:00
Alexey Milovidov
493b67d051 Removed useless file [#CLICKHOUSE-2] 2018-06-28 18:59:39 +03:00
Nikolai Kochetov
ebde528506 Create default macros in global context. [#CLICKHOUSE-3793] 2018-06-28 17:11:09 +03:00
Mikhail Surin
c7a305eca3 fix float transform 2018-06-28 16:36:40 +03:00
stavrolia
5966b78d41 add case with external file 2018-06-27 21:53:11 +03:00
robot-metrika-test
e03d523f19 Auto version update to [54388] 2018-06-27 16:10:59 +03:00
Alexey Zatelepin
2447755700 BackgroundSchedulePool: remove task from delayed even it it is currently executing
If the task was left in the delayed_tasks set, it could lead to a nasty bug:
delayExecutionThreadFunction() would schedule the task, then it would immediately
go on a next iteration and schedule the same task again. Thus this task would be
continually executing, and other delayed tasks would have no chance to run.
2018-06-27 13:47:58 +03:00
Constantin S. Pan
59e7af6926 Add a test with materialized view against null table and lots of data 2018-06-26 16:26:51 +01:00
Nikolai Kochetov
0eed697623 Fixed typo. 2018-06-26 14:28:24 +03:00
Constantin S. Pan
cc4c4e0b49 Make the test more comprehensive and fix bugs in AggregateFunction implementation of SummingMergeTree 2018-06-26 11:28:42 +01:00
stavrolia
e1cd4d22db Add test (#2490) 2018-06-25 21:17:10 +03:00
Nikolai Kochetov
7c95d15374 Added test. #2525 2018-06-25 13:57:28 +03:00
Nikolai Kochetov
91c9906c88 Fixed reading from ReplacingMergeTree from emprty row set after prewhere. #2525 2018-06-25 13:48:11 +03:00
Mikhail Surin
0188538b33 fix review 2018-06-22 21:30:13 +03:00
Mikhail Surin
021f3b564b add tests 2018-06-22 21:30:13 +03:00
Mikhail Surin
7ee530a97d implement n log(n) compression algorigthm 2018-06-22 21:30:13 +03:00
Mikhail Surin
511e608080 use arena 2018-06-22 21:30:13 +03:00
Mikhail Surin
2f300e9df9 change bins schema 2018-06-22 21:30:13 +03:00
Mikhail Surin
3373909cbd naive implementation 2018-06-22 21:30:09 +03:00
robot-metrika-test
a21a9577f4 Auto version update to [54387] 2018-06-22 21:10:11 +03:00
Alexey Zatelepin
7ce4ebf1e1 fix test (disable random component in CleanupThread sleep period) 2018-06-22 18:53:59 +03:00
Alexey Zatelepin
7ce74d1730 ZooKeeper client: before the fix we waited 2x longer than necessary before the timeout 2018-06-22 18:30:29 +03:00
Constantin S. Pan
1333b5e97b Fix the test for AggregateFunction in SummingMergeTree 2018-06-22 16:29:04 +01:00
Alexey Zatelepin
b247635acf disable unreliable test [#CLICKHOUSE-3758] 2018-06-22 13:46:07 +03:00
Alexey Zatelepin
971fddb299 add comments [#CLICKHOUSE-3747] 2018-06-22 13:43:35 +03:00
zhang2014
f4e72792a5 ISSUES-2553 add offset parameter to numbers 2018-06-22 12:55:36 +03:00
Alexey Zatelepin
e78dc8142c factor out common code [#CLICKHOUSE-3747] 2018-06-21 22:47:44 +03:00
Alexey Zatelepin
a6c61848f1 mutations finalizing task [#CLICKHOUSE-3747] 2018-06-21 22:47:44 +03:00
Alexey Zatelepin
2fb3d42dfd temporary fix for a bug when several mutations have the same predicate [#CLICKHOUSE-3747] 2018-06-21 22:47:44 +03:00
Alexey Zatelepin
36982b967d use single mutex in ReplicatedMergeTreeQueue for simplicity 2018-06-21 22:47:44 +03:00
Alexey Zatelepin
b2cdfcbaca calculate and update parts_to_do for mutations [#CLICKHOUSE-3747] 2018-06-21 22:47:44 +03:00
proller
a31adcfdea Allow use unbundled cpuid (#2543)
* Wait test server startup for 5s

* clean

* Allow use system libcpuid

* cpuid: move include/cpuid/ -> include/libcpuid/

* fix
2018-06-21 20:35:03 +03:00
proller
e1ae5233df Add // Y_IGNORE tags 2018-06-21 18:24:36 +03:00
Constantin S. Pan
e94570d206 Add support for AggregateFunction in SummingMergeTree 2018-06-21 16:10:32 +01:00
proller
2d9d723d3c Wait test server startup for 5s 2018-06-21 17:54:48 +03:00