Commit Graph

2812 Commits

Author SHA1 Message Date
alesapin
f9a6116324 Add missed file 2018-10-15 21:38:52 +03:00
proller
0cf72f9b26 clickhouse-odbc#125 : Make TIMESTAMP alias for DateTime type for allowing CAST(x AS TIMESTAMP) 2018-10-15 18:10:34 +03:00
VadimPE
52deb3932f fix test 2018-10-15 17:55:02 +03:00
alesapin
c951ec7bad CLICKHOUSE-4067: Fixes in odbc dictionaries. Now dictionaries receives bridge path from global config (as it was before). Quotation performed on table and schema independently. Add tests with postgres interaction. Update documentation 2018-10-15 17:49:23 +03:00
VadimPE
fca4a7be90 Merge branch 'ISSUES-2581' of https://github.com/VadimPE/ClickHouse into ISSUES-2581 2018-10-15 17:10:44 +03:00
VadimPE
4d6da00184 fix tests 2018-10-15 17:09:22 +03:00
Vadim
ade4f56c3f
Update 00726_modulo_for_date.sql 2018-10-15 16:24:46 +03:00
VadimPE
e331f15ffd CLICKHOUSE-1791 add modulo for nonIntegral divisor 2018-10-15 16:24:01 +03:00
VadimPE
7b6f0f5372 CLICKHOUSE-1791 add modulo for date 2018-10-15 15:53:05 +03:00
Vadim
a013dce567
Update 00732_quorum_insert_simple_test_2_parts_zookeeper.reference 2018-10-15 13:32:43 +03:00
Vadim
5898a22824
Update 00732_quorum_insert_simple_test_1_parts_zookeeper.reference 2018-10-15 13:32:30 +03:00
Vadim
9b1271afd3
Update 00732_quorum_insert_lost_part_and_alive_part_zookeeper.reference 2018-10-15 13:32:17 +03:00
VadimPE
58c2bd366f ISSUES-2581 add test 2018-10-15 13:31:24 +03:00
VadimPE
1c51407fa7 ISSUES-2581 add test 2018-10-15 13:27:17 +03:00
Sabyanin Maxim
e050bc0428 Merge branch 'master' into CLICKHOUSE-4032 2018-10-14 18:35:45 +03:00
Sabyanin Maxim
ab050c8466 add comment section in column declaration.
add comment column type in alter method.
add comment section in system.columns.
2018-10-14 18:30:06 +03:00
alesapin
e6c414c936 Remove abs path from testing framework 2018-10-14 12:51:16 +03:00
Alexey Milovidov
c53f38260f Added instruction for quick syntax check [#CLICKHOUSE-2] 2018-10-14 11:22:56 +03:00
Alexey Milovidov
42d5418257 Added fixture [#CLICKHOUSE-4016] 2018-10-14 11:05:13 +03:00
chertus
e2e3205c62 add test for OR optimisation [issue-3339] 2018-10-12 19:16:27 +03:00
alexey-milovidov
69a1303fc2
Merge pull request #3365 from liuyimin-bytedance/master
Add test for issue #3269
2018-10-12 17:08:01 +03:00
chertus
688b5aa8e4 Conditional for UUID [CLICKHOUSE-4016] 2018-10-12 14:23:05 +03:00
liuyimin
5d40757e9b Add test for issue #3269 2018-10-12 18:34:37 +08:00
Alexandr Krasheninnikov
92916d3b8d Merge https://github.com/yandex/ClickHouse into base64_functions 2018-10-12 11:29:01 +03:00
Alexey Milovidov
f8e5a22e03 Fixed "timeSlot" and "timeSlots" functions [#CLICKHOUSE-4016] 2018-10-12 03:40:19 +03:00
Alexey Milovidov
f2e161156e Added test #3342 2018-10-12 03:18:36 +03:00
Alexey Milovidov
e752271d99 Added check for invalid PREWHERE #3336 2018-10-11 23:52:25 +03:00
chertus
178b0d7fb9 rename test 2018-10-11 18:12:38 +03:00
chertus
5896e45dac SummingMergeTree for Decimal128 [issue-3282] 2018-10-11 17:33:01 +03:00
Alexey Milovidov
b8543bcd4d Fixed non-deterministic test #3145 2018-10-11 07:40:41 +03:00
alexey-milovidov
5795b559c6
Merge pull request #3342 from 4ertus2/decimal
Confitional for Decimal (without arrays) [CLICKHOUSE-3765]
2018-10-10 23:00:17 +03:00
alexey-milovidov
297f9cec38
Merge pull request #3341 from yandex/fix-point-in-poligon
Fix point in poligon
2018-10-10 22:09:13 +03:00
chertus
aa9f17b8df Merge branch 'master' into decimal 2018-10-10 21:39:57 +03:00
chertus
94c9a544f2 If for Decimal (basic support) [CLICKHOUSE-3765] 2018-10-10 21:37:54 +03:00
Vadim
517619d8c1
Update 00732_quorum_insert_zookeeper.sql 2018-10-10 20:49:42 +03:00
Nikolai Kochetov
8cc307ca47 Added test #2866 2018-10-10 20:41:26 +03:00
Vadim
6b2bfd2f4f
Update 00732_quorum_insert_zookeeper.sql 2018-10-10 20:35:34 +03:00
Vadim
93992879bc
Update 00732_quorum_insert_zookeeper.sql 2018-10-10 19:22:06 +03:00
Vadim
8c5be3aa67
Update 00732_quorum_insert_zookeeper.reference 2018-10-10 19:21:46 +03:00
VadimPE
cc2686cdf1 ISSUES-2581 add tests 2018-10-10 19:13:14 +03:00
Alexey Zatelepin
d9a0432c6c don't quote single-field partition keys #3109 [#CLICKHOUSE-4054] 2018-10-10 18:57:04 +03:00
Alexander Krasheninnikov
5ff30ebb3d Initial implementation 2018-10-10 04:04:07 +03:00
alexey-milovidov
e91f8f0dd9
Merge pull request #3273 from vavrusa/master
PushingToViewsBlockOutputStream: add tests for parallel processing
2018-10-10 02:16:59 +03:00
alexey-milovidov
ab198e77d1
Merge pull request #3329 from 4ertus2/master
get64 for Decimal32/64; remove allow_experimental_decimal_type [issue-3282]
2018-10-10 00:40:29 +03:00
alexey-milovidov
b7766333ab
Merge pull request #3330 from CurtizJ/CLICKHOUSE-4005
Interpret empty null_value in external dictionaries as type default value [ClLICKHOUSE-4005]
2018-10-09 23:44:18 +03:00
alexey-milovidov
33b4a502d6
Update test.py 2018-10-09 23:43:52 +03:00
alexey-milovidov
caaa7ff98e
Merge pull request #3331 from yandex/fix-point-in-poligon
Fix point in poligon
2018-10-09 23:41:35 +03:00
alexey-milovidov
bc921c564a
Update 00500_point_in_polygon_bug_2.sql 2018-10-09 23:40:05 +03:00
alexey-milovidov
e25e19a071
Update 00500_point_in_polygon_bug_2.sql 2018-10-09 23:39:32 +03:00
Nikolai Kochetov
c506f04842 Added test. #3309 2018-10-09 22:40:21 +03:00
CurtizJ
de1e9caefb add test 2018-10-09 22:00:09 +03:00
Alexey Milovidov
6ca67ce277 Updated test result #3257 2018-10-09 22:00:00 +03:00
Alexey Milovidov
94d8a78abf Fixed test (now letter ё is really decomposed) #3257 2018-10-09 21:55:39 +03:00
Alexey Milovidov
89f3fd07f5 Fixed issue in test #3257 2018-10-09 21:53:35 +03:00
Alexey Milovidov
eda0784feb clickhouse-test: removed obsolete comment #3223 2018-10-09 21:43:23 +03:00
Alexey Milovidov
458b0f256a Added test by Champtar #3223 2018-10-09 21:20:46 +03:00
alesapin
32c6d0c699
Merge pull request #3182 from VadimPE/CLICKHOUSE-3947
CLICKHOUSE-3947 add LIKE and IN () for ODBC and MySQL
2018-10-09 20:12:32 +03:00
chertus
c7bf0e77ea add get64() for Decimal32 and Decimal64; remove allow_experimental_decimal_type setting [issue-3282] 2018-10-09 19:50:42 +03:00
alesapin
9946154908 CLICKHOUSE-3943: Rename FLUSH SYSTEM TABLES query to FLUSH LOGS, better tests 2018-10-09 13:05:27 +03:00
alesapin
9576c0e86d Add flush system tables 2018-10-08 21:09:14 +03:00
alesapin
ee78e27fa8 Move test to sh 2018-10-08 19:58:44 +03:00
alesapin
8333f63e12 Add log_queries setting 2018-10-08 19:35:59 +03:00
alesapin
c7065b6bd8 CLICKHOUSE-3943: Add test for FileOpen metric 2018-10-08 18:55:55 +03:00
VadimPE
79b6b8476a CLICKHOUSE-3947 add tests 2018-10-08 18:05:23 +03:00
Alexey Milovidov
80faec76e8 Merge remote-tracking branch 'origin/master' into fix-memory-tracker 2018-10-08 00:09:18 +03:00
Alexey Milovidov
84b3ba3464 Improved test #3230 2018-10-07 23:47:03 +03:00
alexey-milovidov
469243b33b
Merge pull request #3306 from yandex/length-aliases
Added compatibility aliases for "length" and "lengthUTF8"
2018-10-07 23:26:57 +03:00
alexey-milovidov
36c3feea80
Merge pull request #3270 from yandex/left-join-right-keys-fix
Left join right keys fix
2018-10-07 23:26:40 +03:00
Alexey Milovidov
964a6e5771 Make function "concat" case insensitive for compatibility [#CLICKHOUSE-20] 2018-10-05 22:58:01 +03:00
Alexey Milovidov
9e1c51aca4 Added compatibility aliases for "length" and "lengthUTF8" [#CLICKHOUSE-20] 2018-10-05 22:52:42 +03:00
Alexey Milovidov
45af805ccb Translated comments in test #3230 2018-10-05 22:45:01 +03:00
Alexey Milovidov
aed501e687 Translated comments in test #3230 2018-10-05 21:51:42 +03:00
Alexey Milovidov
5503822983 Merge branch 'master' into fix-memory-tracker 2018-10-05 18:15:50 +03:00
Nikolai Kochetov
064facd8de Updated test. 2018-10-05 10:43:58 +03:00
alexey-milovidov
47dd173007
Merge pull request #3281 from 4ertus2/summap
sumMap for number-based types
2018-10-05 00:12:57 +03:00
alexey-milovidov
b9d1eb4154
Merge pull request #3298 from yandex/fix-prewhere-with-altered-columns
Fix prewhere with altered columns
2018-10-04 23:57:11 +03:00
alexey-milovidov
cf6f5b314c
Update 00726_materialized_view_concurrent.sql 2018-10-04 22:40:10 +03:00
Nikolai Kochetov
2f2c939446 Added tests. 2018-10-04 21:19:25 +03:00
chertus
9c4c72cde5 fix test 2018-10-03 17:33:47 +03:00
chertus
5b987f02d7 sumMap for number-based types [issue-3277] 2018-10-03 17:22:28 +03:00
Marek Vavruša
575fa7f25a PushingToViewsBlockOutputStream: add tests for parallel processing
This adds tests for a971a0bc07
2018-10-02 19:06:04 -07:00
alexey-milovidov
147a2a13c2
Merge pull request #3257 from amosbird/master
Correct wcwidth computation for pretty outputs.
2018-10-02 16:23:41 +03:00
Amos Bird
7df73088ab Correct wcwidth computation for pretty outputs. 2018-10-02 10:06:18 +08:00
alexey-milovidov
7c6b08c21c
Merge pull request #3251 from CurtizJ/table-db-macros
Support {database} and {table} macros in ReplicatedMergeTree [CLICKHOUSE-3897]
2018-10-01 21:45:52 +03:00
CurtizJ
ed77e40dfe fix implicit macros 2018-10-01 12:01:50 +03:00
zhang2014
6778220ffd ISSUES-3232 remake interpreter_subquery when rewrite subqueries 2018-09-30 17:27:59 +08:00
Alexey Milovidov
e4ec8ffc49 Fixed test; tests that require server to listen something other than 127.0.0.1, must be tagged as "shard" in their names [#CLICKHOUSE-2] 2018-09-29 22:50:12 +03:00
CurtizJ
d4de76346c fix test 2018-09-29 16:12:53 +03:00
CurtizJ
99b4536b2a add test 2018-09-28 22:07:29 +03:00
alexey-milovidov
c409c186b3
Merge pull request #3249 from CurtizJ/fix-thread-group
Add test for #3247
2018-09-28 19:48:13 +03:00
CurtizJ
a4fac09073 update test 2018-09-28 19:43:41 +03:00
chertus
be3b845baf add test for remote quantiles 2018-09-28 19:33:12 +03:00
CurtizJ
c2bec8b2c8 update test 2018-09-28 19:11:56 +03:00
CurtizJ
d0b2e58d61 add test 2018-09-28 19:05:58 +03:00
proller
ec11bef633
Build fixes (#3181) 2018-09-28 17:53:20 +03:00
zhang2014
b35ab511cb ISSUES-3225 fix alias conflict when predicate optimization 2018-09-27 14:29:38 +08:00
alexey-milovidov
03d85227d1
Merge pull request #3229 from yandex/fix-datetime-conversion-when-inserting-in-values-format
Fix conversion between Date and DateTime when inserting in VALUES format and "input_format_values_interpret_expressions" is true
2018-09-27 00:20:04 +03:00
Alexey Milovidov
b1b53a4019 Added test #3143 2018-09-26 23:49:44 +03:00
Alexey Milovidov
836c20b2d3 \Merge branch 'master' of github.com:yandex/ClickHouse 2018-09-26 22:48:59 +03:00
Alexey Milovidov
721837efe9 Adapted test #3205 2018-09-26 22:48:47 +03:00
Alexey Milovidov
e90484db77 Fix conversion between Date and DateTime when inserting in VALUES format and "input_format_values_interpret_expressions" is true #3226 2018-09-26 22:43:10 +03:00
chertus
a564b05ec7 supertypes for decimal and ints [issue-3218] 2018-09-26 17:59:23 +03:00
alexey-milovidov
6374094f0c
Merge pull request #3202 from zhang2014/fix/ISSUES-3145
ISSUES-3145 support qualified asterisk
2018-09-26 17:41:01 +03:00
chertus
b48402e871 intDiv, intDivOrZero for decimal [issue-3221] 2018-09-26 15:12:45 +03:00
chertus
69dd660919 fix crash on decimal division by zero [issue-3221] 2018-09-26 14:25:50 +03:00
Alexey Milovidov
33e4865240 Adjusted test #3205 2018-09-26 05:33:29 +03:00
Alexey Milovidov
042536177d Merge branch 'master' into order-by-remerge 2018-09-26 04:24:35 +03:00
chertus
96ceca6c05 fix decimal to int, int to decimal convertion [issue-3177] 2018-09-25 19:03:50 +03:00
Alexey Milovidov
5cc8e802d5 Added test #3205 2018-09-25 00:02:40 +03:00
alexey-milovidov
b6c7d71a03
Merge pull request #3101 from CurtizJ/CLICKHOUSE-3527
CLICKHOUSE-3527 Fix race while parallel ddl queries
2018-09-24 20:59:57 +03:00
zhang2014
f3dcc2ef41 ISSUES-3145 support qualified asterisk 2018-09-24 23:28:18 +08:00
chertus
f09970ff70 add test for inner join [CLICKHOUSE-4001] 2018-09-24 16:55:26 +03:00
alexey-milovidov
4185351c8d
Merge pull request #3197 from yandex/fix_odbc_table_function
Fix odbc table function
2018-09-23 18:48:02 +03:00
Alexey Milovidov
bb654ff307 Fixed trash #3195 2018-09-22 21:12:14 +03:00
Alexey Milovidov
b972742f9a Fixed bad code; updated docs #3195 2018-09-22 21:07:27 +03:00
alesapin
2aee8a5814 Fix odbc table function 2018-09-22 17:58:03 +03:00
alexey-milovidov
65f7c390f0
Merge pull request #3159 from zhang2014/fix/ISSUES-3134
ISSUES-3134 fix merge and distributed engine query stage
2018-09-22 00:09:06 +03:00
alexey-milovidov
433e8cce26
Merge pull request #3194 from yandex/fix-replica-cyclic-fetch
Fix cyclical failed fetches when merges don't produce identical result
2018-09-21 23:05:40 +03:00
alexey-milovidov
babc145f5f
Merge pull request #3188 from yandex/fix_segfault_3151
Add isState for array function combinator
2018-09-21 22:30:15 +03:00
Alexey Zatelepin
9ee53caee0 add test [#CLICKHOUSE-2837] 2018-09-21 19:45:57 +03:00
alesapin
2e1f4737f0 Add test 2018-09-21 17:49:27 +03:00
proller
0047987333 CLICKHOUSE-3885: add partition_key alias (#3166)
* Allow run integration tests from ctest: cmake .. -DENABLE_TEST_INTEGRATION=1 && ninja && ctest -V -R integration

* CLICKHOUSE-3885: add partition_key alias

* fix

* Update ClusterCopier.cpp

* Better test

* fixing..
2018-09-21 13:46:58 +03:00
alexey-milovidov
b1eb66c03e
Merge branch 'master' into low-cardinality-fixes 2018-09-21 13:43:37 +03:00
alexey-milovidov
4a54a1c310
Merge pull request #3138 from yandex/low-cardinality-group-by
Low cardinality group by
2018-09-21 13:38:20 +03:00
zhang2014
e0e805b1f6 ISSUES-3134 fix merge and distributed engine query stage 2018-09-21 11:19:25 +08:00
zhang2014
8a8189c7e9 ISSUES-3134 fix merge and distributed engine query stage 2018-09-21 09:08:44 +08:00
zhang2014
80d83bb50f ISSUES-3134 fix merge and distributed engine query stage 2018-09-21 09:08:44 +08:00
zhang2014
882125dd6d ISSUES-3134 fix merge and distributed engine query stage 2018-09-21 09:08:44 +08:00
alexey-milovidov
5d3027d4d0
Merge pull request #3171 from yandex/fix_segfault_on_incomplete_block
Reorder Squashing and adding default output stream in insert
2018-09-20 21:11:45 +03:00
alexey-milovidov
4a095d8433
Merge pull request #3172 from CurtizJ/CLICKHOUSE-3979
Add modificator CUBE [CLICKHOUSE-3979]
2018-09-20 21:04:56 +03:00
alexey-milovidov
f558d5b2df
Update 00720_with_cube.sql 2018-09-20 20:35:54 +03:00
CurtizJ
5f2db689dc fix tests 2018-09-20 19:32:07 +03:00
VadimPE
3547334ba5 fix 2018-09-20 17:39:02 +03:00
VadimPE
e93f56bb50 fix 2018-09-20 17:37:55 +03:00
Nikolai Kochetov
d8a9525cf9 Added test with low acrdinality and array functions. #3004 2018-09-20 16:53:29 +03:00
alesapin
b87a084f38 Strict order of evaluated and added columns 2018-09-20 14:16:15 +03:00
Nikolai Kochetov
19d00cde7e Added test for low cardinality with in function. #3004 2018-09-20 13:57:52 +03:00
Alexey Milovidov
2878f39e1e Added performance tests #3176 2018-09-19 23:48:25 +03:00
Alexey Milovidov
200860724e More tests #3176 2018-09-19 23:36:32 +03:00
Alexey Milovidov
44de6a0317 Improved performance 1.5..1.8 times #2770 2018-09-19 23:07:46 +03:00
alesapin
cf195ed832 Fix test 2018-09-19 20:52:09 +03:00
Nikolai Kochetov
bb570fa1a8 Fix low cardinality serialization test reference. 2018-09-19 17:43:12 +03:00
Nikolai Kochetov
b93ea8e7cc Fixed default value index for LowCardinality(Nullable). 2018-09-19 17:42:59 +03:00
alesapin
bb4be0515b Add test for segfault 2018-09-19 15:18:10 +03:00
CurtizJ
fe0bdbe42c fix test 2018-09-19 15:07:55 +03:00
CurtizJ
31bf960bfe add new syntax 2018-09-19 14:18:38 +03:00
Nikolai Kochetov
926dfa82f3 Added test for low cardinality alter add column. #3066 2018-09-19 14:05:21 +03:00
CurtizJ
e4c1ca91c1 update tests 2018-09-18 21:41:54 +03:00
Alexey Milovidov
41bde049ab Merge remote-tracking branch 'origin/master' into alex-krash-function_format_date 2018-09-18 21:39:02 +03:00
Anton Popov
f550b21a8f
Merge branch 'master' into CLICKHOUSE-3527 2018-09-18 21:35:54 +03:00
CurtizJ
3177f3f6a9 update ddl guard 2018-09-18 21:33:15 +03:00
Alexey Milovidov
b8cbedee27 Merging #2770 2018-09-18 21:31:43 +03:00
Alexey Milovidov
dde8ca03cf Merge branch 'function_format_date' of https://github.com/alex-krash/ClickHouse into alex-krash-function_format_date 2018-09-18 19:19:29 +03:00
alexey-milovidov
67d559f3ef
Merge pull request #3163 from Bloxy-info/fix-negative-cumsum
fix arrayCumSumNonNegative that it does not accumulative negative values
2018-09-18 19:15:15 +03:00
chertus
fee5f24326 test for decimal + column defaults [CLICKHOUSE-3765] 2018-09-18 15:08:54 +03:00
daoready
889d5139ef fix arrayCumSumNonNegative that it does not accumulative negative values 2018-09-18 14:55:14 +03:00
Alexander Krasheninnikov
64533ff4df Add support for Date, filled documentation 2018-09-18 03:32:24 +03:00
Alexey Milovidov
599ec4c577 Merge branch 'veloman-yunkan-jsoneachrow_import_nested' 2018-09-17 23:36:01 +03:00
Alexey Milovidov
8852660b24 Merge branch 'jsoneachrow_import_nested' of https://github.com/veloman-yunkan/ClickHouse into veloman-yunkan-jsoneachrow_import_nested 2018-09-17 23:26:43 +03:00
alexey-milovidov
006119b81d
Merge pull request #3155 from yandex/fix-float-parsing-with-custom-csv-delimiter
Fix float parsing with custom csv delimiter
2018-09-17 22:39:45 +03:00
CurtizJ
43951e4879 add test 2018-09-17 22:16:51 +03:00
alexey-milovidov
c6f90523de
Merge pull request #3153 from 4ertus2/decimal
E-notation for decimal input [issue-3135]
2018-09-17 21:49:00 +03:00
Alexey Milovidov
c96464ca8e Added test #3142 2018-09-17 21:22:56 +03:00
chertus
7db097a49a support e-notation for decimal input [issue-3135] 2018-09-17 20:07:38 +03:00
Alexandr Krasheninnikov
ff9ff462fc Add tests 2018-09-17 20:02:12 +03:00
alexey-milovidov
13779bc75d
Merge pull request #3152 from zhang2014/fix/ISSUES-3149
ISSUES-3149 fix incorrectly masks rows in views
2018-09-17 18:57:47 +03:00
zhang2014
745696b888 ISSUES-3149 fix incorrectly masks rows in views 2018-09-17 23:30:15 +08:00
alexey-milovidov
c62b640595
Merge pull request #3147 from VadimPE/CLICKHOUSE-3993
CLICKHOUSE-3993 add default type of JOIN in query
2018-09-17 16:33:48 +03:00
Nikolai Kochetov
5b8cfc8e35 Fixed test. 2018-09-17 13:53:49 +03:00
VadimPE
acf34e29ad CLICKHOUSE-3993 add tests 2018-09-17 11:39:26 +03:00
Alexey Milovidov
01cffc1382 Added test [#CLICKHOUSE-3988] 2018-09-17 06:24:39 +03:00
Veloman Yunkan
f51d791b68 Fixed the 00715_json_each_row_input_nested test 2018-09-16 14:42:35 +00:00
proller
d752d5d62d Prepare to new poco, build fixes (#3072)
* WIp

* fix

* fix

* test

* fix poco netssl find

* clean

* fixes

* wip

* wip

* new poco

* fixes

* Fixes

* wip

*  clean

* clean

*     clean

* clean

* Update HTTPHandlerFactory.h
2018-09-14 22:48:51 +03:00
alexey-milovidov
a26e6935da
Merge pull request #3123 from Enmk/Issue_2093_Support_arbitrary_type_for_ranges_in_range_hashed_dictionary
Added support of int-based types: Int\UInt(8,16,32), Date, DateTime f…
2018-09-14 22:10:13 +03:00
Karl Pietrzak
c44398212d WIP: basic rate() function 2018-09-14 14:30:31 -04:00
alexey-milovidov
685560134a
Merge pull request #3129 from 4ertus2/decimal
var, stddev and math functions for decimal [CLICKHOUSE-3765]
2018-09-14 21:12:37 +03:00
Nikolai Kochetov
936b4789bd Added more tests with low cardinality type. 2018-09-14 21:01:11 +03:00
chertus
57260bbd6a math funcs for decimal (Float64 inside) [CLICKHOUSE-3765] 2018-09-14 17:40:51 +03:00
Veloman Yunkan
5fe127e4c3 Added --input_format_import_nested_json option
By default mapping of nested json data to nested tables is disabled. To
enable the import of nested json data (into corresponding nested tables)
clickhouse must be run with the --input_format_import_nested_json=1
option.
2018-09-14 13:43:57 +00:00
Vasily Nemkov
dbcbce6fe4 More tests for range edge cases and for querying out of range;
Minor cleanup: removed extra header file.
2018-09-14 16:42:57 +03:00
Veloman Yunkan
47eb0e28b3 Nested JSON data is mapped to nested table data 2018-09-14 12:15:32 +00:00
zhang2014
7a87da78d7 ISSUES-3110 fix merge and distributed engine query stage 2018-09-14 18:16:27 +08:00
Veloman Yunkan
446df4342e Testing of JSONEachRow input of Nested data
The new test demonstrates current handling of flat JSON data corresponding
to nested columns.
2018-09-14 09:12:56 +00:00
alexey-milovidov
92b2cc6625
Merge pull request #3107 from zhang2014/fix/ISSUES-3105
ISSUES-3105 fix some bugs in the predicate optimizer
2018-09-13 22:19:11 +03:00
chertus
7adf8d29cf var/stddev for decimal [CLICKHOUSE-3765] 2018-09-13 21:36:47 +03:00
Vasily Nemkov
99560e06f8 Added support of int-based types: Int\UInt(8,16,32), Date, DateTime for range_hashed dictionary.
Fixes #2093
Added type checks for .range_min and .range_max
Allowed nullable range values in dictionary source
Added test for range_hashed dictionaries
2018-09-13 18:19:55 +03:00
zhang2014
25f79593a2 ISSUES-3105 fix some bugs in the predicate optimizer 2018-09-13 20:08:27 +08:00
alesapin
ae718cf536 Fix integration test 2018-09-13 14:38:20 +03:00
alesapin
84cde3429b Merge branch 'master' of github.com:yandex/ClickHouse 2018-09-13 13:12:40 +03:00
alesapin
c088574dca Add test for odbc dictionary 2018-09-13 13:12:11 +03:00
CurtizJ
eb60ffae92 more iterations in test 2018-09-13 12:48:22 +03:00
Alexey Milovidov
32e3da3f52 Merge #3035 2018-09-13 06:13:29 +03:00
alexey-milovidov
0223225a05
Merge pull request #3035 from yandex/alter-update
ALTER UPDATE
2018-09-13 06:03:35 +03:00
alexey-milovidov
fd630179ec
Merge pull request #3103 from yandex/dont-fetch-unchanged-mutated-parts
Don't fetch parts not changed by mutations
2018-09-13 04:00:31 +03:00
alexey-milovidov
34f1998009
Merge pull request #3009 from yandex/astudnev-cum_sum_limit2
[FIX] Additional higher order functions to work with arrays
2018-09-13 03:17:41 +03:00
alexey-milovidov
3bad4cee5c
Merge pull request #3098 from zhang2014/fix/ISSUES-2560
ISSUES-2560 fix crash when create temporary with in clause
2018-09-13 03:09:29 +03:00
alexey-milovidov
77f41b8580
Merge pull request #3104 from CurtizJ/CLICKHOUSE-3034
CLICKHOUSE-3034 Add setting allow_ddl
2018-09-13 03:06:26 +03:00
alexey-milovidov
5998496790
Merge pull request #3116 from 4ertus2/decimal
Some aggregate functions for Decimal
2018-09-13 03:01:27 +03:00
Alexey Milovidov
3293480a12 Validate sizes of arrays - elements of Nested data structures [#CLICKHOUSE-3692] 2018-09-13 00:08:55 +03:00
chertus
d301fcd004 decimal quantileExact [CLICKHOUSE-3765] 2018-09-12 19:36:13 +03:00
chertus
1c4825138a decimal avg [CLICKHOUSE-3765] 2018-09-12 16:27:32 +03:00
chertus
dd5c55df2c decimal sum [CLICKHOUSE-3765] 2018-09-11 21:42:06 +03:00
CurtizJ
c1ed0bb86a add setting allow_ddl 2018-09-11 21:37:19 +03:00
Alexey Zatelepin
02a99145d6 add test for fetches of merged or mutated parts [#CLICKHOUSE-3937] 2018-09-11 19:41:01 +03:00
CurtizJ
4ac59b471a fix race while parallel create database 2018-09-11 17:33:06 +03:00
zhang2014
7af592d8e1 ISSUES-3059 fix nullable type argument for aggregate function 2018-09-11 19:33:14 +08:00
zhang2014
5834b42083 ISSUES-2560 fix crash when create temporary with in clause 2018-09-11 19:31:59 +08:00
alexey-milovidov
13c66e27c4
Merge pull request #3092 from 4ertus2/decimal
Decimal round functions [CLICKHOUSE-3765]
2018-09-10 22:37:05 +03:00
alexey-milovidov
4793e620be
Merge pull request #3093 from yandex/fix-columns-ordering
Fix columns ordering in MergeTreeRangeReader
2018-09-10 20:26:45 +03:00
Nikolai Kochetov
d7116dabfe Added test with prewhere and missing column. [#CLICKHOUSE-3975] 2018-09-10 18:52:50 +03:00
chertus
a89cbd0f88 countEqual test for Decimal [CLICKHOUSE-3765] 2018-09-10 17:46:26 +03:00
alexey-milovidov
20d5ddd58c
Merge branch 'master' into alter-update 2018-09-10 17:17:10 +03:00
alexey-milovidov
3054e62e00
Merge pull request #3089 from VadimPE/CLICKHOUSE-3839
CLICKHOUSE-3839 add virtual column "_partition_id"
2018-09-10 17:16:21 +03:00
chertus
9828813523 Decimal round functions [CLICKHOUSE-3765] 2018-09-10 16:52:18 +03:00
Vadim
48420078e7
Update 00709_virtual_column_partition_id.reference 2018-09-10 14:12:29 +03:00
alexey-milovidov
1d28a9c510
Merge pull request #3090 from yandex/fix_prewhere_with_sampling_2
Fix prewhere with sampling 2
2018-09-10 13:43:07 +03:00
VadimPE
cc50e810fc CLICKHOUSE-3839 add tests 2018-09-10 13:20:21 +03:00
Nikolai Kochetov
0f7b2ae748 Updated test with prewhere sampling. [#CLICKHOUSE-3972] 2018-09-10 13:14:09 +03:00
chertus
6846d33b88 test UUID toString() convertion issue-3081 2018-09-10 11:48:39 +03:00
Alexey Milovidov
9e6b310c2b Renamed test [#CLICKHOUSE-3888] 2018-09-10 07:12:03 +03:00
Alexey Milovidov
f798b29111 Added test [#CLICKHOUSE-3888] 2018-09-10 07:08:43 +03:00
Alexey Milovidov
bbe1074121 Every function in its own file, part 2 [#CLICKHOUSE-2] 2018-09-09 02:15:12 +03:00
alexey-milovidov
8dcf59389c
Merge pull request #3062 from CurtizJ/CLICKHOUSE-3723.3
Aggregate function states addition [CLICKHOUSE-3723]
2018-09-08 04:40:37 +03:00
alexey-milovidov
5d3a64ec46
Merge pull request #3077 from yandex/CLICKHOUSE-3800
CLICKHOUSE-3800: Improve cache of compiled expressions
2018-09-08 00:44:17 +03:00
alexey-milovidov
ef22af2e49
Merge pull request #2881 from zhang2014/feature/support_optimize_predicate_for_view
ISSUES-863 support optimize predicate for view
2018-09-08 00:43:13 +03:00
alexey-milovidov
f638c62914
Update 00705_aggregate_states_addition.sql 2018-09-08 00:40:26 +03:00
alexey-milovidov
603b31bdb6
Merge branch 'master' into CLICKHOUSE-3723.3 2018-09-08 00:39:34 +03:00
alexey-milovidov
0b6e85e51d
Merge pull request #3073 from yandex/fix_prewhere_with_sampling
Fix prewhere with sampling
2018-09-08 00:34:06 +03:00
alexey-milovidov
3b21cde9bb
Update 00714_alter_uuid.sql 2018-09-08 00:33:26 +03:00
alesapin
e815260363 CLICKHOUSE-3800: Improve cache and turn on compilation by default 2018-09-07 23:17:40 +03:00
chertus
ad77505137 implement CAST Strings to UUID [issue-3061] 2018-09-07 19:38:40 +03:00
Nikolai Kochetov
3d06fc4217 Added test with prewhere and sampling. [#CLICKHOUSE-3969] 2018-09-07 19:11:15 +03:00
Alexey Zatelepin
133c9c7c37 Merge branch 'master' into alter-update
Conflicts:
	docs/en/query_language/alter.md
2018-09-07 19:11:02 +03:00
Alexey Zatelepin
1064d1d26b update MATERIALIZED columns when their dependencies are updated [#CLICKHOUSE-13] 2018-09-07 18:54:18 +03:00
CurtizJ
7c2fef0c1a fix getting value from const column 2018-09-07 17:06:10 +03:00
CurtizJ
8fc1ddd646 fix arguments check 2018-09-07 15:36:56 +03:00
alesapin
e8438572ad CLICKHOUSE-3894: Fixes in tests 2018-09-07 14:51:51 +03:00
CurtizJ
a784b828ce Merge branch 'master' of https://github.com/yandex/ClickHouse into CLICKHOUSE-3723.3 2018-09-07 13:02:07 +03:00
Nikolai Kochetov
8200827723 Added test for prewhere with virtual column. [#CLICKHOUSE-3965] 2018-09-07 11:11:48 +03:00
Alexey Milovidov
cac07628b2 Added comment [#CLICKHOUSE-3939] 2018-09-07 04:49:26 +03:00
Alexey Milovidov
199d8734f9 Fixed race condition in DROP/CREATE MergeTree tables [#CLICKHOUSE-3939] 2018-09-07 04:39:48 +03:00
CurtizJ
e4a1ba728d better error code 2018-09-06 21:28:43 +03:00
alexey-milovidov
580683310b
Merge pull request #2990 from alesapin/master
CLICKHOUSE-3800: Add Cache for compiled expression.
2018-09-06 21:12:08 +03:00
alexey-milovidov
5057b15fab
Merge pull request #3047 from 4ertus2/decimal
Decimal improvements
2018-09-06 21:11:06 +03:00
CurtizJ
fb923dcbf5 aggregate function states addition 2018-09-06 20:59:23 +03:00
proller
d75e1f8a72 Merge remote-tracking branch 'upstream/master' into fix8 2018-09-06 18:58:19 +03:00
proller
255866304f
env TEST_RUN_STRESS=1 ctest -V (#3057) 2018-09-06 18:57:55 +03:00
proller
6829446ca9 fix 2018-09-06 18:44:54 +03:00
proller
51470db8c7 Fix test 2018-09-06 18:43:57 +03:00
proller
d45321a941 Add test 2018-09-06 18:31:28 +03:00
alesapin
b32e0c48af Merge branch 'master' of github.com:yandex/ClickHouse 2018-09-06 16:04:10 +03:00
alesapin
7f5b5ddb53 CLICKHOUSE-3894: Force recreate containers and increase timeouts 2018-09-06 16:03:42 +03:00
Alexey Zatelepin
8cf666e1b5 ALTER UPDATE tests [#CLICKHOUSE-13] 2018-09-06 13:49:36 +03:00
chertus
5bbfdc2208 supertypes for Decimals [CLICKHOUSE-3765] 2018-09-06 13:48:54 +03:00
Nikolai Kochetov
28bef7b7aa Added test. [#CLICKHOUSE-3965] 2018-09-06 12:46:23 +03:00
Alexander Sapin
03174e131d Merge remote-tracking branch 'upstream/master' 2018-09-06 12:39:42 +03:00
chertus
3bd586cad9 Merge branch 'master' into decimal 2018-09-06 11:57:46 +03:00
alexey-milovidov
0ca8e20e66
Merge pull request #2948 from CurtizJ/CLICKHOUSE-3893
CLICKHOUSE-3893 - Add modificator rollup.
2018-09-06 03:59:02 +03:00
alexey-milovidov
f77cd9950c
Merge pull request #3034 from CurtizJ/CLICKHOUSE-3723.2
CLICKHOUSE-3723 Multiply aggregate states. Fix and optimize #2527.
2018-09-06 03:49:07 +03:00
alexey-milovidov
e585ba54f9
Merge pull request #3048 from yandex/The-Alchemist-support_uuid_in_external_dicts
The alchemist support UUID in external dicts
2018-09-06 03:29:56 +03:00
alesapin
aa8562a2a5 Fix field name 2018-09-05 22:24:36 +03:00
proller
5877eece58 Internal compiler run fixes 2018-09-05 21:50:17 +03:00
alexey-milovidov
4032e4d22c
Merge pull request #3049 from yandex/fix-collapsing-vertical-merge
Fix collapsing vertical merge regression
2018-09-05 21:47:23 +03:00
alesapin
b25d1db424 Add reference 2018-09-05 21:34:50 +03:00
Alexey Zatelepin
d2a5c101f1 add test [#CLICKHOUSE-3963] 2018-09-05 20:24:30 +03:00
Alexey Milovidov
baff498849 Split one test to two #3029 2018-09-05 19:50:26 +03:00
alesapin
8b7d6ccd8c Small improvements 2018-09-05 19:20:12 +03:00
chertus
e0b1e9a1ca array functions for Decimal [CLICKHOUSE-3765CLICKHOUSE-3765] 2018-09-05 16:28:51 +03:00
CurtizJ
7ae4c1072b fix modifying source columns, add tests 2018-09-05 16:18:47 +03:00
alesapin
2647c13c6b CLICKHOUSE-3800: Fix naming, move compiled cache size setting to config.xml 2018-09-05 14:37:41 +03:00
Nikolai Kochetov
46d6c03569 Merge branch 'master' into fix-prewhere-with-aliases 2018-09-05 13:08:07 +03:00
CurtizJ
18da41afe3 Merge remote-tracking branch 'upstream/master' into CLICKHOUSE-3893 2018-09-05 12:49:02 +03:00
CurtizJ
a7bbf83c91 Revert "Revert "Merge branch 'master' into CLICKHOUSE-3893""
This reverts commit cdb2c8a770.
2018-09-05 12:47:57 +03:00
CurtizJ
cdb2c8a770 Revert "Merge branch 'master' into CLICKHOUSE-3893"
This reverts commit 0704da5756, reversing
changes made to 4534d449c1.
2018-09-05 12:45:57 +03:00
chertus
94997889c5 fix test 2018-09-05 01:17:01 +03:00
Alexey Milovidov
035c07d01e Fixed error with locking in InterpreterDropQuery [#CLICKHOUSE-3959] 2018-09-04 23:56:09 +03:00
chertus
e11f3ea5bc enable nullable for Decimal [CLICKHOUSE-3765] 2018-09-04 21:51:44 +03:00
Nikolai Kochetov
7bb92227cd Added test. [#CLICKHOUSE-3944] 2018-09-04 21:38:13 +03:00
chertus
1ea6bc9691 decimal_check_overflow [CLICKHOUSE-3765] 2018-09-04 18:04:23 +03:00
alexey-milovidov
939949730d
Merge pull request #3030 from yandex/fix-internal-compiler
Attempt to fix internal compiler [#CLICKHOUSE-2]
2018-09-04 17:05:56 +03:00
Vadim
2dd0c4c594
Merge pull request #3032 from yandex/amosbird_window_funnel
[FIX TESTS] Support events qualified for multiple conditions in Window Funnel
2018-09-04 14:32:58 +03:00
VadimPE
9a28e90af7 Fixed tests 2018-09-04 13:15:34 +03:00
Alexey Milovidov
0df0099255 Fixed test #3030 2018-09-03 21:29:34 +03:00
alexey-milovidov
604c64f40d
Merge pull request #3024 from 4ertus2/nan
hotfix for NaN comparison [CLICKHOUSE-3760]
2018-09-03 21:11:20 +03:00
Alexey Milovidov
8fae37f5c7 Removed wrong code from StorageSystemColumns #2447 2018-09-03 21:04:29 +03:00
alesapin
7596a75143 CLICKHOUSE-3894: Remove redundant code 2018-09-03 18:29:25 +03:00
alesapin
3551c01612 CLICKHOUSE-3894: Save localhost record 2018-09-03 18:26:11 +03:00
alesapin
ee8a8d82af CLICKHOUSE-3894: Remove retry and add sleep 2018-09-03 18:02:24 +03:00
alesapin
3719558bf7 CLICKHOUSE-3894: Some improvements in flapping tests. Bug fix of ATTACH TABLE xxx ON CLUSTER (previously doesn't work). 2018-09-03 17:06:00 +03:00
chertus
522674d37f fix for NaN comparison [CLICKHOUSE-3760] 2018-09-03 16:34:16 +03:00
VadimPE
cc04ffbda1 Merge branch 'astudnev-cum_sum_limit2' of https://github.com/yandex/ClickHouse into astudnev-cum_sum_limit2 2018-09-03 13:53:19 +03:00
VadimPE
3b38879b11 fix bug with CumSum and fix style 2018-09-03 13:52:44 +03:00
alesapin
83574eed7c Merge remote-tracking branch 'upstream/master' 2018-09-03 13:11:33 +03:00
alesapin
11d248ba10 Resolve conflict 2018-09-03 13:11:10 +03:00
alexey-milovidov
72c799ad76
Merge pull request #3008 from 4ertus2/decimal
even more Decimal
2018-09-03 07:19:33 +03:00
VadimPE
003ce833d1 Merge branch 'master' of https://github.com/amosbird/ClickHouse into amosbird_window_funnel 2018-09-02 17:49:59 +03:00
alexey-milovidov
64b48b5fcf
Merge pull request #2907 from zhang2014/feature/support_join_for_table_function
ISSUES-2906 support join for table function
2018-09-01 20:49:49 +03:00
alexey-milovidov
087570e6ac
Merge pull request #2974 from zhang2014/fix/nested_json_for_visitRaw
ISSUES-2973 support nested json struct for visitParamExtractRaw
2018-09-01 20:47:42 +03:00
alexey-milovidov
889e060993
Merge pull request #3006 from VadimPE/CLICKHOUSE-1660
CLICKHOUSE-1660 Added duplicated columns removal in USING(...)
2018-09-01 20:43:54 +03:00
alexey-milovidov
15bf642a00
Update 00702_join_with_using.sql 2018-09-01 20:43:47 +03:00
Vadim
c847815ad4
Update 00704_arrayCumSumLimited_arrayDifference.reference 2018-08-31 17:06:55 +03:00
VadimPE
f8f71f7327 add tests 2018-08-31 16:28:35 +03:00
chertus
ca91c93adf disable Nullable(Decimal) [CLICKHOUSE-3905] 2018-08-31 14:59:33 +03:00
chertus
4cf8f174da some tests [CLICKHOUSE-3905] 2018-08-31 14:19:19 +03:00
VadimPE
910bb20ccf CLICKHOUSE-1660 add test 2018-08-31 13:30:57 +03:00
chertus
d0f452f6d9 some tests [CLICKHOUSE-3905] 2018-08-31 12:25:49 +03:00
chertus
845db9b46e CAST for decimal [CLICKHOUSE-3905] 2018-08-31 11:59:21 +03:00
zhang2014
a1f2b9ae0c ISSUES-2973 support nested json struct for visitParamExtractRaw 2018-08-31 15:25:28 +08:00
alesapin
711b228a30 Merge remote-tracking branch 'upstream/master' 2018-08-31 10:15:33 +03:00
Alexey Milovidov
bee164f1a0 Added test [#CLICKHOUSE-2] 2018-08-31 02:55:34 +03:00
Alexey Milovidov
9acb770c23 Added a test to clearly illustrate the difference between arrayEnumerateUniq and arrayEnumerateDense #2975 2018-08-30 23:43:08 +03:00
alexey-milovidov
46a38b72b9
Merge pull request #2975 from amosbird/dense
Extending arrayEnumerateUniq.
2018-08-30 23:26:31 +03:00
alesapin
6bfde2825e Fix conflict 2018-08-30 22:23:00 +03:00
proller
81960a2690 CLICKHOUSE-3940 Fix crash on join 2018-08-30 18:44:30 +03:00
alexey-milovidov
b05c62be9f
Merge pull request #2994 from CurtizJ/CLICKHOUSE-3935
ClickHouse-3935  Fix bug with qualified columns in where clause
2018-08-30 15:01:47 +03:00
alexey-milovidov
992aee9c2c
Update 00702_where_with_quailified_names.sql 2018-08-30 15:01:34 +03:00
CurtizJ
c818683ce7 update test 2018-08-30 14:48:58 +03:00
alexey-milovidov
ba3a20073c
Merge pull request #2988 from VadimPE/test_recovery_replica
add integration test for recovery replica
2018-08-30 14:20:10 +03:00
chertus
409562a397 decimal: add test for input/output formats CLICKHOUSE-3765 2018-08-30 14:17:02 +03:00
CurtizJ
764aa70d04 fix bug with quailified columns in where clause 2018-08-30 01:09:04 +03:00
CurtizJ
b43d403815 Revert "fix bug with quailified columns in where clause"
This reverts commit e007fd2b9e.
2018-08-30 01:04:45 +03:00
proller
56e571f18d odbc-bridge fixes (#2993)
* start clickhouse odbc-bridge as clickhouse-odbc-bridge

* fix

* prepare to odbc bridge tests
2018-08-30 00:32:46 +03:00
proller
0f16160cb7 stderr.log fixes 2018-08-29 22:52:04 +03:00
CurtizJ
e007fd2b9e fix bug with quailified columns in where clause 2018-08-29 22:45:29 +03:00
proller
4529f33457 Fix clickhouse-test-server
rename /var/log/clickhouse-server/stderr to stderr.log and stdout to stdout.log
2018-08-29 21:48:14 +03:00
chertus
29d8d07975 decimal improvements [CLICKHOUSE-3765] 2018-08-29 21:47:19 +03:00
alexey-milovidov
794b4d30a8
Merge pull request #2989 from yandex/fix-context-lifetime-try-2-quick
Fix lifetime of Context reference in functions (first quick variant) …
2018-08-29 21:32:48 +03:00
alexey-milovidov
07408490b6
Merge pull request #2982 from VadimPE/CLICKHOUSE-3934
CLICKHOUSE-3934 add join_default_strictness
2018-08-29 21:32:03 +03:00
alesapin
d2a5efb11b CLICKHOUSE-3800: Add perf test 2018-08-29 20:49:43 +03:00
Vadim
59e494a78d
Update 00701_join_default_strictness.reference 2018-08-29 19:48:09 +03:00
Vadim
b0f66d15d2
Update 00701_join_default_strictness.sql 2018-08-29 19:42:45 +03:00
Alexey Milovidov
48db3d4df8 Added test #2989 2018-08-29 19:27:29 +03:00
VadimPE
5c370143c4 CLICKHOUSE-3847 fix time for cleanupthread and sleep() 2018-08-29 17:13:20 +03:00
VadimPE
a90a9af818 CLICKHOUSE-3847 fix time for cleanup_delay_period 2018-08-29 17:03:39 +03:00
VadimPE
8c10c11804 CLICLKHOUSE-3847 add test 2018-08-29 16:47:48 +03:00
VadimPE
a569d88e6a CLICKHOUSE-3847 add test 2018-08-29 13:04:41 +03:00
zhang2014
f921c9c169 ISSUES-863 support optimize predicate for view 2018-08-29 13:29:03 +08:00
proller
e30d93a0f2 Better debug helpers (#2983)
* Better debug helpers

* fix
2018-08-29 03:03:07 +03:00
Vadim
2bab5f941d
Update 00701_join_default_strictness.sql 2018-08-28 17:58:08 +03:00
Vadim
6a3d398a26
Update 00701_join_default_strictness.reference 2018-08-28 17:57:44 +03:00
VadimPE
139f855230 CLICKHOUSE-3934 add tests 2018-08-28 17:26:12 +03:00
proller
c219562b32 Better clickhouse-test-server 2018-08-28 14:57:35 +03:00
Amos Bird
a4dfe0ae38 Extending arrayEnumerateUniq.
https://github.com/yandex/ClickHouse/issues/2934
2018-08-28 15:31:25 +08:00
zhang2014
16404c8e7b ISSUES-2973 support nested json struct for visitParamExtractRaw 2018-08-28 13:45:21 +08:00
proller
cc86cb503e clickhouse-test-server with temporary data dir 2018-08-27 21:32:50 +03:00
alexey-milovidov
98148d914c
Merge pull request #2958 from blahgeek/skip-json-object
Skip object fields on json input
2018-08-27 20:07:32 +03:00
alexey-milovidov
95b2bcbc6b
Merge pull request #2970 from 4ertus2/decimal
Some more Decimal
2018-08-27 19:59:26 +03:00
CurtizJ
0e28195e7a update syntax and test 2018-08-27 19:43:29 +03:00
chertus
ee873c8e9f Merge branch 'master' into decimal 2018-08-27 19:18:48 +03:00
chertus
c86f2878ff add special ColumnDecimal instead of ColumnVector<DecimalNN> CLICKHOUSE-3765 2018-08-27 19:16:16 +03:00
alesapin
1f0f1ecad3 CLICKHOUSE-3894: Fix Kafka test 2018-08-27 19:15:39 +03:00
alesapin
716c8016d7 CLICKHOUSE-3894: Print stack trace 2018-08-27 17:45:37 +03:00
alesapin
06d091580d CLICKHOUSE-3894: Increase MySQL timeout and add logging 2018-08-27 17:43:59 +03:00
alesapin
570343fdb3 CLICKHOUSE-3894: Wait zookeeper before clickhouse start 2018-08-27 16:42:39 +03:00
alesapin
d5dd32f4fe CLICKHOUSE-3894: Fix test_config_substs test 2018-08-27 14:40:01 +03:00
BlahGeek
739119d355 skip object fields on json input 2018-08-27 12:01:47 +08:00
Alexey Milovidov
aa936b09f9 Added check for max_block_size = 0 #2447 2018-08-25 19:32:44 +03:00
Alexey Milovidov
9c79c5f8ab Added test #2447 2018-08-25 19:26:55 +03:00
CurtizJ
bdedf1df63 Add test 2018-08-24 20:34:56 +03:00
chertus
53ec40eeee some decimal field improvements CLICKHOUSE-3765 2018-08-24 19:35:00 +03:00
alexey-milovidov
3466277b0a
Merge pull request #2940 from yandex/better-exception-message-in-case-of-wrong-number-of-arguments-for-function-if
Better exception message in case of wrong number of arguments for function "if" [#CLICKHOUSE-3932]
2018-08-24 15:31:22 +03:00
alesapin
935ae2421b
Merge pull request #2943 from alesapin/master
Remove strange parameter and add version from env to all calls
2018-08-24 14:20:28 +03:00
chertus
54a3c028c5 Merge branch 'master' into decimal 2018-08-24 14:19:41 +03:00
alesapin
ec594ad8e8 Remove strange parameter and add version from env to all calls 2018-08-24 14:19:06 +03:00
Alexey Milovidov
9f6073b562 Fixed test #2940 2018-08-24 14:09:20 +03:00
alexey-milovidov
eab95e43d1
Merge pull request #2938 from yandex/speed-up-fuzz-tests-2
Speed up fuzz tests, part 2 #2924
2018-08-24 14:07:35 +03:00
alesapin
7722b3caa1
Merge pull request #2941 from alesapin/master
CLICKHOUSE-3894: Custom api version
2018-08-24 13:35:30 +03:00
alesapin
5849f4b9cb CLICKHOUSE-3894: Custom api version 2018-08-24 13:31:19 +03:00
Alexey Milovidov
eee6644a22 Better exception message in case of wrong number of arguments for function "if" [#CLICKHOUSE-3932] 2018-08-24 12:57:42 +03:00
Alexey Milovidov
2febf6af4f Fixed tests #2938 2018-08-24 12:47:47 +03:00
Alexey Milovidov
030570f6d5 Renamed tests that are not long anymore #2924 2018-08-24 11:01:00 +03:00
Alexey Milovidov
bc799904ad Speed up long tests #2938 2018-08-24 10:53:24 +03:00
zhang2014
83ceeca199 ISSUES-2906 support join for table function 2018-08-24 14:45:24 +08:00
alexey-milovidov
5637b30556
Merge pull request #2929 from zhang2014/fix/support_asterisk_for_predcate_optimize
ISSUES-863 fix predicate not work for asterisk
2018-08-24 08:53:04 +03:00
zhang2014
bf517d5523 ISSUES-863 fix failure tests 2018-08-24 12:11:32 +08:00
alexey-milovidov
8f686525d8
Merge pull request #2937 from yandex/fix-array-distinct
Fixed arrayDistinct function [#CLICKHOUSE-3928]
2018-08-24 06:26:40 +03:00
Alexey Milovidov
a55b9623c5 Fixed arrayDistinct function [#CLICKHOUSE-3928] 2018-08-24 05:54:02 +03:00
zhang2014
32cc611f5d ISSUES-863 fix predicate optimizer not work for asterisk 2018-08-24 10:05:43 +08:00
Alexey Milovidov
f08b271d5b Merge branch 'master' into remove-useless-option-in-clickhouse-local 2018-08-24 02:42:45 +03:00
alexey-milovidov
e1e6e316d9
Merge pull request #2930 from yandex/fix-empty-parts-vertical-merge
Fix vertical merge of empty parts
2018-08-24 01:47:11 +03:00
alesapin
aae6967304 CLICKHOUSE-3894: Remove default from get 2018-08-23 18:38:25 +03:00
alesapin
762ffa1454 CLICKHOUSE-3894: Small impovements in integration tests framework 2018-08-23 18:31:20 +03:00
Alexey Zatelepin
cc2f10c1cc add test for vertical merge of empty parts [#CLICKHOUSE-3913] 2018-08-23 15:15:30 +03:00
Amos Bird
f422a15ae1 Support events qualified for multiple conditions.
Currently windowFunnel function only take the first qualified condition
into account when operating on one event. This patch extends the
ability.
2018-08-23 18:30:50 +08:00
Alexey Milovidov
814d227321 Fixed test [#CLICKHOUSE-2] 2018-08-23 04:35:46 +03:00
Alexey Milovidov
b9778a3764 Speed up fuzz tests [#CLICKHOUSE-2] 2018-08-23 04:31:28 +03:00
Alexey Milovidov
d95e2be344 Updated test #2887 2018-08-23 04:05:04 +03:00
Alexey Milovidov
d372430193 Split long running tests [#CLICKHOUSE-2] 2018-08-23 04:01:25 +03:00
Alexey Milovidov
18857ed428 Increased passing for "00614_shard_same_header_for_local_and_remote_node_in_distributed_query" [#CLICKHOUSE-2] 2018-08-23 03:19:41 +03:00
Alexey Milovidov
61f3c4f0d1 Removed useless option --silent from the clickhouse-local, because it was implemented not according to the specs and the options --silent, --verbose, --echo was messed up #1773 2018-08-23 03:14:26 +03:00
Alexey Milovidov
0c129ab7f4 More descriptive error message in test [#CLICKHOUSE-2] 2018-08-23 02:54:33 +03:00
alexey-milovidov
5c1925af58
Merge pull request #2920 from VadimPE/CLICKHOUSE-3819
CLICKHOUSE-3819 add CASE without ELSE
2018-08-22 22:52:24 +03:00
alexey-milovidov
aaf218dab8
Merge pull request #2919 from yandex/low-cardinality-fix-partial-granule-reading
Low cardinality fix partial granule reading
2018-08-22 22:48:42 +03:00
alexey-milovidov
4f7b8fdbd9
Update 00688_case_without_else.reference 2018-08-22 22:23:13 +03:00
alexey-milovidov
0265cca018
Merge pull request #2921 from alesapin/master
Finally create test with odbc drivers
2018-08-22 22:19:07 +03:00
VadimPE
ee61c87fef CLICKHOUSE-3819 fix tests 2018-08-22 21:40:08 +03:00
chertus
c61ccc4dfe toDecimal128() CLICKHOUSE-3905 2018-08-22 20:26:11 +03:00
chertus
fd6a8142b7 rename toDecimal functions CLICKHOUSE-3905 2018-08-22 19:16:39 +03:00
alesapin
a6ca534a37 CLICKHOUSE-3878: Remove empty lines 2018-08-22 19:16:12 +03:00
alesapin
8163fd2b21 CLICKHOUSE-3878: Slightly improve test 2018-08-22 19:14:51 +03:00
alesapin
4d919759bf CLICKHOUSE-3878: Remove local path 2018-08-22 18:56:04 +03:00
alesapin
e2f18da1a9 CLICKHOUSE-3878: Add ODBC test 2018-08-22 18:42:27 +03:00
chertus
4d89caf422 fix decimal-arithm test (on clang build) CLICKHOUSE-3765 2018-08-22 18:41:21 +03:00
VadimPE
9e485dae1e CLICKHOUSE-3819 add CASE without ELSE 2018-08-22 18:17:40 +03:00
chertus
81010e74cb disable Decimal128 overflow tests (not working on cmake builds) CLICKHOUSE-3765 2018-08-22 18:15:15 +03:00
chertus
1eb45b94d2 fix test CLICKHOUSE-3765 2018-08-22 17:10:27 +03:00
chertus
314dcc5e9e add two options to disable Decimal overflow checks CLICKHOUSE-3906 2018-08-22 16:22:56 +03:00
Nikolai Kochetov
409d68b8c0 Added test for low cardinality with prewhere. #2896 2018-08-22 15:49:12 +03:00
Alexey Zatelepin
19ec609d36 add failing tests with materialized columns #2900 [#CLICKHOUSE-3911] 2018-08-22 15:42:18 +03:00
chertus
eac6dd1c99 Merge branch 'master' into decimal 2018-08-21 21:55:36 +03:00
chertus
1e97f9e549 toDecimalN() functions CLICKHOUSE-3905 2018-08-21 21:25:38 +03:00
alexey-milovidov
edd37cf617
Merge pull request #2910 from yandex/fix-point-in-poligon
Fix point in poligon
2018-08-21 19:17:30 +03:00
Nikolai Kochetov
04a91a79a9 Added test for low cardinality deserialization. #2896 2018-08-21 17:05:57 +03:00
Nikolai Kochetov
c27bade22b Added test for pointInPolygon #2866 2018-08-21 14:33:31 +03:00
Alexey Milovidov
2aa7eb463a Fixed test #2888 2018-08-21 08:03:35 +03:00
Alexey Milovidov
0a7638fc9f Added test #2897 2018-08-20 22:24:39 +03:00
Alexey Milovidov
37a49a5898 Added test #2888 2018-08-20 19:20:58 +03:00
alexey-milovidov
934d480a7a
Merge pull request #2894 from yandex/fix-catboost-pool-path-normalization
Fix catboost pool path normalization
2018-08-20 17:16:09 +03:00
Nikolai Kochetov
391b4b5927 Merged with master. 2018-08-20 15:25:06 +03:00
Nikolai Kochetov
8d8c399f95 Added for catboost pool [#CLICKHOUSE-3871] 2018-08-20 14:51:14 +03:00
alexey-milovidov
bce94dae9b
Merge pull request #2887 from housepower/retention
Add AggregateFunctionRetention
2018-08-20 09:38:43 +03:00
Alexey Milovidov
79fb33d14f Fixed test #2015 2018-08-20 06:28:21 +03:00
Alexey Milovidov
b07ad553ef Fixed test #2015 2018-08-20 06:27:16 +03:00
Alexey Milovidov
40a0551d85 Client --testmode cannot be used to catch exceptions thrown from query parser #2840 2018-08-19 23:41:45 +03:00
Alexey Milovidov
1802b00c0b Fixed bad arithmetic; miscellaneous #2482 2018-08-19 07:25:53 +03:00
sundy-li
63d74978d8 add AggregateFunctionRetention 2018-08-18 20:39:07 +08:00
Alexey Milovidov
76af46ed5d Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
Conflicts:
	dbms/src/Interpreters/Settings.h
	dbms/tests/queries/0_stateless/00687_top_and_offset.sql
2018-08-16 00:44:24 +03:00
zhang2014
1549baa4e9 ISSUES-863 fix test failure #2015 #2840 2018-08-15 13:43:44 +08:00
Alexey Milovidov
ab2213442d Miscellaneous #2482 2018-08-15 01:01:41 +03:00
Alexey Milovidov
9916a75f2e Merging #2482 2018-08-15 00:35:26 +03:00
alexey-milovidov
ce9c6a5ab3
Merge branch 'master' into feature/ISSUES-863 2018-08-15 00:34:23 +03:00
Alexey Milovidov
c80db48a6e Merging #2482 2018-08-15 00:32:49 +03:00
alexey-milovidov
8586e6bb2e
Merge pull request #2787 from zhang2014/fix/replace_asterisk
ISSUES-2786 fix replace asterisk with join query
2018-08-15 00:28:35 +03:00
Alexey Milovidov
c72482528c Merging #2482 2018-08-15 00:18:14 +03:00
alexey-milovidov
e7b671ec98
Merge branch 'master' into feature/ISSUES-863 2018-08-15 00:10:21 +03:00
Alexey Milovidov
acb99b49df Merge branch 'master' into CLICKHOUSE-2910 2018-08-14 23:29:42 +03:00
alexey-milovidov
c376b2d476
Merge pull request #2869 from yandex/low-cardinality-fixes
LowCardinality fixes
2018-08-14 22:36:19 +03:00
Nikolai Kochetov
2953be89a4 Merge branch 'master' of github.com:yandex/ClickHouse 2018-08-14 21:00:41 +03:00
Nikolai Kochetov
fce3bc193b Updated test for JOIN ON syntax. [#CLICKHOUSE-3761] 2018-08-14 21:00:17 +03:00
Nikolai Kochetov
2f0f7eacbf Updated test. [#CLICKHOUSE-3621] 2018-08-14 20:19:55 +03:00
chertus
8c54b480bc minor fix 2018-08-14 16:26:23 +03:00
chertus
74823c8c17 add allow_experimental_decimal to settings 2018-08-14 15:51:45 +03:00
chertus
241b05c80a merge master 2018-08-14 15:50:28 +03:00
alexey-milovidov
6b3375393d
Merge pull request #2840 from VadimPE/CLICKHOUSE-3211
CLICKHOUSE-3211 add TOP m, and OFFSET k
2018-08-14 12:55:12 +03:00
alexey-milovidov
f42bd36fa0
Merge pull request #2856 from zhang2014/feature/add_check_access_database_for_system_tables
Add check access database for system tables
2018-08-14 12:53:43 +03:00
Vadim
077ed3a61b
Update 00687_top_and_offset.sql 2018-08-14 12:12:38 +03:00
Vadim
f6d6c4b8f7
Update 00687_top_and_offset.sql 2018-08-14 12:09:25 +03:00
zhang2014
e51264c3a5 Add check access database for system tables 2018-08-14 11:28:32 +08:00
alexey-milovidov
3e9f25b1b4
Merge pull request #2830 from yandex/data-type-with-dictionary
LowCardinality data type.
2018-08-13 23:49:21 +03:00
Nikolai Kochetov
df73ef1ba5 Fix tests. 2018-08-13 22:43:26 +03:00
alexey-milovidov
c19213c6e7
Merge pull request #2845 from yandex/fix-arrayDistinct
fix arrayDistinct
2018-08-13 19:46:53 +03:00
alesapin
88f1346be4
Merge pull request #2860 from alesapin/fix_test
Fix 00606_quantiles_and_nans test
2018-08-13 18:59:11 +03:00
alesapin
808068526b Fix 00606_quantiles_and_nans test 2018-08-13 18:03:53 +03:00
alesapin
d6fbf23e9d Fix 00606_quantiles_and_nans test 2018-08-13 18:02:23 +03:00
Vadim
4e0e500e15
Update 00687_top_and_offset.sql 2018-08-13 13:49:00 +03:00
Vadim
b9b6818325
Merge branch 'master' into CLICKHOUSE-3211 2018-08-13 13:48:44 +03:00
Vadim
ed97f7e475
Update 00687_top_and_offset.sql 2018-08-13 13:47:38 +03:00
sundy-li
4b9a1390ff add quantile tests 2018-08-13 17:28:49 +08:00
alexey-milovidov
f538bd2113
Merge branch 'master' into decimal 2018-08-13 11:57:42 +03:00
VadimPE
a2b1100a82 add tests 2018-08-13 11:52:56 +03:00
zhang2014
741abc2644 ISSUES-2803 add query test #2803 2018-08-13 11:02:50 +08:00
zhang2014
d7cd77640d ISSUES-2786 fix replace asterisk with join query 2018-08-13 11:01:55 +08:00
zhang2014
d766d4b014 ISSUES-2850 add dependencies for system tables 2018-08-12 16:05:12 +08:00
zhang2014
dd10e85e90 ISSUES-2850 add dependencies for system tables 2018-08-11 17:35:29 +08:00
proller
3af99efd65 CLICKHOUSE-3530: Versioned inetrnal compiler headers (#2837) 2018-08-10 22:53:49 +03:00
chertus
01c8b1d7bb decimal field extraction (from column or type) 2018-08-10 17:57:55 +03:00
Nikolai Kochetov
4a62ab9d5c Merged with master. 2018-08-10 16:53:08 +03:00
VadimPE
6e461213bb CLICKHOUSE-3211 add tests 2018-08-10 14:27:55 +03:00
Alexey Milovidov
29e40f0087 Fixed potential error #2832 2018-08-10 04:31:55 +03:00
Anton Popov
c019d732c5 ClickHouse 3419 Add setting prefer_localhost_replica (#2832)
* add setting prefer_localhost_replica

* add prefer_localhost_replica setting

* fix bugs

* update setting comment

* Add test for prefer_localhost_replica

* fix bug
2018-08-10 04:27:54 +03:00
chertus
479166283e DecField (in progress) 2018-08-09 19:32:01 +03:00
chertus
cc033803d1 decimale Dec128 arithm overflow 2018-08-09 15:24:03 +03:00
Nikolai Kochetov
2099d8b7e8 Fixed DataTypeWithDictionary serialization. 2018-08-09 13:52:58 +03:00
Nikolai Kochetov
dc828d462c Added test for LowCardinality defaults 2018-08-09 13:52:45 +03:00
chertus
c45b5d9f9a decimal arithm overflow (except dec128) 2018-08-08 23:15:49 +03:00
Nikolai Kochetov
f1c05a2192 Added test with LowCardinality strings serialization. 2018-08-08 18:28:19 +03:00
Nikolai Kochetov
95c64aa5a9 Added test for LowCardinality and WithDictionary. 2018-08-08 17:42:04 +03:00
chertus
5f93ab73fa decimal compare overflow 2018-08-08 16:57:16 +03:00
Alexey Milovidov
4ae1830f78 Updated instruction [#CLICKHOUSE-2] 2018-08-08 07:14:53 +03:00
Alexey Milovidov
1e316e9229 Fixed error #2795 2018-08-08 07:14:53 +03:00
Alexey Milovidov
e0dc0ccaff Removed misleading message [#CLICKHOUSE-2] 2018-08-08 06:03:26 +03:00
Alexey Milovidov
1082619320 Added test #2813 2018-08-08 03:10:01 +03:00
Alexey Milovidov
e99a24c12c Fixed test #2813 2018-08-08 03:07:40 +03:00
alexey-milovidov
b1d70c125f Update 00685_output_format_json_escape_forward_slashes.sql 2018-08-08 02:35:32 +03:00
Alex Bocharov
e8d4654419 Remove FormatSettings default value for writeJSONString and add tests for output_format_json_escape_forward_slashes. 2018-08-08 02:35:32 +03:00
Alexey Milovidov
d1a548638f Imported stateful tests (without data) [#CLICKHOUSE-3] 2018-08-07 20:10:03 +03:00
Alexey Milovidov
3021852383 Imported stateful tests (without data) [#CLICKHOUSE-3] 2018-08-07 20:08:51 +03:00
chertus
cae97b1e59 abs for decimal 2018-08-07 17:35:21 +03:00
chertus
7984b4f91d negate for dec128 2018-08-07 17:12:24 +03:00
alexey-milovidov
1d7e4a439c
Merge pull request #2791 from CurtizJ/CLICKHOUSE-3785
CLICKHOUSE-3785 add murmurHash3, update FunctionStringHash template.
2018-08-07 00:21:43 +03:00
Anton Popov
0d5c3b7967
Update 00678_murmurhash.sql 2018-08-06 23:53:28 +03:00
Anton Popov
0f2aceba02
Update 00678_murmurhash.reference 2018-08-06 23:52:56 +03:00
Alexey Milovidov
705cce48f0 Removed misleading comment [#CLICKHOUSE-3] 2018-08-06 23:07:50 +03:00
alexey-milovidov
72af99fdd5
Merge pull request #2814 from alesapin/master
Fix REPLACE PARTITION logic inside replicated merge tree
2018-08-06 20:18:30 +03:00
Alexey Zatelepin
6d7c1cfaa4 add test that empty parts correctly merge to an empty part [#CLICKHOUSE-3879] 2018-08-06 19:54:00 +03:00
Alexey Zatelepin
1f2d4f90b9 allow empty parts after merge for Summing, Collapsing and VersionedCollapsing engines [#CLICKHOUSE-3879] 2018-08-06 19:54:00 +03:00
chertus
b700d7c7db minor changes 2018-08-06 16:48:40 +03:00
alesapin
134da31177 CLICKHOUSE-3880: Fix comment 2018-08-06 16:18:52 +03:00
alesapin
425918afe1 CLICKHOUSE-3880: Fix replace partition logic inside replicated merge tree 2018-08-06 15:59:51 +03:00
chertus
c590a74981 Merge branch 'master' into decimal 2018-08-06 13:38:18 +03:00