Commit Graph

3400 Commits

Author SHA1 Message Date
chertus
3e146c7bbd Merge branch 'master' into joins 2019-03-21 22:01:35 +03:00
alexey-milovidov
2b33e9b7d5
Merge pull request #4499 from nikvas0/nikvas0/bloom_filter_index
Bloom filter indices
2019-03-21 01:29:05 +03:00
olegkv
1964e72205
Create 00151_histogram_merge.reference 2019-03-20 18:05:04 -04:00
olegkv
00b10be7c3
Create 00151_histogram_merge.sql 2019-03-20 18:02:47 -04:00
proller
f697df2079
Tests: fix call .sh from .sh (#4732) 2019-03-20 23:04:49 +03:00
proller
9f1c89729a
Debian: Asking password for default user on package install (#4725) 2019-03-20 22:57:50 +03:00
chertus
b1f4cc6ed2 fix left join with const column 2019-03-20 20:20:14 +03:00
Nikita Vasilev
c10f10cc0b Merge remote-tracking branch 'upstream/master' into nikvas0/bloom_filter_index 2019-03-20 19:39:18 +03:00
Nikita Vasilev
09b9fe9491 _v1 2019-03-20 17:52:05 +03:00
liuyangkuan
fbcf82c4df add interpretation of PREWHERE in StorageBuffer::read 2019-03-20 14:45:04 +08:00
Alexey Milovidov
2f7ce49a9c Merge branch 'master' of github.com:yandex/ClickHouse 2019-03-20 00:35:26 +03:00
Alexey Milovidov
b09b41e330 Fixed strange formatting 2019-03-20 00:35:18 +03:00
chertus
c9169b0a98 Merge branch 'master' into ast 2019-03-18 20:46:24 +03:00
proller
7e113f2287 Fix doc in tests/integration 2019-03-18 20:33:13 +03:00
chertus
882f36f251 mark some tests as long 2019-03-18 18:40:53 +03:00
proller
78e0b1af5e
Fix compression level detection when network_compression_method in lowercase (#4706) 2019-03-18 17:59:07 +03:00
chertus
7561ff2ab7 fix dups in GLOBAL JOIN with asterisks 2019-03-18 17:56:33 +03:00
chertus
f67327ba1c rename test (need zookeeper) 2019-03-18 15:09:55 +03:00
Alexey Zatelepin
304c67da99 Merge branch 'master' into fix-add-materialized-column-after
Conflicts:
	dbms/src/Interpreters/InterpreterCreateQuery.cpp
	dbms/src/Interpreters/InterpreterDescribeQuery.cpp
	dbms/src/Interpreters/interpretSubquery.cpp
	dbms/src/Storages/ColumnsDescription.cpp
2019-03-17 00:46:53 +03:00
alexey-milovidov
ae2d974dda
Merge pull request #4708 from kvap/distributed-limit-by
Make the query planner respect LIMIT BY in remote queries
2019-03-16 20:54:06 +03:00
Alexey Zatelepin
7a033f5469 fix columns order in test references [#CLICKHOUSE-3101] 2019-03-16 17:56:59 +03:00
Alexey Zatelepin
6505ff1098 add test [#CLICKHOUSE-3101] 2019-03-15 19:37:52 +03:00
Constantin S. Pan
df6860d5e0 Make the query planner respect LIMIT BY in remote queries 2019-03-15 15:26:21 +00:00
alexey-milovidov
40944ca356
Merge pull request #4698 from yandex/fixed-insufficient-type-check-in-has-all-any-function
Fixed insufficient type checking in hasAll, hasAny functions
2019-03-15 04:55:26 +03:00
alexey-milovidov
94d2c35f1d
Merge pull request #4691 from yandex/improvements_in_replication_without_zookeeper
Add ability to start replicated table without metadata in zookeeper
2019-03-15 04:55:07 +03:00
Alexey Milovidov
a459b2c298 Fixed insufficient type checking in hasAll, hasAny functions 2019-03-15 02:10:51 +03:00
proller
7d409c5294 Tests: dont use table test.visits 2019-03-14 21:04:55 +03:00
proller
2afb4438ab
clickhouse-test - also randomize stateless-statefull order (#4694) 2019-03-14 19:37:23 +03:00
alesapin
ef223fbca8 Merge remote-tracking branch 'origin' into improvements_in_replication_without_zookeeper 2019-03-14 19:35:33 +03:00
alesapin
e8dfa122a3
Merge pull request #4693 from abyss7/fix-00917_multiple_joins_denny_crane
Disable part with predicate optimization for now
2019-03-14 19:35:04 +03:00
chertus
76d118f310 test for asterisk_left_columns_only 2019-03-14 18:00:42 +03:00
Ivan Lezhankin
3281e91d07 Disable part with predicate optimization for now 2019-03-14 17:59:45 +03:00
alesapin
9121822e3f Make restart_clickhouse common methond 2019-03-14 16:39:47 +03:00
alesapin
4f43893a35 Add ability to start table without metadata in zookeeper 2019-03-14 14:49:44 +03:00
alexey-milovidov
bdc7614c77
Merge pull request #4684 from amosbird/fixempty2
Refinement
2019-03-14 06:12:39 +03:00
Alexey Milovidov
3e8d9ec450 Added a test for multiple JOINs from Denny Crane #4571 2019-03-14 05:53:15 +03:00
Amos Bird
b405c7456f Refinement 2019-03-14 09:44:15 +08:00
Alexey Milovidov
1454479713 Merge branch 'master' of github.com:yandex/ClickHouse 2019-03-14 04:11:48 +03:00
Alexey Milovidov
84420eefef Fixed test #4654. 2019-03-14 04:11:07 +03:00
alexey-milovidov
f398fb3691
Merge pull request #4661 from 4ertus2/joins
Multiple COMMA/CROSS JOINS
2019-03-14 03:10:52 +03:00
alexey-milovidov
f76a9ba4c0
Merge pull request #4654 from bgranvea/create_or_replace_view
support for CREATE OR REPLACE VIEW
2019-03-14 02:32:31 +03:00
alesapin
a2eaec4766 Fix retry loop 2019-03-13 19:55:30 +03:00
alesapin
87fc69f37b Merge master 2019-03-13 19:49:29 +03:00
alesapin
49448b4a00 Retry on Exception connection loss 2019-03-13 19:47:02 +03:00
liuyangkuan
80e37baff8 change supportsPrewhere() of table engine Buffer and return its destination_table supportsPrewhere() or not 2019-03-13 23:15:01 +08:00
alesapin
340f0935ac Update docker image, and more verbosity 2019-03-13 16:52:23 +03:00
alesapin
8cf09469dd Add ability to specify check of hung queries with --hung-check 2019-03-13 14:03:57 +03:00
Alexey Milovidov
2043304d35 Added a test for JOIN with duplicate columns 2019-03-12 19:52:16 +03:00
chertus
b76e3ad1c4 fix tests 2019-03-12 16:17:17 +03:00
chertus
114e55c956 multiple COMMA/CROSS JOIN 2019-03-12 14:06:54 +03:00
bgranvea
2029f71869 support for CREATE OR REPLACE VIEW 2019-03-11 17:50:31 +01:00
chertus
04f5584d72 move JOIn convertions to InterpreterSelectQuery 2019-03-11 15:20:55 +03:00
Nikita Vasilev
d171330599 Merge remote-tracking branch 'upstream/master' into nikvas0/bloom_filter_index 2019-03-11 13:06:09 +03:00
alexey-milovidov
617a0a8938
Merge pull request #4592 from yandex/fix-concurrent-alters2
Fix a race condition during concurrent ALTER COLUMN queries
2019-03-10 19:11:49 +03:00
Alexey Milovidov
b81f73bb13 Added a test [#CLICKHOUSE-1704] 2019-03-10 06:13:19 +03:00
alexey-milovidov
24bec290b5
Merge pull request #4584 from Felixoid/system.graphite_retentions
Rework system.graphite_retentions
2019-03-10 04:30:53 +03:00
alexey-milovidov
357e17959e
Merge pull request #4602 from danlark1/master
Rename trigramDistance to ngramDistance, add more functions with CaseInsensitive and UTF, update docs, more job done in perf, added some perf tests for string search that I would like to see
2019-03-09 21:19:59 +03:00
alexey-milovidov
628ed349c3
Merge pull request #4627 from filimonov/issue4284
Fix broken progress in 19.3. Introduce total_rows for table function numbers().
2019-03-09 01:08:45 +03:00
alexey-milovidov
b9db35b843
Merge pull request #4603 from yandex/fix-function-replicate
Fix segfault in function "replicate"
2019-03-09 01:05:52 +03:00
Mikhail f. Shiryaev
2d27331f0c Merge remote-tracking branch 'origin/master' into system.graphite_retentions 2019-03-08 17:41:40 +01:00
Mikhail Filimonov
5f626dc99e Fix broken progress in 19.3 (regression in 92769a2460)
Introduce total_rows for table function `numbers()`.

fixes https://github.com/yandex/ClickHouse/issues/4429
resolves https://github.com/yandex/ClickHouse/issues/4284
2019-03-08 15:36:40 +01:00
Alexey Milovidov
1eb4c58bc0 Added a test #3779 2019-03-08 16:21:27 +03:00
Alexey Zatelepin
f7217d99dd move test script that caused a crash from bugs/ to tests 2019-03-07 21:16:36 +03:00
Nikita Vasilev
fcb82ba901 Merge remote-tracking branch 'upstream/master' into nikvas0/bloom_filter_index 2019-03-07 16:55:38 +03:00
alesapin
4532b4be94 Fix kill query test once again 2019-03-07 16:42:58 +03:00
Alexey Zatelepin
4caf4472cc make test more stable 2019-03-07 15:59:37 +03:00
Mikhail f. Shiryaev
90466728c6 Add tests for system.graphite_retentions 2019-03-07 13:47:02 +01:00
Alexey Milovidov
3389cd1735 Merge branch 'master' into fix-function-replicate 2019-03-07 14:56:43 +03:00
proller
86d9876221 Merge remote-tracking branch 'upstream/master' into fix23 2019-03-06 22:58:47 +03:00
alexey-milovidov
df50dac691
Merge pull request #4601 from yandex/array-enumerate-ranked-dig-through-code
Code cleanups for `arrayEnumerateRanked`
2019-03-06 22:37:10 +03:00
proller
18e53999be Merge remote-tracking branch 'upstream/master' into fix23 2019-03-06 22:19:30 +03:00
proller
ee15cb237c Better fix 2019-03-06 22:19:21 +03:00
alexey-milovidov
7e4c497e19
Merge pull request #4594 from yandex/fix-low-cardinality_serialization-for-set-index
Fix Nullable and LowCardinality serialization for set index
2019-03-06 21:57:26 +03:00
proller
9159d602f5 Fix bug in arrayEnumerateRanked 2019-03-06 20:19:26 +03:00
alesapin
a233b93b6a Fix kill_not_initialized_query again 2019-03-06 20:10:26 +03:00
Nikita Vasilev
565633fb2b limited like for tokenbf 2019-03-06 18:30:27 +03:00
Nikita Vasilev
c428d9a64c Merge remote-tracking branch 'upstream/master' into nikvas0/bloom_filter_index 2019-03-06 16:36:34 +03:00
alexey-milovidov
1df9c1720e
Merge pull request #4426 from Felixoid/graphite-rollup
Graphite rollup: combined rules
2019-03-06 03:10:45 +03:00
Danila Kutenin
570af60bfa more typos to the god of typos in distance perf test 2019-03-06 03:05:14 +03:00
Danila Kutenin
97349fb83e typos in perf tests for distance function 2019-03-06 02:55:51 +03:00
alexey-milovidov
74f7ef390a
Merge pull request #4595 from 4ertus2/joins
Multiple JOINs multiple fixes
2019-03-06 02:55:05 +03:00
Danila Kutenin
d09f2023c9 typos in perf tests for distance function 2019-03-06 02:54:00 +03:00
Danila Kutenin
cb7158f615 perf test for distance functions in a proper folder 2019-03-06 02:52:19 +03:00
Danila Kutenin
8800134b9a remove public perf tests 2019-03-06 02:43:23 +03:00
Alexey Milovidov
fb8e37f60f Fix segfault in function "replicate" 2019-03-06 02:37:41 +03:00
Alexey Milovidov
dd40956d8b Fixed test 2019-03-06 02:31:34 +03:00
Danila Kutenin
952b5ea24a Rename trigramDistance to ngramDistance, add more functions with CaseInsensitive and UTF, update docs, more job done in perf, added some perf tests for string search that I would like to see 2019-03-06 01:42:28 +03:00
chertus
22f699c8a0 fix CrossToInnerJoin (empty where crash & where for one table wrong result) 2019-03-05 18:16:59 +03:00
chertus
0c0d9343d4 update ASTIdentifier prints for push down predicate test reference (long vs short names) 2019-03-05 15:49:00 +03:00
chertus
ea4d3ec661 some multiple join fixes 2019-03-05 15:34:48 +03:00
Nikolai Kochetov
04bfc4743b Added tests for Set index with Nullable and LowCardinality types. #4486 2019-03-05 15:17:58 +03:00
Alexey Milovidov
8766dab54e Merge branch 'master' of github.com:yandex/ClickHouse 2019-03-04 23:05:24 +03:00
Vitaly Baranov
61e21d50e1
Merge pull request #4207 from andyyzh/bitmap_feature
Added bitmap function feature with roaring bitmap
2019-03-04 22:42:47 +03:00
chertus
339047fc40 fix multiple joins asterisks qualification 2019-03-04 22:40:58 +03:00
Alexey Milovidov
f15762a96e Added a test for ThreadPool #4572 2019-03-04 22:29:23 +03:00
Alexey Milovidov
a0b6b78c01 Added performance test #4564 2019-03-04 03:20:08 +03:00
Alexey Milovidov
f33cbe90d3 Fixed test 2019-03-04 02:47:15 +03:00
Alexey Milovidov
f0801f37fe Added a test 2019-03-04 02:44:41 +03:00
Alexey Milovidov
9216fd2810 Added performance test for comparison of FixedString(16) 2019-03-03 19:57:06 +03:00
Alexey Milovidov
bcf8cd6297 NaN comparisons are implementation specific - remove them from tests 2019-03-03 04:17:33 +03:00
Alexey Milovidov
0dc576e44f Avoid performance degradation in few degenerate cases: added fast path for tautological compares #4405 2019-03-03 02:51:48 +03:00
Alexey Milovidov
b8ff976ee9 Merge branch 'master' into move-to-prewhere-improvement 2019-03-02 04:34:49 +03:00
alexey-milovidov
ee903886e6
Merge pull request #4387 from abyss7/CLICKHOUSE-4268
Improve push-down logic for joined statements
2019-03-02 04:19:50 +03:00
Alexey Milovidov
c55e70d8f8 Added test 2019-03-01 23:16:42 +03:00
alexey-milovidov
9a62eb8d26
Merge pull request #4506 from yandex/quantile-timing-ubsan-fix
Fixed fuzz test in UBSan
2019-03-01 19:18:33 +03:00
chertus
83503df56a fix crach on JOIN with array or tuple 2019-03-01 18:32:32 +03:00
Alexey Milovidov
2c0241b890 Adapted test #4506 2019-03-01 17:54:49 +03:00
Alexey Milovidov
51ca51aa9e Merge branch 'master' into quantile-timing-ubsan-fix 2019-03-01 17:53:04 +03:00
Alexey Zatelepin
eee73dac42 Merge branch 'master' into fix-concurrent-alters 2019-02-28 19:19:21 +03:00
Alexey Zatelepin
9e157dbd64 move test script from bugs to tests [#CLICKHOUSE-3789] 2019-02-28 11:50:35 +03: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
alesapin
8bea1513ca Comment without default 2019-02-27 20:01:59 +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
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
Ivan Lezhankin
2a604d075a Merge remote-tracking branch 'upstream/master' into CLICKHOUSE-4268 2019-02-27 15:08:36 +03:00
Vitaly Baranov
2e8669211a Improve test: check input/output with protobuf schema containing nested messages. 2019-02-27 14:37:17 +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
Nikita Vasilev
7a51928cad Merge remote-tracking branch 'upstream/master' into nikvas0/bloom_filter_index 2019-02-26 23:35:57 +03:00
Ivan Lezhankin
e9849ba8de Don't replace tables with compound names 2019-02-26 20:22:05 +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
Ivan Lezhankin
09af5512b8 Implement push-down inside join-statement 2019-02-26 13:56:19 +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
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
alesapin
94b74ff4a3 Fix install build 2019-02-25 22:44:24 +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
Nikita Vasilev
289a6cb3d3 support like 2019-02-25 21:04:25 +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
Nikita Vasilev
72f5bdc485 tokenbf fix 2019-02-25 20:12:09 +03:00
Alexey Milovidov
03fcd0c330 Removed old dictionary tests (has been moved to integration tests) 2019-02-25 19:17:43 +03:00
alesapin
45b8a1387a Fix flap on kill query test 2019-02-25 18:03:37 +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
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
Nikita Vasilev
c19a767433 fixed in 2019-02-25 11:43:19 +03:00
Alexey Milovidov
846bf82a3e More simple 2019-02-25 01:41:18 +03:00