Commit Graph

4594 Commits

Author SHA1 Message Date
Alexey Milovidov
28e0e64638 Added a test 2019-08-11 23:04:14 +03:00
Alexey Milovidov
006a5e51b7 Merge branch 'master' into speed-up-parts-removal 2019-08-11 22:26:24 +03:00
Alexey Milovidov
ed7db76c94 Speed-up parts removal #6372 2019-08-11 22:14:42 +03:00
alexey-milovidov
25e97b0b87
Merge pull request #6400 from abyss7/issue-5286
Add more virtual columns to Kafka engine
2019-08-11 05:17:27 +03:00
alexey-milovidov
7c3632635d
Merge pull request #6404 from CurtizJ/fix-topk
Fix topK and topKWeighted functions.
2019-08-11 05:15:51 +03:00
Alexey Milovidov
45b88adedc Merge branch 'master' into fix-array-enumerate-uniq-ranked 2019-08-11 00:35:37 +03:00
Ivan Lezhankin
fd27ac9e9e Merge remote-tracking branch 'upstream/master' into issue-5286 2019-08-11 00:11:44 +03:00
Ivan
cce3ab08bb
Do not convert columns by position when pushing to materialized views (#6415)
* Do not convert columns by position
* Update 00984_materialized_view_to_columns.reference
2019-08-11 00:00:13 +03:00
alexey-milovidov
838c5e535f
Merge pull request #6433 from yandex/prevent-stack-overflow-in-parser
Fixed possible stack overflow in parser
2019-08-10 23:58:54 +03:00
Nikita Vasilev
75e381bde4 Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate 2019-08-10 23:07:50 +03:00
Alexey Milovidov
692ce0f6c5 Added two more tests 2019-08-10 21:01:35 +03:00
Alexey Milovidov
afef5c6c70 Added stack protection; added a test 2019-08-10 20:51:47 +03:00
Alexey Milovidov
c80aeb0ef1 Fixed another case; added a test 2019-08-10 20:08:14 +03:00
Alexey Milovidov
b133ea85b4 More tests 2019-08-10 19:51:09 +03:00
Alexey Milovidov
e11ba9ded9 One more test 2019-08-10 19:47:59 +03:00
Alexey Milovidov
02a6b2c1ab Added a test 2019-08-10 19:40:57 +03:00
stavrolia
626b75b6a5 Fix behavior low cardinality setting in creating materialized view 2019-08-09 22:17:19 +03:00
Alexey Milovidov
7b375032b5 Added a test 2019-08-09 20:26:25 +03:00
Nikolai Kochetov
2ae3db7920 Merged with master. 2019-08-09 18:32:44 +03:00
CurtizJ
ead6336d2c function topK: fix merge stage and fix memory leaks 2019-08-09 13:11:50 +03:00
Alexey Milovidov
86f321a7cd Whitespaces 2019-08-09 02:55:08 +03:00
alexey-milovidov
28e87cc430
Merge pull request #6409 from yandex/get-identifier-name-fixed-unpleasant-code
Fixed unsafe code around "getIdentifier" function.
2019-08-09 02:31:49 +03:00
alexey-milovidov
62a6248ca9
Merge pull request #6406 from yandex/no_virtual_columns_in_system_columns
No virtual columns in system.columns
2019-08-08 23:04:38 +03:00
Alexey Milovidov
2248c32f9c Added a test #6401 2019-08-08 23:04:16 +03:00
Alexey Milovidov
e40854d7fb Merge branch 'master' of github.com:yandex/ClickHouse 2019-08-08 22:42:47 +03:00
Alexey Milovidov
1437065c70 Fixed tests and error messages #6351 2019-08-08 22:42:34 +03:00
alexey-milovidov
b579692fe9
Merge pull request #6378 from 4ertus2/bugs
Fix crash in median over Nullable(Decimal128)
2019-08-08 22:32:11 +03:00
alexey-milovidov
8316c83cc4
Merge pull request #6392 from yandex/fix-performance-test
Attempt to fix performance test
2019-08-08 22:31:47 +03:00
alexey-milovidov
35f4e7cf33
Merge pull request #6351 from 4ertus2/some
Disable ANY RIGHT and ANY FULL JOINs by default
2019-08-08 19:16:49 +03:00
alexey-milovidov
80e68a803b
Merge pull request #6374 from dimarub2000/fix_toFloat_monotonicity
toFloat() monotonicity fixed
2019-08-08 19:11:38 +03:00
Alexey Milovidov
cf0fd481d3 Added a test 2019-08-08 18:51:33 +03:00
Nikolai Kochetov
804a6fad8a Do not return extremes and totals for insert select. 2019-08-08 17:46:30 +03:00
chertus
391574f361 rename setting + disable ANY INNER JOIN too 2019-08-08 17:20:25 +03:00
CurtizJ
61a8abb813 add more tests for functions topK and topKWeighted 2019-08-08 15:42:48 +03:00
Ivan Lezhankin
e90bf74ce8 Merge branch 'master' into issue-5286 2019-08-08 12:57:00 +03:00
alexey-milovidov
99fad0904b
Merge pull request #6314 from infinivision/add_bitmapRange
added bitmapRange function
2019-08-08 04:51:48 +03:00
alexey-milovidov
0d3b383c98
Merge pull request #6384 from CurtizJ/fix-optimize-unused-shards
Fix segfault with enabled 'optimize_skip_unused_shards' and missing sharding key.
2019-08-08 03:04:23 +03:00
alexey-milovidov
b06bb0a9df
Merge pull request #6380 from 4ertus2/perf
Hotfix for Decimal comparison
2019-08-08 03:04:07 +03:00
Ivan
1bf6e034e8
Fix infinite loop when reading Kafka messages (#6354)
* Do not pause/resume consumer at all
* Fix kafka tests
* Try to ensure the subscription
* Set timeout for kafka tests and return 'while True'
* Update cluster.py
* When doing a raw select from kafka, ignore client errors.
  They may rise due to 'Local: Timed out' while subscribing.
2019-08-07 19:10:14 +03:00
CurtizJ
7e22f78ce4 fix segfault with enabled 'optimize_skip_unused_shards' and missing sharding key 2019-08-07 18:47:25 +03:00
chertus
e6a93698cb add perf test 2019-08-07 17:41:03 +03:00
chertus
5bb0cde59c hotfix for Decimal.compareAt 2019-08-07 16:53:46 +03:00
chertus
7426d1b4f7 add test 2019-08-07 15:26:44 +03:00
Dmitry Rubashkin
93d385f813 Tests 2019-08-07 15:14:45 +03:00
Ivan Lezhankin
0bc6847111 Update references 2019-08-07 12:54:29 +03:00
Nikita Vasilev
90ce4608fb Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate 2019-08-06 21:07:13 +03:00
chertus
2fee5ccd34 fix another tests 2019-08-06 20:53:57 +03:00
Artem Zuikov
048fe08bde
Merge pull request #6362 from 4ertus2/bugs
Test for crash from #5859
2019-08-06 19:50:12 +03:00
Vasily Nemkov
fcb0482830 Implement geohashesInBox function. #6127 2019-08-06 17:53:06 +03:00
chertus
3705035457 fix test 2019-08-06 17:29:49 +03:00
alexey-milovidov
416a498b0f
Merge pull request #6329 from Vdimir/throwif-custom-message-5772
Added optional message argument in throwIf (#5772)
2019-08-06 17:27:46 +03:00
alexey-milovidov
511bf37029
Update 00602_throw_if.sh 2019-08-06 17:26:51 +03:00
Ivan Lezhankin
b55da1888a Add "_timestamp" virtual column 2019-08-06 17:18:37 +03:00
Ivan Lezhankin
4bc2b32c3e Merge branch 'master' into issue-5286 2019-08-06 16:25:51 +03:00
chertus
ffb053aa5f add test for crash described in #5859 2019-08-06 14:15:48 +03:00
chertus
c909e00865 disable ANY RIGHT and ANY FULL JOINs by default 2019-08-05 22:23:02 +03:00
alexey-milovidov
7f28e9bcfb
Merge pull request #6324 from amosbird/c6
Fix recursive materialized view
2019-08-05 14:36:21 +03:00
Amos Bird
e994f45b6c update 2019-08-05 11:30:30 +08:00
Zhichang Yu
e1f3ef2115 renamed bitmapRange to bitmapSubsetInRange 2019-08-05 10:27:12 +08:00
VDimir
1e6972b38e Added optional message argument in throwIf (#5772) 2019-08-05 02:24:16 +03:00
CurtizJ
cfe32ad89b Merge remote-tracking branch 'upstream/master' into order-by-efficient 2019-08-04 21:43:00 +03:00
Nikita Vasilev
4c53b90e66 fixed MergedColumnOnlyOutputStream 2019-08-04 21:28:46 +03:00
Alexey Milovidov
195d50a556 One more test case 2019-08-04 21:22:05 +03:00
Nikita Mikhailov
78250ea23f tests 2019-08-04 21:20:17 +03:00
Amos Bird
39b8141418 Fix recursive materialized view 2019-08-05 02:01:16 +08:00
alexey-milovidov
a0599214ef
Merge pull request #6103 from nikitamikhaylov/system_text_log
Allow to write ClickHouse text logs into system table.
2019-08-04 17:51:34 +03:00
Nikita Vasilev
5804398eae new test 2019-08-04 17:32:33 +03:00
Nikita Vasilev
4a39538625 Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate 2019-08-04 16:58:21 +03:00
alexey-milovidov
291dc0f66e
Merge pull request #6316 from yandex/alias-in-materialized-view-simplification
Simplification of #3796
2019-08-04 06:29:02 +03:00
alexey-milovidov
14671d6df8
Merge pull request #6254 from yandex/fastops
Integration with "FastOps" library. Added functions sigmoid and tanh.
2019-08-04 06:28:34 +03:00
Alexey Milovidov
45b4d9327f Fixed test 2019-08-04 04:32:02 +03:00
Alexey Milovidov
11e018c8cc Remove database qualification from test 2019-08-04 03:32:28 +03:00
alexey-milovidov
b045e85469
Merge pull request #3796 from amosbird/hang
Fix materialized view with column defaults.
2019-08-04 03:06:40 +03:00
alexey-milovidov
e61f647492
Merge pull request #6282 from nikvas0/nikvas0/fix_set_index
fix operators in set index
2019-08-04 02:52:57 +03:00
Alexey Milovidov
53fbb55813 Merge branch 'master' into fastops 2019-08-04 02:48:18 +03:00
Alexey Milovidov
491433b5c6 Updated performance test 2019-08-03 22:51:47 +03:00
Nikita Vasilev
53cc2b4856 fix new line 2019-08-03 21:13:48 +03:00
Zhichang Yu
4f146eaa7e added bitmapRange function 2019-08-03 23:07:46 +08:00
Alexey Milovidov
b9d39f4882 Merge branch 'master' into fastops 2019-08-03 06:24:33 +03:00
alexey-milovidov
2b6a28f617
Merge pull request #6279 from yandex/remove-cat-boost-pool
Removed table function "catBoostPool" and storage "CatBoostPool"
2019-08-03 04:59:55 +03:00
alexey-milovidov
7dc891e244
Merge pull request #6302 from yandex/more-performance-tests-gcc-clang
Added performance test to show degradation of performance in gcc-9 in more isolated way.
2019-08-03 04:58:07 +03:00
alexey-milovidov
5537b151d9
Merge pull request #6305 from yandex/fix-fpe-in-yandex-consistent-hash
Fix FPE in yandexConsistentHash function
2019-08-03 04:05:38 +03:00
Alexey Milovidov
da2bd59237 Updated test 2019-08-03 02:08:04 +03:00
Alexey Milovidov
67f167605b Merge branch 'master' of github.com:yandex/ClickHouse into fastops 2019-08-03 01:58:53 +03:00
Alexey Milovidov
a5a6aaf8b1 Merge branch 'master' into fastops 2019-08-03 01:58:38 +03:00
alexey-milovidov
9af4542230
Merge pull request #6278 from yandex/fix_bool_settings_parsing
Fix bool settings parsing
2019-08-03 01:55:42 +03:00
alexey-milovidov
149ed67462
Merge pull request #6281 from yandex/fix-low-cardinality-aggregate-arguments
Fix LowCardinality arguments conversion in AggregateFunctionFactory
2019-08-03 01:50:21 +03:00
Alexey Milovidov
9cdbc6c663 Added a test 2019-08-03 01:45:25 +03:00
Alexey Milovidov
5774ef1ed1 Removed test 2019-08-03 00:49:50 +03:00
Alexey Milovidov
2fb71013af Added performance test to show degradation of performance in gcc-9 in more isolated way 2019-08-02 23:18:03 +03:00
Alexey Milovidov
5e942d2d79 Added performance test to show degradation of performance in gcc-9 in more isolated way 2019-08-02 23:16:02 +03:00
alexey-milovidov
f8980e691e
Merge pull request #6274 from CurtizJ/ttl-old-parts
TTL improvements.
2019-08-02 22:51:28 +03:00
alexey-milovidov
12a8bf20eb
Merge pull request #6297 from 4ertus2/bugs
Fix crash on CAST exotic types to Decimal
2019-08-02 22:47:27 +03:00
Nikita Vasilev
bfa9a2c86f fixed index condition 2019-08-02 22:21:55 +03:00
alexey-milovidov
3e0ce7df58
Merge pull request #6249 from 4ertus2/joins
Fix join_use_nulls. Nulls in JOIN keys issue
2019-08-02 22:07:03 +03:00
Alexey Milovidov
e3927cf176 Merge branch 'master' into fastops 2019-08-02 22:04:38 +03:00
Alexey Milovidov
aaf7480c15 Updated test 2019-08-02 22:04:20 +03:00
Alexey Milovidov
73faf623f2 Adjusted precision in test 2019-08-02 22:00:22 +03:00
CurtizJ
e06a53a5d9 fix ranges selection at reading in order 2019-08-02 20:34:29 +03:00
CurtizJ
a0f61e8cb3 better performance test for order by optimization 2019-08-02 19:17:18 +03:00
chertus
fcc6a2c2be fix crash on CAST exotic types to decimal 2019-08-02 17:31:55 +03:00
alesapin
ac5daf964e Fix buggy tests 2019-08-02 11:09:23 +03:00
Nikita Vasilev
b242c6ec79 fix test 2019-08-01 22:51:51 +03:00
Nikita Vasilev
7aacbbdc5a fix bug 2019-08-01 22:18:36 +03:00
Alexey Milovidov
5c361c327b Enabled "precise" mode; updated tests 2019-08-01 22:17:49 +03:00
Nikolai Kochetov
c11e04f9d9 Added test. 2019-08-01 21:44:23 +03:00
alesapin
7c37450c3d Better code and tests 2019-08-01 20:43:10 +03:00
alesapin
5b4b875497 Fix bool settings parsing in config 2019-08-01 20:03:34 +03:00
CurtizJ
82f304f81e add query 'SYSTEM STOP TTL MERGES' 2019-08-01 18:36:12 +03:00
tavplubix
6625536236
Merge pull request #6055 from yandex/csv_unquoted_nulls_and_default_values
CSV unquoted nulls and default values
2019-08-01 15:11:06 +03:00
CurtizJ
f224269d41 filter by ttl parts created before 'alter ... modify ttl' query with 'optimize ... final' query 2019-08-01 14:10:42 +03:00
chertus
e5d3f17225 fix test results 2019-08-01 14:02:32 +03:00
Nikita Mikhaylov
a9fea0314e better style 2019-08-01 13:31:29 +03:00
Alexey Milovidov
a25890c038 Merge branch 'master' into fastops 2019-08-01 06:05:53 +03:00
Alexey Milovidov
6de3939a3d Added a test 2019-08-01 05:08:44 +03:00
alexey-milovidov
a8793fbef3
Merge pull request #6209 from dimarub2000/values_list
VALUES list
2019-08-01 04:36:04 +03:00
Alexey Milovidov
74d4fb3ce1 Added a test for new functions 2019-08-01 03:43:50 +03:00
Alexey Milovidov
ab8dd7edd6 Added performance test 2019-08-01 03:37:47 +03:00
Alexey Milovidov
bf524b4419 Merge branch 'master' of github.com:yandex/ClickHouse 2019-08-01 01:49:24 +03:00
Alexey Milovidov
63c57a4c26 Fixed flappy test 2019-08-01 01:49:14 +03:00
alexey-milovidov
a94fe354c5
Merge pull request #6233 from yandex/fix-overflow-in-int-div
Fixed overflow in intDiv functions
2019-08-01 01:39:37 +03:00
alesapin
cfbae59701
Merge pull request #6236 from yandex/fix_prewhere_remote
Fix bug in prewhere + distributed
2019-07-31 23:22:29 +03:00
chertus
10edd76fe4 fix join_use_nulls results for key columns 2019-07-31 23:19:52 +03:00
Nikita Mikhaylov
42641a5b56 update flappy test 2019-07-31 18:43:55 +03:00
Alexey Milovidov
e3df5a79b3 Updated test 2019-07-31 17:43:39 +03:00
Dmitry Rubashkin
f91c64bd28 parser changed, test modified, comments added 2019-07-31 17:06:22 +03:00
Nikita Mikhaylov
ad4459c4a2 fixed flush_logs + added pretty function 2019-07-31 17:03:23 +03:00
alesapin
e6052ec117 Fix bug in prewhere + distributed 2019-07-31 13:22:56 +03:00
alexey-milovidov
94454e514d
Merge pull request #6211 from 4ertus2/asof
Support ASOF JOIN ON syntax
2019-07-31 06:00:22 +03:00
alexey-milovidov
834bd5d82d
Merge pull request #6212 from yurriy/mysql-wire-protocol-fix
Bug fix in MySQL wire protocol
2019-07-31 05:59:01 +03:00
Alexey Milovidov
52650ce2f7 Fixed overflow in intDiv functions 2019-07-31 04:05:33 +03:00
Alexey Milovidov
c2035a21fc Added a test 2019-07-31 03:29:47 +03:00
alexey-milovidov
8949ef6dd3
Merge pull request #6225 from CurtizJ/withcube-fix
Fix rollup and cube modifiers with two-level aggregation.
2019-07-31 00:54:35 +03:00
alexey-milovidov
8e62907ab8
Merge pull request #6219 from dimarub2000/low_cord_index
Test for primary index with lowCardinality(String)
2019-07-31 00:50:10 +03:00
alexey-milovidov
cb37c79c41
Merge pull request #6201 from yandex/speed-up-dladdr
Introspection functions + better stack traces.
2019-07-31 00:49:16 +03:00
Alexey Milovidov
8292f3dbc9 Fixed test 2019-07-30 21:01:59 +03:00
CurtizJ
218de76285 fix rollup and cube modifiers with two-level aggregation 2019-07-30 19:36:52 +03:00
Alexey Milovidov
c0118bda75 Fixed test 2019-07-30 18:19:57 +03:00
Dmitry Rubashkin
4af44af3b7 test for priamry index with lowCardinality 2019-07-30 15:38:40 +03:00
Amos Bird
6db1c02bfd Fix materialized view with column defaults.
https://github.com/yandex/ClickHouse/issues/448
https://github.com/yandex/ClickHouse/issues/3484
https://github.com/yandex/ClickHouse/issues/3450
https://github.com/yandex/ClickHouse/issues/2878
https://github.com/yandex/ClickHouse/issues/2285
2019-07-30 10:49:54 +08:00
alesapin
16255f7a9f
Merge pull request #6207 from yandex/fix-logs-level-tests
Update send logs tests.
2019-07-29 21:40:58 +03:00
chertus
f79851591a one more test 2019-07-29 20:11:56 +03:00
Nikolai Kochetov
b8623869e0 Update send logs tests. 2019-07-29 19:33:07 +03:00
Nikolai Kochetov
efc4395b2f Update send logs tests. 2019-07-29 19:29:58 +03:00
Dmitry Rubashkin
89bbe1a299 drop table 2019-07-29 19:23:22 +03:00
Dmitry Rubashkin
45aebda677 Fixes and test 2019-07-29 19:20:17 +03:00
Yuriy
c1b57f9cf5 fixed heap buffer overflow in PacketPayloadWriteBuffer 2019-07-29 18:41:47 +03:00
chertus
7b4ddd268e support ASOF JOIN ON syntax 2019-07-29 17:58:36 +03:00
Nikolai Kochetov
52a9341082 Update send logs tests. 2019-07-29 13:51:56 +03:00
Nikolai Kochetov
40ae9aa60b Update send logs tests. 2019-07-29 13:15:03 +03:00