Commit Graph

1782 Commits

Author SHA1 Message Date
Alexey Zatelepin
88951cac62 clearer error message in test 2018-07-05 16:29:22 +03:00
Mikhail Surin
f598e6d47c add tests 2018-07-05 12:53:42 +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
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
7bdafa6105 Merge branch 'master' of https://github.com/amosbird/ClickHouse into amosbird-master 2018-07-04 23:54:54 +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
76e35959fb Fixed test #2490 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
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
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
Nikolai Kochetov
29ef36a270 Added test. [#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
stavrolia
5966b78d41 add case with external file 2018-06-27 21:53:11 +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
Mikhail Surin
021f3b564b add tests 2018-06-22 21:30:13 +03:00
Alexey Zatelepin
7ce4ebf1e1 fix test (disable random component in CleanupThread sleep period) 2018-06-22 18:53:59 +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
zhang2014
f4e72792a5 ISSUES-2553 add offset parameter to numbers 2018-06-22 12:55:36 +03:00
proller
2d9d723d3c Wait test server startup for 5s 2018-06-21 17:54:48 +03:00
proller
a4e6f726e8 Build and test fixes 2018-06-19 00:13:11 +03:00
alexey-milovidov
239021eb7a
Merge pull request #2501 from alesapin/master
Add table function url and storage URL.
2018-06-16 08:56:15 +03:00
alexey-milovidov
e6daa67beb
Merge pull request #1890 from yandex/lz4_experiments
Faster LZ4 decompression (experimental) + simple draft of data mutator.
2018-06-16 04:57:47 +03:00
Constantin S. Pan
ca88ba7cfa Add a test for AggregateFunction in SummingMergeTree 2018-06-15 16:11:43 +01:00
alesapin
4125b0c7f3 Merge remote-tracking branch 'upstream/master' 2018-06-14 21:06:24 +03:00
Alexey Milovidov
95e4bcdb56 Fixed non-deterministic test #2352 2018-06-13 22:42:04 +03:00
alesapin
567bbb2bbb Fix header path and small fixes in tests 2018-06-13 10:36:47 +03:00
alesapin
ceef414cb8 Add simple tests for table function url and table function engine 2018-06-12 18:59:43 +03:00
Alexey Milovidov
777ace12b4 Added test #1890 2018-06-12 06:44:53 +03:00
Alexey Milovidov
6475ea98c7 Merging: Fixed most of problems, actualized test #2260 2018-06-09 21:17:27 +03:00
Alexey Milovidov
d864f39ec7 Merge branch 'master' into zhang2014-feature/support_truncate 2018-06-09 19:10:06 +03:00
Alexey Milovidov
0bc678474e Merge branch 'feature/support_truncate' of https://github.com/zhang2014/ClickHouse into zhang2014-feature/support_truncate 2018-06-09 17:24:50 +03:00
Alexey Milovidov
f45c0ce9a9 Added instruction to use TScanCode [#CLICKHOUSE-2]. 2018-06-08 21:52:37 +03:00
alexey-milovidov
77fd2f3721
Merge pull request #2484 from yandex/format-settings
Allowed to switch between 'basic' and 'best effort' methods of parsing DateTime values from text formats.
2018-06-08 21:46:07 +03:00
Alexey Milovidov
64ea1046e1 Using ninja by default: updated instructions [#CLICKHOUSE-2] 2018-06-08 19:18:07 +03:00
Alexey Milovidov
c937e2ebc6 Added test #1710 2018-06-08 06:27:44 +03:00
Alexey Milovidov
f483e4cb05 Added test for already fixed issue [#CLICKHOUSE-3750] 2018-06-08 00:27:05 +03:00
alexey-milovidov
7bae3506c4
Merge pull request #2483 from yandex/cast-fix-bad-code
Fixed bad code in implementation of CAST expression.
2018-06-08 00:25:30 +03:00
Alexey Milovidov
27fac69f1a Actualized tests [#CLICKHOUSE-3764] 2018-06-08 00:09:57 +03:00
Alexey Milovidov
8901414ad2 Fixed error; added test [#CLICKHOUSE-3764] 2018-06-07 23:49:59 +03:00
Alexey Milovidov
f71eb36719 Added test [#CLICKHOUSE-3764] 2018-06-07 23:37:16 +03:00
alexey-milovidov
a0592aa7a7
Merge pull request #2472 from alesapin/master
Introduce logging in shared library dictionaries
2018-06-07 22:04:38 +03:00
alesapin
40c2b21b65 Change dictionary shared library api to v3. Both in library and examples. 2018-06-07 20:41:14 +03:00
proller
cb65528147 Build fixes (#2481)
* Build fixes

* fix

* Fix package without compiler

* Better

* fix

* fix

* fix

* Build fix

* fix

* fix

* fix

* Build fix

* Fix test

* test fixes

* test: netcat-openbsd

* Compile fixes

* Update AggregateFunctionStatisticsSimple.h

* Update FunctionsRound.h
2018-06-07 17:42:38 +03:00
alexey-milovidov
be4be0758a
Remove escaping in presentational formats (#2476)
* Removed escaping in presentational formats; changed a way how NULL is output #1729

* Addition to prev. revision #1729

* Addition to prev. revision #1729

* Updated tests #1729

* Updated function visibleWidth to be consistent with Pretty formats #1729
2018-06-07 04:30:29 +03:00
Alexey Milovidov
cc1691949a Modified tests #2429 2018-06-07 00:15:47 +03:00
Alexey Milovidov
5fa25968c8 Merge branch 'task_ends_starts' of https://github.com/VadimPE/ClickHouse into VadimPE-task_ends_starts 2018-06-06 23:36:22 +03:00
alesapin
2a39f05f99 Shared Library Dict Logging: Replace multiple functions with single one and add logging examples into test libraries 2018-06-06 23:21:16 +03:00
Vadim
57f961138e add \n 2018-06-06 22:55:08 +03:00
Vadim
2ca21dfde7 fix 2018-06-06 22:36:14 +03:00
Vadim
4b5e28a9d1 fix test's name 2018-06-06 21:49:43 +03:00
Vadim
fec000b8dc Add new tests and new impl 2018-06-06 21:22:49 +03:00
Alexey Milovidov
b6a6e391b8 Fixed minor security issue [#CLICKHOUSE-3758] 2018-06-06 21:05:35 +03:00
Alexey Milovidov
583b9af56f Fixed error: user settings don't apply when using session_id parameter [#CLICKHOUSE-3763] 2018-06-06 20:35:35 +03:00
proller
82a4565ebe
Build fixes (#2473) 2018-06-06 19:05:53 +03:00
Alexey Milovidov
51044279e5 Squashed #2471 2018-06-05 23:09:51 +03:00
proller
c1904d3c55
Build and test fixes (#2470) 2018-06-05 20:43:10 +03:00
alexey-milovidov
39e69b421a
Merge pull request #2468 from yandex/fix-partition-key-parts-pruning
Fix pruning of parts by conditions on partition key columns
2018-06-05 15:52:47 +03:00
Alexey Zatelepin
0e63004ecf add test [#CLICKHOUSE-3757] 2018-06-05 14:00:17 +03:00
proller
4d12a823da Use copy-headers from cmake. (working compiler test without package install) (#2456)
* Try use copy-headers from cmake [WIP]

* Using internal compiler without install

* 32bit Compile fix

* Fixes

* fix

* clean

* fix

* clean
2018-06-04 23:26:17 +03:00
alexey-milovidov
88efe5ad56
Merge pull request #2463 from yandex/pvs-studio
Fixes according to PVS-Studio report.
2018-06-04 22:59:47 +03:00
Alexey Milovidov
f467fb38c7 Fixed bug found by PVS-Studio; added test [#CLICKHOUSE-3] 2018-06-04 22:37:58 +03:00
Alexey Milovidov
47c24bb2ad Added instruction of running PVS-Studio [#CLICKHOUSE-3] 2018-06-04 22:35:02 +03:00
Nikolai Kochetov
bc2be6afe3 Added more tests for in function in with pk columns. 2018-06-04 17:10:54 +03:00
Nikolai Kochetov
5717b16165 Updated test with in syntax. [#CLICKHOUSE-3749] 2018-06-04 16:32:20 +03:00
Alexey Zatelepin
89ebe9c49f add SYSTEM SYNC REPLICA before OPTIMIZE FINAL for test stability 2018-06-01 22:51:36 +03:00
Alexey Zatelepin
af06ca5d3c Merge branch 'master' into replicated-mergetree-mutations 2018-06-01 16:21:14 +03:00
Alexey Zatelepin
8da32835d1 add needed file 2018-05-31 21:41:39 +03:00
Alexey Milovidov
848032ef16 Added test [#CLICKHOUSE-3726] 2018-05-31 21:28:47 +03:00
Alexey Zatelepin
f63d2dc3c8 cannot take a number of unlocked abandonable lock 2018-05-31 20:28:17 +03:00
Alexey Milovidov
eeefe89acd Added test [#CLICKHOUSE-3092] 2018-05-31 20:06:07 +03:00
Alexey Zatelepin
c9bb986330 Merge branch 'master' into replicated-mergetree-mutations
Conflicts:
	dbms/src/Storages/MergeTree/AbandonableLockInZooKeeper.h
	dbms/src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.h
	dbms/src/Storages/StorageReplicatedMergeTree.cpp
2018-05-31 18:52:42 +03:00
Babacar Diassé
3d518e48b9 NULL check to allow insertion in distributed tables with Materialized views 2018-05-31 17:21:35 +03:00
Vitaliy Lyudvichenko
888f5f4a24 Allow merges after CLEAR COLUMN. [#CLICKHOUSE-3]
Resolves #2315
2018-05-31 17:14:50 +03:00
proller
dc721ed721 Try make cache for getSampleBlock (#2313)
* Cache for getSampleBlock

* Update InterpreterSelectWithUnionQuery.cpp

* Update 00632_get_sample_block_cache.sql

* Add tests
2018-05-30 22:23:15 +03:00
Vadim
620b4a2587 fix tests 2018-05-30 02:21:20 +03:00
Vadim
cf9c03a7bd add test 2018-05-29 22:18:05 +03:00
proller
ead9493741 Build fixes 2018-05-29 20:54:48 +03:00
proller
6a70df6d26
Again fix test 00505_secure with random ports (#2436) 2018-05-28 23:55:13 +03:00
proller
895b8e6515
Fix test 00505_secure with random ports (#2433) 2018-05-28 23:38:46 +03:00
Alexey Zatelepin
f6c72f8e56 Merge branch 'master' into replicated-mergetree-mutations
Conflicts:
	dbms/src/Common/ActionBlocker.h
	dbms/src/Storages/MergeTree/ActiveDataPartSet.cpp
	dbms/src/Storages/MergeTree/ActiveDataPartSet.h
	dbms/src/Storages/MergeTree/MergeTreeData.h
	dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeAlterThread.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.h
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.h
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp
	dbms/src/Storages/StorageMergeTree.cpp
	dbms/src/Storages/StorageReplicatedMergeTree.cpp
	dbms/src/Storages/StorageReplicatedMergeTree.h
2018-05-28 18:37:30 +03:00
proller
ab3ab7f52d clickhouse-test-server: use random ports (#2425)
* Fix internal compiler includes with new clang

* debug copy_headers.sh

* Fix copy_headers.sh

* Use copy-headers from cmake

* Update rules

* pbuildeR: use random ports for testing

* critical fix

* clickhouse-test-server: use random ports

* fix

* fix
2018-05-25 23:52:20 +03:00
Alexey Zatelepin
2ab50c1f13 add test with inserts into Replicated tables from multiple threads [#CLICKHOUSE-3732] 2018-05-25 23:04:04 +03:00
proller
68ba523b23 Compile and doc fixes (#2410)
* Try fix travis

* fix

* Fix clickhouse-local shared-split link

* fix

* fix

* fix

* Build fixes

* Fix tinfo

* fix

* tinfo -> termcap

* termcap fix

* Better llvm version detect

* fix

* Debian postinst fix
Tests: use /usr/local if exists

* Compile and doc fixes

* fix

* fix

* fix

* macos fixes

* fix

* wip

* Update demangle.h

* Update demangle.cpp
2018-05-25 21:13:48 +03:00
proller
f1fdea74be pbuilder: use random ports for testing (#2424)
* Fix internal compiler includes with new clang

* debug copy_headers.sh

* Fix copy_headers.sh

* Use copy-headers from cmake

* Update rules

* pbuildeR: use random ports for testing

* critical fix
2018-05-25 21:05:30 +03:00
Vitaliy Lyudvichenko
42d5c6925c Removed bad test. [#CLICKHOUSE-2] 2018-05-23 21:29:35 +03:00
Vitaliy Lyudvichenko
87ad1df259 More atomic insert to MATERIALIZED VIEW. [#CLICKHOUSE-3743] 2018-05-23 19:18:04 +03:00