Commit Graph

3102 Commits

Author SHA1 Message Date
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
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
c2d1301174 Fixed typo once again #4245 2019-02-11 01:31:36 +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
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
08c5c45f2b Added a test for operator priority #4228 2019-02-10 23:18:11 +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
2c7cf23f3f Removed support for constant expressions in TOP because they cannot work 2019-02-10 21:19:26 +03:00
Alexey Milovidov
5ebc717d23 Merge branch 'implement-not-between' of https://github.com/nezed-forks/ClickHouse into nezed-forks-implement-not-between 2019-02-10 20:42:27 +03:00
Alexey Milovidov
58a6accee5 Updated test #4246 2019-02-10 19:55:12 +03:00
alexey-milovidov
75c087bcf5
Merge branch 'master' into arbitrary-const-expressions-in-limit 2019-02-10 17:20:31 +03:00
Alexey Milovidov
06a105838b Removed experimental setting from integration tests 2019-02-10 17:17:21 +03:00
Alexey Milovidov
dfb207e42d Merge branch 'master' into low-cardinality-production-ready 2019-02-10 02:42:34 +03:00
Alexey Milovidov
50cae9144c Removed "allow_experimental_low_cardinality_type" setting from tests and docs 2019-02-10 02:42:22 +03:00
alexey-milovidov
77ce3dab0f
Merge pull request #4320 from yandex/bitmask-ubsan
Fixed error found by UBSan; added a test for bitmask functions for negative input
2019-02-10 01:27:04 +03:00
alexey-milovidov
bb6d70cae6
Merge pull request #4321 from yandex/entropy-rework
Fixed entropy aggregate function
2019-02-10 01:26:45 +03:00
alexey-milovidov
9650c4a0da
Merge pull request #4286 from nikvas0/nikvas0/index_fix
Data Skipping Indices fix
2019-02-10 00:53:04 +03:00
alexey-milovidov
2777e54a57
Merge pull request #4287 from yandex/mutations-introspection
KILL MUTATION
2019-02-10 00:51:30 +03:00
Alexey Milovidov
25e7e63207 Added a test 2019-02-10 00:18:33 +03:00
Alexey Milovidov
ad56a42cf4 Fixed test #4309 2019-02-10 00:14:50 +03:00
Alexey Milovidov
a01427db27 Merge branch 'master' of https://github.com/Stupnikov/ClickHouse into Stupnikov-master 2019-02-10 00:04:17 +03:00
Alexey Milovidov
a17503c2d1 Added performance test 2019-02-09 23:53:22 +03:00
Alexey Milovidov
fc3d773c18 Renamed test 2019-02-09 23:44:18 +03:00
Alexey Milovidov
7b174c4940 Added a test for entropy aggregate function ser/de 2019-02-09 23:31:58 +03:00
Alexey Milovidov
f82aa5747a Added a test for mutual entropy 2019-02-09 23:28:39 +03:00
Alexey Milovidov
d705c4fc9c Fixed error found by UBSan; added a test for bitmask functions for negative input 2019-02-09 22:44:27 +03:00
Alexey Milovidov
8c850a2e6a Added a test from Boris Granveaud 2019-02-08 22:40:19 +03:00
Alexey Milovidov
6d23bbabd0 Merge branch 'master' into fix-insert-select-read-prefix 2019-02-08 19:55:06 +03:00
Alexey Milovidov
8037da4701 Merge branch 'master' into fix-insert-select-read-prefix 2019-02-08 17:36:38 +03:00
Alexey Milovidov
bf7402ecbb Lowered number of iterations in test 2019-02-08 17:30:53 +03:00
Ivan Lezhankin
c67ec3ddde Fix running integration tests locally on Fedora (with selinux)
Finally!
2019-02-08 17:20:25 +03:00
Alexey Milovidov
c2b6b15778 Fixed error in system.tables #3982 2019-02-08 17:10:26 +03:00
alesapin
dc98b50f14 Fix HTTP insert 2019-02-08 16:24:24 +03:00
Stupnikov Andrey
dbc9376a0f arrayWithConstant function implementation; 2019-02-08 02:24:07 +03:00
Nikita Vasilev
cecbd5d0ac Merge remote-tracking branch 'upstream/master' into nikvas0/index_fix 2019-02-08 00:17:35 +03:00
Nikita Vasilev
a904f370f2 upd minmax test 2019-02-08 00:11:22 +03:00
Nikita Vasilev
f0272b7b6c :fix set test 2019-02-07 23:43:03 +03:00
Ivan Lezhankin
c9bc09ab7f Rewrite tests one more time 2019-02-07 19:40:16 +03:00
alesapin
830994aae5 Small fixes in tests 2019-02-07 17:25:40 +03:00
alesapin
48bd750856 Fix perf-test input data and refactor two tests 2019-02-07 16:18:04 +03:00
Ivan Lezhankin
018df69d3d Merge remote-tracking branch 'upstream/master' into issue-2675 2019-02-07 15:45:21 +03:00
alexey-milovidov
7c830941a6
Merge pull request #4256 from zlobober/useful_what_in_exceptions
Make exception.what() less useless.
2019-02-07 12:15:43 +03:00
Vitaly Baranov
7ff5439971
Merge pull request #4298 from vitlibar/add-function-to-start-of-ten-minutes
Add function toStartOfTenMinutes().
2019-02-07 11:46:13 +03:00
Vitaly Baranov
7cbdb17f5b Add function toStartOfTenMinutes(). 2019-02-07 01:50:04 +03:00
Alexey Milovidov
bcd7d3cc63 Fixed wrong behaviour of -WithNames formats when doing INSERT SELECT ... FROM file #3469 2019-02-07 00:40:49 +03:00
Maxim Akhmedov
84b4070213 Change exception regexp in test. 2019-02-07 00:00:33 +03:00
Nikita Vasilev
a3e47ed766 fix test 2019-02-06 23:29:47 +03:00
alexey-milovidov
2686f64233
Merge pull request #4128 from yandex/unified-sets
Unified sets
2019-02-06 20:40:11 +03:00
Alexey Zatelepin
428f43137b more resilient tests [#CLICKHOUSE-3912] 2019-02-06 19:05:49 +03:00
KochetovNicolai
9f971c276f
Merge pull request #3669 from Enmk/ipv4_and_ipv6_domains
Ipv4 and ipv6 domains
2019-02-06 18:16:58 +03:00
Alexey Zatelepin
3ec6f508f1 Merge branch 'master' into mutations-introspection
Conflicts:
	dbms/src/Interpreters/InterpreterKillQueryQuery.cpp
2019-02-06 15:22:48 +03:00
Alexey Zatelepin
ba53f61208 KILL MUTATION tests [#CLICKHOUSE-3912] 2019-02-06 14:39:24 +03:00
Nikita Vasilev
6ef6536460 Merge remote-tracking branch 'upstream/master' into nikvas0/index_fix 2019-02-06 14:23:35 +03:00
Nikita Vasilev
84261a2072 fix test 2019-02-06 13:41:43 +03:00
Nikita Vasilev
abcfb53805 fixed minmax tests 2019-02-06 13:11:49 +03:00
Nikita Vasilev
76a35b43e4 moved tests 2019-02-06 12:12:47 +03:00
alexey-milovidov
7012eb63d4
Merge pull request #4280 from yandex/numbers-table-function-zero
Fixed table function numbers with zero argument
2019-02-05 22:34:28 +03:00
alexey-milovidov
fda5aa31c2
Merge pull request #4279 from 4ertus2/joins
hotfix for duplicates in JOIN ON
2019-02-05 22:07:10 +03:00
Alexey Milovidov
607951895a Fixed table function numbers with zero argument #4276 2019-02-05 20:05:33 +03:00
chertus
396d4fb921 hotfix for duplicates in JOIN ON #4271 2019-02-05 19:58:57 +03:00
Nikita Vasilev
a1b0dede07 Data Skipping Indices (#4143)
* made index parser

* added index parsing

* some fixes

* added index interface and factory

* fixed compilation

* ptrs

* added indexParts

* indextypes

* index condition

* IndexCondition

* added indexes in selectexecutor

* fix

* changed comment

* fix

* added granularity

* comments

* fix

* fix

* added writing indexes

* removed indexpart class

* fix

* added setSkipIndexes

* add rw for MergeTreeIndexes

* fixes

* upd error

* fix

* fix

* reading

* test index

* fixed nullptr error

* fixed

* fix

* unique names

* asts -> exprlist

* minmax index

* fix

* fixed select

* fixed merging

* fixed mutation

* working minmax

* removed test index

* fixed style

* added indexes to checkDataPart

* added tests for minmax index

* fixed constructor

* fix style

* fixed includes

* fixed setSkipIndexes

* added indexes meta to zookeeper

* added parsing

* removed throw

* alter cmds parse

* fix

* added alter

* fix

* alters fix

* fix alters

* fix "after"

* fixed alter

* alter fix + test

* fixes

* upd setSkipIndexes

* fixed alter bug with drop all indices

* fix metadata editing

* new test and repl fix

* rm test files

* fixed repl alter

* fix

* fix

* indices

* MTReadStream

* upd test for bug

* fix

* added useful parsers and ast classes

* fix

* fix comments

* replaced columns

* fix

* fixed parsing

* fixed printing

* fix err

* basic IndicesDescription

* go to IndicesDescr

* moved indices

* go to indicesDescr

* fix test minmax_index*

* fixed MT alter

* fixed bug with replMT indices storing in zk

* rename

* refactoring

* docs ru

* docs ru

* docs en

* refactor

* rename tests

* fix docs

* refactoring

* fix

* fix

* fix

* fixed style

* unique idx

* unique

* fix

* better minmax calculation

* upd

* added getBlock

* unique_condition

* added termForAST

* unique

* fixed not

* uniqueCondition::mayBeTrueOnGranule

* fix

* fixed bug with double column

* is always true

* fix

* key set

* spaces

* test

* tests

* fix

* unique

* fix

* fix

* fixed bug with duplicate column

* removed unused data

* fix

* fixes

* __bitSwapLastTwo

* fix
2019-02-05 17:50:25 +03:00
Nikolai Kochetov
44a46825d0 Added perftest for ColumnsHashing. 2019-02-05 13:55:08 +03:00
alesapin
edf0344d0e Increase timeout 2019-02-05 13:15:14 +03:00
Alexey Milovidov
2556a96e9e Fixed race condition in test #4213 2019-02-05 00:38:23 +03:00
alexey-milovidov
f2c95bf243
Merge pull request #4266 from 4ertus2/cross
CROSS to INNER JOIN (analyze expressions)
2019-02-05 00:10:51 +03:00
DarkWanderer
6e92183854 Fixed format export test, fixed clang compilation 2019-02-04 22:59:59 +03:00
Alexey Milovidov
00ea27db79 Fixed test #4213 2019-02-04 21:55:43 +03:00
alexey-milovidov
7ac98850c4
Merge pull request #4262 from abyss7/fix-summingMergeTree-test
Round selected results in tests
2019-02-04 21:45:44 +03:00
chertus
27ba299c95 CROSS to INNER JOIN (analyze expressions) 2019-02-04 21:45:31 +03:00
Ivan Lezhankin
764629a0d6 Round selected results in tests
to address the test flakiness problem.
2019-02-04 19:46:38 +03:00
alexey-milovidov
2216250a84
Merge pull request #4238 from Quid37/yandex_open_code_competition
Implement Shannon entropy aggregate function
2019-02-04 18:43:29 +03:00
alexey-milovidov
39f8eb571f
Merge pull request #4213 from nvartolomei/nv/http-cancel
Cancel http read only queries if client socket goes away
2019-02-04 17:33:47 +03:00
Nicolae Vartolomei
9d5d0a9200
Add test for cancel_http_readonly_queries_on_client_close setting 2019-02-04 13:10:23 +00:00
Vasily Nemkov
2716df8ab2 IPv4 and IPv6 Domain implementation.
Added:
 * IDataTypeDomain interface;
 * method DataTypeFactory::registerDataTypeDomain for registering domains;
 * DataTypeDomainWithSimpleSerialization domain base class with simple serialization/deserialization;
 * Concrete IPv4 and IPv6 domain implementations: DataTypeDomanIPv6 and DataTypeDomanIPv4;

Updated:
 * IDataType text serialization/deserialization methods;
 * IDataType implementation to use domain for text serialization/deserialization;
 * Refactored implementation of the IPv4/IPv6 functions to use formatIPv4/v6 and parseIPv4/v6 from Common/formatIPv6.h;

Tests:
 * Added test cases for IPv4 and IPv6 domains.
 * Updated IPv4/v6 functions tests to validate more cases;
 * Added performance tests for IPv4 and IPv6 related functions;
2019-02-04 12:37:46 +03:00
Alexey Milovidov
bd04320f13 Added performance test 2019-02-04 01:27:19 +03:00
Vitaliy Karnienko
d9da430982 add arbitrary const expressions in limit processing 2019-02-03 21:31:17 +03:00
Alexey Milovidov
2129094ba3 Merge branch 'master' into generic-case-for-function-if 2019-02-03 16:01:56 +03:00
andrewsg
31f2f9ce2f Add topKWeighed aggregate function 2019-02-03 13:59:27 +03:00
alexey-milovidov
91d0d403a2
Merge pull request #3890 from zhang2014/fix/ISSUES-3885
ISSUES-3885 temporarily disable predicate optimization for order by
2019-02-03 12:10:20 +03:00
Alexey Milovidov
526b33f607 Added a test 2019-02-03 11:49:49 +03:00
Alexey Milovidov
ad9d5217ec Updated test 2019-02-03 11:43:00 +03:00
alexey-milovidov
ad2f6b4db3
Merge pull request #4237 from valexey/date_and_datetime_comparison
correct Date and DateTime comparison
2019-02-02 20:58:07 +03:00
alexey-milovidov
a3afe6650f
Merge pull request #4232 from syominsergey/my-branch
"-C" option for client and show problematic file path
2019-02-02 20:47:28 +03:00
alexey-milovidov
14f208b9a3
Merge pull request #4239 from danlark1/master
produce hints for typo functions and types
2019-02-02 20:42:35 +03:00
Alexey
ce83b82776 test sql syntax fix 2019-02-02 09:00:29 -08:00
Danila Kutenin
3d00aaa7d8 test for typos 2019-02-02 19:09:24 +03:00
Sergei Semin
cc8bac78da add tests 2019-02-02 18:32:21 +03:00
Alexey
baa1ae9cf7 upper case for SQL in tests 2019-02-02 07:30:47 -08:00
Alexey
8c73b49e34 empty line on the end of file for tests 2019-02-02 07:20:10 -08:00
Alexey
ff02845677 tests 2019-02-02 07:19:06 -08:00
alexey-milovidov
e3b32ec679
Merge pull request #4231 from fandyushin/queryid
Added Query-Id to http response header
2019-02-02 17:38:13 +03:00
alexander kozhikhov
9d2a0c69fc Merge branch 'master' of https://github.com/yandex/ClickHouse into yandex_open_code_competition 2019-02-02 17:28:34 +03:00
alexander kozhikhov
8c2726b77c Aggregate function for entropy 2019-02-02 17:27:43 +03:00
Mihail Fandyushin
18952a2b96 Fixed 00501 test, added Query-Id support 2019-02-02 16:38:04 +03:00
Mihail Fandyushin
7294b8adf2 Added Query-Id to http response header 2019-02-02 15:24:26 +03:00
NeZeD [Mac Pro]
f53826779a
Test SELECT ... WHERE a NOT BETWEEN b AND c 2019-02-02 15:20:18 +03:00
alexey-milovidov
25502718ae
Merge pull request #4221 from 4ertus2/cross
CROSS JOIN to INNER JOIN converter
2019-02-02 14:27:05 +03:00