Commit Graph

2287 Commits

Author SHA1 Message Date
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
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
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