Commit Graph

2676 Commits

Author SHA1 Message Date
liuyangkuan
80e37baff8 change supportsPrewhere() of table engine Buffer and return its destination_table supportsPrewhere() or not 2019-03-13 23:15:01 +08: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
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 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
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
74f7ef390a
Merge pull request #4595 from 4ertus2/joins
Multiple JOINs multiple fixes
2019-03-06 02:55:05 +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
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
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
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
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
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
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
Nikita Vasilev
72f5bdc485 tokenbf fix 2019-02-25 20:12:09 +03:00
alesapin
45b8a1387a Fix flap on kill query test 2019-02-25 18:03:37 +03:00
Alexey Milovidov
d02508cb8f Avoid loss of precision in test 2019-02-25 17:36:19 +03:00
Nikita Vasilev
c19a767433 fixed in 2019-02-25 11:43:19 +03:00
Nikita Vasilev
d02e1c0cdb in 2019-02-25 00:17:52 +03:00
Nikita Vasilev
ed28340a4c fixed string 2019-02-24 22:26:42 +03:00
Nikita Vasilev
c656045f96 fix 2019-02-24 22:07:45 +03:00
Nikita Vasilev
c8e8f14bf9 4 args 2019-02-24 21:55:56 +03:00
Nikita Vasilev
483c6f4f7e fix eof 2019-02-23 16:10:27 +03:00
Nikita Vasilev
ca4d1e137c fix like 2019-02-23 16:06:23 +03:00
Nikita Vasilev
970f93d3c4 fix 2019-02-23 12:26:32 +03:00
Danila Kutenin
6736dcc96b A bit better performance, return old name to function 2019-02-22 22:43:47 +03:00
Alexey Milovidov
0d9c438864 Added a test 2019-02-22 20:16:11 +03:00
Andy Yang
f1a4330c69 add bitmap state test sql 2019-02-22 16:14:35 +08: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
chertus
a14d955e9e mJOIN: correct names for right table 2019-02-21 22:43:14 +03:00
chertus
10b473bb24 mJOIN: correct names for left table columns 2019-02-21 15:45:31 +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
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
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
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
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
chertus
b72d12d12e join on allow aliases for right table columns 2019-02-15 18:47:39 +03:00
zhang2014
597ae0b937 ISSUES-4389 fix lambda function with predicate optimizer 2019-02-15 17:04:02 +08:00
Alexey Milovidov
ac05eaaac4 Added a test 2019-02-15 02:58:50 +03:00
Alexey Milovidov
048f966cde Added a test #4396 2019-02-14 16:42:26 +03:00
Nikita Vasilev
64e0732b4a fixed 2019-02-14 12:13:04 +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
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
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
alesapin
952aed6c82
Merge pull request #4235 from fandyushin/brotli
Brotli support for HTTP interfaces
2019-02-13 10:50:04 +03:00
Alexey Milovidov
2695a4614d Added a test #3170 2019-02-13 03:11:49 +03:00
Alexey Milovidov
8b6b6c8035 Updated test 2019-02-13 02:53:36 +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
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
Nikolai Kochetov
8e075899cb Added test. 2019-02-12 19:15:20 +03:00
KochetovNicolai
7673d2abb5
Update 906_low_cardinality_cache.sql
Delete table after test.
2019-02-12 18:48:32 +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
Vitaly Baranov
83d461975e Function toStartOfDay() now can receive a date. 2019-02-12 17:21:37 +03:00
chertus
aaf3813607 Merge branch 'master' into joins 2019-02-12 15:51:04 +03:00
chertus
3218f5003f fix full/right join different number of columns 2019-02-12 15:11:45 +03:00
Nikolai Kochetov
a4441bfba2 Fix tests. 2019-02-12 13:09:03 +03:00
Mikhail
763b3dcf73
Merge branch 'master' into brotli 2019-02-11 23:44:39 +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
chertus
805866e6b3 hotfix for wrong aliases issue-4110 2019-02-11 22:14:57 +03:00
Alexey Milovidov
2294575693 Fixed fuzz test #4322 2019-02-11 20:26:35 +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
Nikolai Kochetov
d4ba5432b3 Added test. 2019-02-11 18:46:19 +03:00