proller
2db34a606a
clean
2017-10-03 22:12:44 +03:00
proller
097357799d
Tests: --random option; set some env variables for .sh tests
2017-10-03 21:31:32 +03:00
Vitaliy Lyudvichenko
97277ed691
Return 411 code in case of empty body without Content-Length head. [#CLICKHOUSE-3333]
2017-09-30 14:06:50 +03:00
proller
d469e5eddd
Fix no-shard tests
2017-09-26 23:55:22 +03:00
proller
c46ce859a1
Fix tests on clean storage
2017-09-26 23:37:03 +03:00
Alexey Zatelepin
4160bcfdf5
add custom partitioning tests [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
ceddecbc10
implement missing getExtremes() functions [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Nikolai Kochetov
937d3f3883
added test [#CLICKHOUSE-3339]
2017-09-26 20:34:48 +03:00
Nikolai Kochetov
c8dc25815f
fixed pointinPolygon test, clang build
2017-09-26 19:07:00 +03:00
Vitaliy Lyudvichenko
9d3f28f52d
Fix an error for POST queries with empty body. [#CLICKHOUSE-3333]
2017-09-24 02:38:12 +03:00
Nikolai Kochetov
9a19cdb617
added test
2017-09-24 02:16:30 +03:00
Vitaliy Lyudvichenko
7ee2c52328
Use clickhouse extract-from-config intead of clickhouse --extract-from-config and so on. [#CLICKHOUSE-2928]
2017-09-24 02:15:56 +03:00
Alexey Milovidov
ac2b615890
Fixed test on Ubuntu Precise [#CLICKHOUSE-2].
2017-09-20 20:14:45 +03:00
Alexey Milovidov
045675be20
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-20 19:32:07 +03:00
Alexey Milovidov
3d219b220b
Fixed test [#CLICKHOUSE-3].
2017-09-20 19:31:44 +03:00
KochetovNicolai
e0efb7e8c1
Point in polygon ( #1264 )
...
* added FunctionPointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added test for PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added test for PointInPolygonWithGrid with holes [#CLICKHOUSE-3201]
* added arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added test for arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fixed shifted grid for PointInPolygonWithGrid, added test [CLICKHOUSE-3201]
* expand box for complex polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fix expand box for complex polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added pool to PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* changed FunctionPointInPolygonWithGrid signature [#CLICKHOUSE-3201]
* changed FunctionPointInPolygonWithGrid signature [#CLICKHOUSE-3201]
* fixed test [#CLICKHOUSE-3201]
* unified signature for PointInPolygon [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* supported Float64 for pointInPolygon [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fixed check for numeric tuple in PointInPolygon function [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* added profile events polygons pool [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* Update FunctionsGeo.cpp
2017-09-20 05:30:44 +03:00
Alex Bocharov
e99c969a1c
Aggregate function sumMap: improve insertResultInto method and change return type to Tuple(Array(K), Array(V)).
2017-09-19 13:35:25 +01:00
alexey-milovidov
edb66bfffe
Merge branch 'master' into master
2017-09-18 10:31:31 +03:00
Alexey Milovidov
565902fc4d
Added comment; fixed test [#CLICKHOUSE-2].
2017-09-17 20:58:30 +03:00
Alex Bocharov
591cd5c009
Add new aggregate function sumMap(key, value).
2017-09-15 12:14:19 +01:00
Vitaliy Lyudvichenko
826c354ff5
Fixed merges progress bar. [#CLICKHOUSE-2]
2017-09-15 01:04:13 +03:00
Nikolai Kochetov
c14263a9fa
added test
2017-09-13 22:33:47 +03:00
proller
8a7e604a2a
Tests fixes ( #1238 )
...
* Tests: catch xml internal error
* Tests fixes
2017-09-13 21:08:38 +03:00
proller
be4deb7979
Fix test order ( #1209 )
...
* Again fix test 00501_http_head
* Better test reverse
* Fix test reverse sort
* Update clickhouse-test
2017-09-07 00:04:23 +03:00
proller
b538df661a
Again fix test 00501_http_head
2017-09-06 22:07:22 +03:00
proller
7e46044474
Fix test 00501_http_head
2017-09-06 18:20:15 +03:00
proller
44b44a13d2
Fix http_head test ( #1203 )
...
* Fix http_head test
* Longer timeout
2017-09-05 21:53:28 +03:00
Alexey Milovidov
cb2c09020c
Fixed tests [#CLICKHOUSE-2838].
2017-09-05 03:28:30 +03:00
Alexey Milovidov
4f7a3a7832
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-09-05 03:11:18 +03:00
Alexey Milovidov
96061a9053
Temporarily removed test for incomplete modification [#CLICKHOUSE-2].
2017-09-05 00:35:28 +03:00
alexey-milovidov
d1f1c59ef3
Merge pull request #1188 from proller/fix3
...
Segmentation fault on HEAD HTTP query #912
2017-09-04 20:10:18 +03:00
Vladimir Chebotarev
e39fb48377
functions: pointInPolygon(). [#CLICKHOUSE-3201]
2017-09-04 17:26:28 +03:00
proller
f3cb0ad7e8
Merge remote-tracking branch 'upstream/master' into fix3
2017-09-04 14:12:51 +03:00
Alexey Milovidov
4d97959e57
Merge branch 'master' into unify-data-types-that-serialized-with-multiple-streams
2017-09-04 04:11:00 +03:00
Alexey Milovidov
b6a533adef
Added test [#CLICKHOUSE-3270].
2017-09-02 01:00:25 +03:00
proller
863fd72c8a
Segmentation fault on HEAD HTTP query #912
2017-09-02 00:46:12 +03:00
alexey-milovidov
775d95888a
Merge pull request #1163 from yandex/CLICKHOUSE-2931
...
Introduce SYSTEM queries
2017-09-01 20:45:29 +03:00
alexey-milovidov
897a9ad6b2
Merge pull request #1146 from yandex/array-functions-concat-slice-push-pop
...
Array functions concat slice push pop
2017-09-01 20:30:51 +03:00
Vitaliy Lyudvichenko
c32bf4f597
Use only one cache in DNSCache. Add requested changes. [#CLICKHOUSE-2931]
2017-09-01 20:05:24 +03:00
Nikolai Kochetov
a9e2a17f69
fixed estimateNumRows in MergeTreeBlockSizePredictor; fixed reading of empty block in prewhere; added test [#CLICKHOUSE-3266]
2017-09-01 15:18:40 +03:00
Vitaliy Lyudvichenko
0b36305ad3
Parse unix timestamps in JSONEachRow format. [#CLICKHOUSE-3268]
2017-08-31 20:12:48 +03:00
Alexey Milovidov
9c7f195c6e
Removed flappy test (race condition in test) [#CLICKHOUSE-3267].
2017-08-31 13:47:49 +03:00
Alexey Milovidov
1531268281
Added aggregate functions groupBitAnd, groupBitOr, groupBitXor [#CLICKHOUSE-2].
2017-08-30 21:52:14 +03:00
Nikolai Kochetov
239f4f2d36
merged with master
2017-08-25 15:05:18 +03:00
Nikolai Kochetov
e223d07031
fixed test [#CLICKHOUSE-2090]
2017-08-25 14:58:33 +03:00
Nikolai Kochetov
f70ead2539
added test [#CLICKHOUSE-2090]
2017-08-24 22:39:30 +03:00
Vitaliy Lyudvichenko
02f0bcb17f
Fixed incorrect assertion in INSERT queries with binary formats. [#CLICKHOUSE-3242]
2017-08-23 16:57:22 +03:00
Vitaliy Lyudvichenko
61289c5c61
Fixed test after forcing ENGINE for MV. [#CLICKHOUSE-3]
2017-08-23 14:44:53 +03:00
alexey-milovidov
1d39b94992
Update 00101_materialized_views_and_insert_without_explicit_database.sql
2017-08-19 00:10:53 +03:00
Vitaliy Lyudvichenko
e52428ddb2
Fixed SIGSEGV in CREATE TABLE AS <MV>. MV without ENGINE is forbidden! [#CLICKHOUSE-2]
...
Resolves #1112
Resolves #598
2017-08-19 00:10:53 +03:00
Alexey Milovidov
f52ceced2b
Modified tests [#CLICKHOUSE-2838].
2017-08-18 23:22:56 +03:00
Alexey Milovidov
cb67224b4f
Modified test [#CLICKHOUSE-2838].
2017-08-18 23:11:09 +03:00
Alexey Milovidov
d5b9f2127f
Added test result [#CLICKHOUSE-2].
2017-08-18 22:06:39 +03:00
Alexey Milovidov
304ccf29b2
Fixed error; added test [#CLICKHOUSE-2].
2017-08-18 22:02:50 +03:00
Nikolai Kochetov
f8bf45a5ec
added test [#CLICKHOUSE-3237]
2017-08-17 23:06:00 +03:00
Alexey Milovidov
eb88391655
Fixed error with alias substitution [#CLICKHOUSE-2986].
2017-08-16 23:10:25 +03:00
Alexey Milovidov
68c57b2b61
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-16 00:53:03 +03:00
Alexey Milovidov
2ddf462563
Fixed regression [#CLICKHOUSE-2].
2017-08-16 00:52:52 +03:00
Vitaliy Lyudvichenko
ad40104022
Unix timestamp format for DateTime fields in CSV. Resolves #366 . [#CLICKHOUSE-3168]
2017-08-15 23:22:36 +03:00
Nikolai Kochetov
89df47fd52
added test for drop temporary table
2017-08-15 22:31:40 +03:00
Alexey Milovidov
6ec873c75e
Fixed test (it was dependent on time zone) [#CLICKHOUSE-2].
2017-08-14 03:02:12 +03:00
Alexey Milovidov
9aca95001e
Fixed regression, added test [#CLICKHOUSE-2].
2017-08-13 12:20:05 +03:00
Vitaliy Lyudvichenko
04dcec32b4
Specialized implementation of groupArray() for Date and DateTime. [#CLICKHOUSE-3213]
2017-08-12 03:46:42 +03:00
Nikolai Kochetov
ac87cb035f
added test to former WITH clause in SELECT query
2017-08-12 00:01:28 +03:00
Alexey Milovidov
6edb14ba6b
Fixed garbage [#CLICKHOUSE-2].
2017-08-09 04:35:12 +03:00
Alexey Milovidov
864cae7107
Fixed test [#CLICKHOUSE-3].
2017-08-08 03:25:05 +03:00
Marek Vavruša
65a90288dc
PKCondition: added tests for subexpr inference ( #951 )
2017-08-08 03:19:39 +03:00
Alexey Milovidov
8fb22b1dcb
Added failing test [#CLICKHOUSE-2].
2017-08-07 11:05:03 +03:00
Alexey Milovidov
c2a32990bb
Added test [#CLICKHOUSE-2].
2017-08-05 07:13:23 +03:00
Alexey Milovidov
07b24dd646
Added test [#CLICKHOUSE-3202].
2017-08-05 05:25:59 +03:00
Nikolai Kochetov
83cd2a40e4
added test
2017-08-03 15:58:04 +03:00
Alexey Milovidov
35ff7ab9f2
Added test [#METR-25976].
2017-08-01 20:26:36 +03:00
Nikolai Kochetov
78991b25ee
fixed preferred_max_column_in_block_size_bytes disabling
2017-07-30 01:24:57 +03:00
Nikolai Kochetov
da9b515e22
added tests
2017-07-28 22:29:40 +03:00
Alexey Milovidov
2c815356c1
Fixed regression in parsing of CAST [#CLICKHOUSE-3180].
2017-07-27 22:25:52 +03:00
Nikolai Kochetov
63cdf84fe3
added test 00481_reading_from_last_granula
2017-07-26 20:03:09 +03:00
Alexey Milovidov
3dcb2e6aed
Fixed test [#CLICKHOUSE-2].
2017-07-26 04:21:19 +03:00
Alexey Milovidov
d57f5b81a4
Removed MaterializedView inheritance of View, as they are not related. Fixed error with Views [#CLICKHOUSE-3175].
2017-07-26 00:07:05 +03:00
Vitaliy Lyudvichenko
1c574af576
Add more tests. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Vitaliy Lyudvichenko
fefb4dad67
Get rid of old groupArray() implementations. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Vitaliy Lyudvichenko
792faaa2db
Add adaptive allocator. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Vitaliy Lyudvichenko
c2cc8d6147
Add several groupArray implementations. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Alexey Zatelepin
cdd211eae0
add test [#CLICKHOUSE-3133]
2017-07-25 19:56:48 +03:00
Vitaliy Lyudvichenko
bc9ee54985
Don't throw exception in case of clearing empty part. [#CLICKHOUSE-2896]
2017-07-24 18:04:17 +03:00
Alexey Milovidov
a76061e1a9
Fixed MAC address related functions; added test [#CLICKHOUSE-3].
2017-07-23 09:13:57 +03:00
Alexey Milovidov
31d8ba3b34
Fixed error after merge [#CLICKHOUSE-3150].
2017-07-21 23:20:22 +03:00
Nikolai Kochetov
5477e7c1f9
added date and time to number functions [#CLICKHOUSE-3132]
2017-07-21 20:51:08 +03:00
alexey-milovidov
d4d266fa18
ColumnConst unification ( #1011 )
...
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* Fixed error in ColumnArray::replicateGeneric [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
2017-07-21 09:35:58 +03:00
Vladimir Chebotarev
7254478fde
functions: Remote mode for hasColumnInTable. [#CHEBOTAREV-9]
2017-07-20 17:08:42 +03:00
Nikolai Kochetov
7e293df9af
merged with master
2017-07-17 22:48:22 +03:00
Nikolai Kochetov
3bf21077c2
added merging tests for Replacing engine
2017-07-17 22:45:16 +03:00
Alexey Milovidov
8681c3f405
Added test [#CLICKHOUSE-3149].
2017-07-16 07:14:51 +03:00
Alexey Milovidov
5f98f4b862
Addition to prev. revision [#CLICKHOUSE-3149].
2017-07-16 07:11:11 +03:00
Alexey Milovidov
55f69684c1
Fixed test [#CLICKHOUSE-2].
2017-07-15 23:03:00 +03:00
Vitaliy Lyudvichenko
9ce4ff4c5b
Add check for unexisting column in CLEAR COLUMN. [#CLICKHOUSE-2896]
2017-07-15 03:21:19 +03:00
Vasily Okunev
13c8fe2400
Fix patition test.
2017-07-14 07:49:31 +03:00
Alexey Milovidov
d61ad166e9
Added test for one of previous modifications [#CLICKHOUSE-2].
2017-07-14 04:04:35 +03:00
Alexey Milovidov
9bb902c3ef
Allow to use database.table in right hand side of IN, JOIN [#CLICKHOUSE-3144].
2017-07-14 04:00:29 +03:00
Alexey Milovidov
1c909df8d5
Removed usage of user "readonly" from test [#CLICKHOUSE-2].
2017-07-11 22:58:05 +03:00
Vitaliy Lyudvichenko
b843ea5b3f
Resolves #964 . Fixed input_format_skip_unknown_fields for negative numbers. [#CLICKHOUSE-3]
2017-07-11 21:36:51 +03:00
Nikolai Kochetov
3357baa209
added changing settings in readonly mode test [#CLICKHOUSE-3041]
2017-07-10 21:15:56 +03:00
Nikolai Kochetov
7d5590d66d
Merge branch 'master' into output-format-json-quote-denormals
2017-07-10 17:29:17 +03:00
Nikolai Kochetov
39797813cc
disabled check for settings with same value in readonly mode in InterpreterSetQuery [#CLICKHOUSE-3041]; added tests for output_format_json_quote_denormals setting
2017-07-10 17:03:34 +03:00
alexey-milovidov
b64b243a73
Merge pull request #945 from YiuRULE/master
...
Implement natively uuid type in Clickhouse
2017-07-10 07:00:45 +03:00
Vitaliy Lyudvichenko
7150e9447a
Fixed multiIf in case of empty arguments. [#CLICKHOUSE-3119]
2017-07-07 17:42:37 +03:00
Guillaume Tassery
c6a5083419
Fix comparison of UInt128 to Float64
2017-07-05 18:29:16 +02:00
Guillaume Tassery
b90734920e
Adapt UInt128 operator
2017-07-05 12:09:24 +02:00
Guillaume Tassery
cba9815981
Change Uuid to UUID datatype and make UInt128 a generic type
2017-07-04 12:42:53 +02:00
Marek Vavruša
d27bed228b
Parser: fix CREATE VIEW IF EXISTS #934
...
The else branch forgot to consume whitespace after
CREATE token, and after VIEW token.
2017-07-03 17:01:43 +03:00
Guillaume Tassery
525851ec68
sync master
2017-06-30 22:21:42 +02:00
Guillaume Tassery
1231952fca
Implement UUID type and toUuid function
2017-06-30 22:01:27 +02:00
Vitaliy Lyudvichenko
97f7b46ebd
Fixed CLEAR COLUMN test in case of deduplication rollback. [#CLICKHOUSE-2]
2017-06-26 19:34:38 +03:00
Vitaliy Lyudvichenko
9c0da6e698
Addition to previous commit. Fix error code, rename test tables. [#CLICKHOUSE-2]
2017-06-26 17:35:26 +03:00
Vitaliy Lyudvichenko
49cbc33a6b
Fix ZK exception in case of concurrent INSERTs in new partition. [#CLICKHOUSE-2]
2017-06-26 17:21:25 +03:00
Alexey Milovidov
a48a21f593
Merge branch 'master' into CLICKHOUSE-2896
2017-06-26 11:54:58 +03:00
Alexey Milovidov
dbc61a6a43
Added support for SQL-style quoting [#CLICKHOUSE-20].
2017-06-25 06:43:37 +03:00
Alexey Milovidov
a8cbb1ce52
Removed obsolete tests [#CLICKHOUSE-3091].
2017-06-25 05:31:53 +03:00
Alexey Milovidov
30b6c36b83
Added support for identifiers in double quotes [#CLICKHOUSE-20].
2017-06-24 04:49:15 +03:00
Alexey Zatelepin
bb602835de
correctness tests [#CLICKHOUSE-3070]
2017-06-22 23:10:43 +03:00
Vitaliy Lyudvichenko
99f502d5e0
Support OPTIMIZE query on non-leader replica. [#CLICKHOUSE-2]
2017-06-22 18:01:08 +03:00
Vitaliy Lyudvichenko
eff3588f28
Rename DROP COLUMN FROM PARTITION -> CLEAR COLUMN IN PARTITION. [#CLICKHOUSE-2896]
2017-06-22 16:18:19 +03:00
Vitaliy Lyudvichenko
53adb891b3
Add replicated DROP COLUMN FROM partition for optimistic case. [#CLICKHOUSE-2896]
2017-06-22 00:56:38 +03:00
Alexey Milovidov
1624835a08
Added test [#METR-25109].
2017-06-21 21:24:25 +03:00
Vitaliy Lyudvichenko
b772eaa3a8
Resolved #891 . Fixed aliases for empty scalar subqueries. [#CLICKHOUSE-3]
2017-06-19 22:40:12 +03:00
Alexey Milovidov
f6be687717
Added test [#CLICKHOUSE-31].
2017-06-19 06:06:17 +03:00
Alexey Milovidov
b19f4d1a0e
Added test [#CLICKHOUSE-31].
2017-06-18 06:38:17 +03:00
Alexey Milovidov
5006042bac
Added test [#CLICKHOUSE-2993].
2017-06-16 21:08:19 +03:00
Vitaliy Lyudvichenko
67fdd0f544
Load the system database first. [#CLICKHOUSE-3044]
2017-06-16 19:08:24 +03:00
Alexey Milovidov
686b29cc97
Fixed test [#CLICKHOUSE-4].
2017-06-14 22:48:10 +03:00
Alexey Milovidov
e9ea838c66
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-10 13:43:49 +03:00
Alexey Zatelepin
877283b589
fix sorting when all columns are const [#CLICKHOUSE-3062]
2017-06-09 09:13:20 +03:00
Alexey Zatelepin
b03c87be39
fix nulls sorting when limit is greater than rows count [#CLICKHOUSE-3061]
2017-06-09 09:13:20 +03:00
Vitaliy Lyudvichenko
58db4b7be4
Fix HTTP session test again. [#CLICKHOUSE-2]
2017-06-08 19:36:45 +03:00
Alexey Milovidov
a4b28db411
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-08 09:29:49 +03:00
Vitaliy Lyudvichenko
7ab88b8055
Fix HTTP sessions test. [#CLICKHOUSE-3]
2017-06-07 22:06:43 +03:00
Alexey Milovidov
0b4c23d0fc
Added test [#CLICKHOUSE-2].
2017-06-07 04:56:20 +03:00
Vitaliy Lyudvichenko
d4d316dbb8
More sophisticated test. [#CLICKHOUSE-2]
2017-06-06 17:18:23 +03:00
Sergey V. Galtsev
07f14e05ee
Implement sessions in HTTP interface [#CLICKHOUSE-2949].
2017-06-02 22:35:05 +03:00
Alexey Zatelepin
7655a7bf3a
add tests [#CLICKHOUSE-3002]
2017-05-25 05:34:26 +04:00
Alexey Milovidov
26a14c180d
Fixed test [#CLICKHOUSE-2].
2017-05-23 16:35:38 +03:00
Alexey Milovidov
45cf057b22
Fixed test [#CLICKHOUSE-3014].
2017-05-23 16:32:46 +03:00
Alexey Milovidov
0e77575a76
JSONEachRow: allow to parse true and false as 1 and 0 for UInt8, Int8 data types [#CLICKHOUSE-3]
2017-05-22 23:13:17 +03:00
Alexey Milovidov
c323d7bf99
Added test for function defaultValueOfArgumentType [#CLICKHOUSE-3013].
2017-05-22 22:04:18 +03:00
Alexey Milovidov
7269f3a23b
Format Vertical: added support for totals, extremes and output_format_pretty_max_rows [#CLICKHOUSE-3014].
2017-05-22 22:00:45 +03:00
Vitaliy Lyudvichenko
48d85af41a
Allow to skip garbage in TSKV format. [#CLICKHOUSE-3012]
2017-05-22 17:50:13 +04:00
Vitaliy Lyudvichenko
45c1856556
Fix wrong implementation of CastTypeBlockInputStream ( #807 )
...
* Fix wrong implementation of CastTypeBlockInputStream. [#CLICKHOUSE-2957]
* Fix typos and add comments. [#CLICKHOUSE-2957]
2017-05-20 18:47:40 +04:00
Vitaliy Lyudvichenko
eab306b53f
Add more sophisticated test. [#METR-25237]
2017-05-20 17:30:59 +04:00
Vitaliy Lyudvichenko
bbe2a656cd
Fixed preferred_block_size_bytes in case of PREWHERE with non-materialized column. [#METR-25237]
2017-05-20 17:30:59 +04:00
Alexey Milovidov
d3a8faee16
Fixed test reference file for aggregate function topK [#CLICKHOUSE-3].
2017-05-12 23:59:14 +03:00
Alexey Milovidov
cfc4c987c5
Added optional length parameter to aggregate function groupArrayInsertAt [#CLICKHOUSE-3003].
2017-05-12 23:57:24 +03:00
Alexey Milovidov
1d090bd4e2
AggregateFunctionGroupArrayInsertAt: fixed error [#CLICKHOUSE-3003].
2017-05-12 23:05:19 +03:00
Vitaliy Lyudvichenko
021e37943e
More clearer code and correct test. [#CLICKHOUSE-1993]
2017-05-12 16:44:11 +03:00
Vitaliy Lyudvichenko
0f1627691e
Don't forget to ATTACH MATERIALIZED columns. [#CLICKHOUSE-1993]
2017-05-11 18:39:12 +04:00
Alexey Milovidov
66436db836
Added test [#CLICKHOUSE-2].
2017-05-10 04:46:07 -04:00
proller
1474de179c
CastTypeBlockInputStream: hotfix: sometimes columns in sample blocks and stream blocks does not match
2017-05-04 22:41:55 +03:00
Marek Vavruša
5f1e65b252
AggregateFunctions: implemented topK(n)
...
This implements a new function for approximate
computation of the most frequent entries using
Filtered Space Saving with a merge step adapted
from Parallel Space Saving paper.
It works better for cases where GROUP BY x
is impractical due to high cardinality of x,
such as top IP addresses or top search queries.
2017-05-03 23:09:52 -07:00
proller
0787bd66ff
Merge: fail if cant convert columns ( #753 )
...
* Merge: fail if cant convert columns
* Merge: convert all different types, more tests
* clean
* clean
* clean
2017-05-03 21:08:59 -07:00
Vitaliy Lyudvichenko
6d93d9cefb
Combinator -MergeState now returns AggregateFunction(nested_func). [#CLICKHOUSE-2891]
2017-05-03 20:59:42 -07:00
proller
7a0854775b
Merge: Cast types on read [#CLICKHOUSE-2957]
2017-04-29 06:37:38 +03:00
Vitaliy Lyudvichenko
42fcf148e2
Add column rows to system.parts table. [#CLICKHOUSE-2950]
2017-04-28 23:54:24 +03:00
Alexey Zatelepin
b0993e2d97
simplify test queries [#CLICKHOUSE-2979]
2017-04-27 23:15:45 +03:00
Alexey Zatelepin
aeb83f9ef7
fix key columns indexing for RIGHT and FULL joins [#CLICKHOUSE-2979]
2017-04-27 23:15:45 +03:00
artpaul
fd9d613dc9
#215 add tests
2017-04-25 07:57:49 +03:00
Alexey Milovidov
3788c3d3dd
Added test for Log, TinyLog, StripeLog tables with Nullable types [#CLICKHOUSE-4].
2017-04-23 11:29:38 +03:00
Alexey Milovidov
69d7432f31
Added test for ALTERing Nullable columns [#CLICKHOUSE-4].
2017-04-23 10:27:31 +03:00
Alexey Milovidov
1d93e93af3
Fixed test [#CLICKHOUSE-2].
2017-04-19 08:35:38 +03:00
Alexey Milovidov
53364dcc8d
Fixed totally wrong code; implemented function emptyArrayToSingle for generic case [#CLICKHOUSE-2963].
2017-04-19 08:08:22 +03:00
Alexey Milovidov
3de78d093b
Fixed LEFT ARRAY JOIN for constant arrays [#CLICKHOUSE-2946].
2017-04-19 07:03:11 +03:00
Alexey Milovidov
ed3c0125cd
Added support for Nullable types in higher order functions [#CLICKHOUSE-4].
2017-04-19 06:35:11 +03:00
Alexey Milovidov
3af2bade1b
Added test [#CLICKHOUSE-4].
2017-04-19 06:33:54 +03:00
artpaul
0ba72436db
#214 fix conversion from fixed-string to string
2017-04-19 03:17:44 +03:00
Alexey Milovidov
95dd78cea4
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-18 06:03:47 +03:00
Alexey Milovidov
22e8b8029b
Implemented ColumnArray::replicate for Nullable, Tuple and for generic case [#CLICKHOUSE-4].
2017-04-18 06:03:39 +03:00
artpaul
d259c0ea24
order results
2017-04-18 00:30:14 +05:00
Alexey Milovidov
f76680d47e
Fixed function toStringCutToZero with argument of type String [#CLICKHOUSE-2958].
2017-04-17 20:49:11 +03:00
Vitaliy Lyudvichenko
dcb5371844
Fixed CAST(NULL AS Nullable(...)). [#CLICKHOUSE-2754]
2017-04-17 14:44:16 +03:00
Alexey Milovidov
189b58b6c6
ForEach combinator of aggregate functions: more tests [#CLICKHOUSE-2952].
2017-04-16 07:48:17 +03:00
Alexey Milovidov
8ba5ef7a4d
ForEach combinator of aggregate functions: more tests [#CLICKHOUSE-2952].
2017-04-16 07:44:40 +03:00
Alexey Milovidov
3fa1639877
ForEach combinator of aggregate functions: more tests [#CLICKHOUSE-2952].
2017-04-16 07:38:13 +03:00
Maxim Fridental
99dc3ea016
Implement ForEach modifier for aggregate functions.
2017-04-16 02:49:11 +03:00
artpaul
050f1d4b0a
drop column from partition for MergeTree
2017-04-15 06:52:04 +03:00
Vitaliy Lyudvichenko
994720682c
Add nullable PREWHERE test. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
848c927bb7
Fix race condition. Add test. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
82af2278fc
Avoid code duplication near MergeTreeBlockInputStream. [#CLICKHOUSE-2]
...
Add preferred_block_size_bytes for non-uniform reader. [#CLICKHOUSE-2902]
Make enums test more deterministic. [#CLICKHOUSE-2]
Refactored MergeTree readers.
Tabs -> spaces.
Move include/DB/ -> src/.
2017-04-15 06:48:24 +03:00
Alexey Milovidov
7454185a0a
Fixed join_use_nulls setting [#CLICKHOUSE-4].
2017-04-07 23:30:52 +03:00
Alexey Milovidov
463fddb2ca
Joins by Nullable keys: development [#CLICKHOUSE-4].
2017-04-07 00:44:52 +03:00
Alexey Milovidov
ab215c0fcd
join_use_nulls: development; added test [#CLICKHOUSE-4].
2017-04-07 00:09:39 +03:00
Alexey Milovidov
e36468af29
Renamed test [#CLICKHOUSE-2].
2017-04-06 19:35:23 +03:00
Alexey Milovidov
4132d0ed32
Fixed test [#CLICKHOUSE-2].
2017-04-06 19:34:39 +03:00
Alexey Milovidov
31f7fe42d6
Fool's day changed, continued [#CLICKHOUSE-3].
2017-04-05 14:52:23 +03:00
Vitaliy Lyudvichenko
74a92cb8d9
Add test for OPTIMIZE FINAL and more diagnostics. [#CLICKHOUSE-2886]
2017-04-04 15:54:21 +03:00
Alexey Milovidov
093c77559f
Added test [#CLICKHOUSE-2754].
2017-04-04 12:24:14 +03:00
Vitaliy Lyudvichenko
a1e27e2b84
Add ru doc. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
0290203f6d
Fix test, add more comments. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
44c9bad289
Add functional test, fixed error. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Alexey Milovidov
a8f6a3127d
Implemented limited support for NULLs in IN operator [#CLICKHOUSE-4].
2017-03-28 06:00:33 +03:00
Alexey Milovidov
e6a41a0256
Fixed error with NULLs [#CLICKHOUSE-2901].
2017-03-24 07:42:36 +03:00
Alexey Milovidov
9d5ea2163c
Fixed error with FixedString filtering [#CLICKHOUSE-2898].
2017-03-21 21:37:35 +03:00
Alexey Milovidov
910c542994
Added more bitwise functions [#CLICKHOUSE-2884].
2017-03-20 22:16:02 +03:00
Alexey Milovidov
a79eb483a2
Added test [#CLICKHOUSE-2882].
2017-03-12 18:54:40 +03:00
Alexey Milovidov
724599a369
Added test [#CLICKHOUSE-2877].
2017-03-11 08:43:52 +04:00
Alexey Milovidov
93bb49cecd
Using ICU instead of iconv. Improved performance of 'convertCharset' function [#CLICKHOUSE-2879].
2017-03-11 07:36:14 +03:00
Alexey Milovidov
75f1d7b820
Added test [#CLICKHOUSE-2789].
2017-03-09 23:40:36 +03:00
Alexey Milovidov
1abf959722
Added test [#CLICKHOUSE-2789].
2017-03-09 22:49:11 +03:00
Alexey Milovidov
3107156fd9
Added tests [#CLICKHOUSE-2789].
2017-03-09 22:45:22 +03:00
Alexey Milovidov
19354bef87
Renamed test [#CLICKHOUSE-4].
2017-03-09 21:57:53 +03:00
Alexey Milovidov
01d2498bb6
Renamed test [#CLICKHOUSE-4].
2017-03-09 21:56:38 +03:00
Alexey Milovidov
caebb93995
Merge remote-tracking branch 'origin/master' into if-support-nulls
...
Conflicts:
dbms/include/DB/Columns/ColumnArray.h
dbms/include/DB/Columns/ColumnString.h
dbms/include/DB/Functions/FunctionsMiscellaneous.h
2017-03-09 07:39:45 +03:00
Alexey Milovidov
9d37698e70
Updated test [#CLICKHOUSE-2789].
2017-03-09 07:06:41 +03:00
Alexey Milovidov
520e891190
Added test [#CLICKHOUSE-2873].
2017-03-08 00:45:25 +03:00
proller
1af6311a99
https server ( #561 )
...
* https support in dictionaries
* Style
* Update README.md
* https server wip
* wip
* cf
* wip
* add test
* wip
* wip
* wip
* wip
* clean
* cmt
2017-03-07 23:01:37 +04:00
artpaul
0ef749839c
issue #390 : insert values by their positions instead of name
2017-03-07 15:30:05 +05:00
proller
e96092c66c
Freebsd fixes ( #555 )
...
* freebsd fixes
* Update SocketImpl.cpp
2017-03-04 05:58:45 +04:00
alexey-milovidov
35215d077e
Merge pull request #544 from serebrserg/METR-23630
...
METR-23630: add pointInEllipses function
2017-03-02 17:05:26 +04:00
serebrserg
6b3135959d
add test for pointInEllipses
2017-03-02 14:33:38 +03:00
artpaul
be7c70da5c
fix IN with nested tuples [#CLICKHOUSE-1999]
2017-03-01 19:48:21 +05:00
proller
3e824b3b4f
add test (Not found column date in block. There are only columns: x.) [#CLICKHOUSE-1993]
2017-02-21 22:45:37 +04:00
Alexey Zatelepin
7090d0861a
reinitialize primary key after ALTER [#CLICKHOUSE-2853]
2017-02-21 21:32:04 +04:00
Vitaliy Lyudvichenko
3ee4e6b79b
Banned Null(AggregateFunction(...)) type in arrayReduce. Fix test. [#CLICKHOUSE-2845]
2017-02-18 22:25:19 +03:00
Vitaliy Lyudvichenko
8bcb1fe970
Add support of AggregateFunction constants in VALUES and Set. [#CLICKHOUSE-2845]
2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
f1b5e927a5
Fixed typo in test.
2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
97c4211409
Add support of scalars with AggregateFunction() type. [#CLICKHOUSE-2845]
...
Fixed segfaults for arrayReduce. [#CLICKHOUSE-2787]
2017-02-18 00:36:31 +04:00
Alexey Milovidov
6a24e21f77
Renamed test [#CLICKHOUSE-2].
2017-02-11 23:03:23 +03:00
Alexey Zatelepin
66501c8026
ALTER primary key tests [#CLICKHOUSE-2027]
2017-02-10 22:19:40 +04:00
Alexey Milovidov
a39f333c1b
Fixed test [#CLICKHOUSE-2755].
2017-02-10 19:57:12 +03:00
Alexey Milovidov
0673f75265
Fixed absolutely incorrect code; added test [#CLICKHOUSE-2755].
2017-02-10 13:20:06 +03:00
Alexey Milovidov
17e3a4ff1f
Implemented aggregate function 'count' with Nullable arguments to count number of not-NULL values [#CLICKHOUSE-2833].
2017-02-10 12:02:10 +03:00
Alexey Milovidov
0d903dbf07
Addition to prev. revision; added test [#CLICKHOUSE-2832].
2017-02-10 09:03:09 +03:00
Alexey Milovidov
b9a96b480d
Added test [#CLICKHOUSE-2825].
2017-02-09 00:49:15 +03:00
Alexey Milovidov
40e71651e5
Allowed hash functions to be constant expressions [#CLICKHOUSE-2819].
2017-02-08 23:33:50 +03:00
proller
f87ae6808f
cmake: USE_INTERNAL_ZLIB_LIBRARY ( #463 )
...
* Correct fix of building with external poco with disabled sending progress
Revert "Removed wrong code [#CLICKHOUSE-2]."
This reverts commit 33f9917f53
.
* fix
* fix
* cmake: USE_INTERNAL_ZLIB_LIBRARY
2017-02-08 01:28:13 +04:00
proller
083e9cc3aa
Correct fix of building with external poco with disabled sending progress ( #461 )
...
* Correct fix of building with external poco with disabled sending progress
Revert "Removed wrong code [#CLICKHOUSE-2]."
This reverts commit 33f9917f53
.
* fix
2017-02-07 23:45:55 +04:00
Vitaliy Lyudvichenko
d6385af19b
Add test for _table index in storage Merge. [#CLICKHOUSE-2758]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
df9ada58fb
Add CAST(NULL AS Null) support. [#CLICKHOUSE-2787]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
11b3aad985
Interpret subquery with empty result as Null literal. [#CLICKHOUSE-2760]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
76916739e2
Fixed arrayReduce. Refactoring of ObjectPool. [#CLICKHOUSE-2787]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
7e5a075ef3
Fixed long ProcessList lock in case of remote server timeout. [#CLICKHOUSE-2799]
2017-02-07 20:08:43 +04:00
Alexey Milovidov
8d4a08cf9f
Updated test [#CLICKHOUSE-32].
2017-02-01 07:15:20 +03:00
Alexey Milovidov
9d04189793
Updated test [#CLICKHOUSE-32].
2017-02-01 05:40:27 +03:00
Vitaliy Lyudvichenko
9f8a967e6c
Fix SHOW PROCESSLIST segfault. [#CLICKHOUSE-2120]
2017-01-30 16:24:42 +03:00
Alexey Milovidov
4ae2bed9b6
Fixed wrong test [#CLICKHOUSE-2785].
2017-01-30 11:28:42 +03:00
Vitaliy Lyudvichenko
7f73f91705
Made test for KILL QUERY more deterministic. [#CLICKHOUSE-2120] [resloved #283 ]
2017-01-28 02:30:19 +03:00
alexey-milovidov
de9bc1dc75
Text formats allow to skip errors ( #407 )
...
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Added test [#CLICKHOUSE-2778].
2017-01-27 08:29:47 +04:00
Vitaliy Lyudvichenko
891437e531
Add docs. Add TEST version of KILL QUERY. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
6bd306ca8c
Improve KILL QUERY. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +04:00
Alexey Milovidov
43971faf32
Merge branch 'localhost' of https://github.com/proller/ClickHouse into proller-localhost
2017-01-27 00:42:56 +03:00
alexey-milovidov
0e38fdcbf3
Remove stringstream performance on very short queries ( #406 )
...
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Renamed variable in test [#CLICKHOUSE-2].
* Benchmark: whitespace [#CLICKHOUSE-2].
* Manual version update [#CLICKHOUSE-2].
2017-01-27 01:30:11 +04:00
proller
35dce017a2
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-26 15:07:29 +03:00
proller
e715ddd72a
SELECT * FROM system.build_options [#METR-24175] ( #398 )
...
* start [#METR-24175]
* missing
* wip
* add spaces
* wip
* wip
* fix
* fix
* missing
* style fix
2017-01-26 02:24:36 +04:00
proller
59a4a94b9e
fix
2017-01-25 21:27:16 +03:00
proller
3219d20df8
Group all tests with 127.0.0.{1,2} into 'shard' tag
2017-01-25 17:00:08 +03:00
proller
b7cedc1ad2
wip
2017-01-25 16:21:35 +03:00
proller
9c3133deac
wip
2017-01-25 16:17:13 +03:00
proller
1b7054e15b
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-25 15:38:46 +03:00
Alexey Milovidov
f51f52e0df
Added test [#CLICKHOUSE-32].
2017-01-24 00:29:05 +03:00
Alexey Milovidov
579667cef3
Added test for fixed bad behaviour [#CLICKHOUSE-2765]. https://github.com/yandex/ClickHouse/pull/183#discussion_r87731018
2017-01-22 16:24:50 +03:00
Alexey Milovidov
25d87ff135
Updated test according to changed semantic of some time zone functions [#CLICKHOUSE-2765].
2017-01-22 16:21:59 +03:00
Alexey Milovidov
e7976421a2
Fixed error in test [#CLICKHOUSE-2].
2017-01-22 14:25:45 +03:00
Alexey Milovidov
989e76b16c
Fixed test [#CLICKHOUSE-2].
2017-01-22 14:10:11 +03:00
Alexey Milovidov
641faac912
More correct time zones support; removed support for non-constant time zone argument [#CLICKHOUSE-2765].
2017-01-22 11:57:34 +03:00
Alexey Milovidov
28f4efa461
Allowed one test to take less time under valgrind [#CLICKHOUSE-2].
2017-01-21 05:55:23 +03:00
Alexey Milovidov
94bfc2ee4b
Added test [#CLICKHOUSE-2761].
2017-01-20 09:05:27 +03:00
Alexey Zatelepin
2184d4d51b
stabilize flappy test [#CLICKHOUSE-2133]
2017-01-19 17:01:11 +03:00
Alexey Zatelepin
5de1975bc4
parse INTO OUTFILE clause [#CLICKHOUSE-2133]
2017-01-19 03:48:59 +04:00
Alexey Milovidov
2730267bdc
Fixed test, that was dependent on time zones [#CLICKHOUSE-3].
2017-01-17 15:58:10 +03:00
Alexey Milovidov
00d848d927
Test 'merge_tree_alter': removed dependency on system time zone [#CLICKHOUSE-3].
2017-01-17 15:58:10 +03:00
Alexey Milovidov
930b947393
Make 'formats' test time-zone independent [#CLICKHOUSE-3].
2017-01-17 15:58:10 +03:00
Vitaliy Lyudvichenko
c56d3724e4
Speedup accurate integer comparisons. Simplified code. [#CLICKHOUSE-29] [#CLICKHOUSE-194]
2017-01-13 23:01:24 +03:00
proller
821121fe3f
Use localhost by name
2017-01-13 18:43:43 +00:00
Vitaliy Lyudvichenko
a1dcd24a76
New behavior for least() and greatest() function with (Int64, UInt64) arguments. [#CLICKHOUSE-29]
2017-01-13 21:17:50 +03:00
Alexey Milovidov
c3b69f1052
Removed fragile (over-complicated) test [#CLICKHOUSE-2].
2017-01-13 04:07:02 +03:00
Alexey Milovidov
012c5f1079
Disabled flappy tests [#CLICKHOUSE-2].
2017-01-13 02:31:04 +03:00
alexey-milovidov
9808a5ab9e
Merge pull request #323 from ludv1x/accurate-compare
...
Accurate numbers comparison
2017-01-12 23:31:07 +04:00
artpaul
3292ca81cb
fix distinct on single string field [#CLICKHOUSE-28]
2017-01-12 20:34:41 +05:00
Vitaliy Lyudvichenko
0807fb6d86
Interpret .py files in test dir as tests. [#CLICKHOUSE-194]
...
More precise performance test.
2017-01-12 18:21:47 +03:00
Vitaliy Lyudvichenko
3e53e3268a
Add test for accurate numbers comparisons. [#CLICKHOUSE-194]
2017-01-12 18:21:24 +03:00
Alexey Milovidov
480cb57a2f
Added test [#METR-24079].
2017-01-12 03:33:02 +03:00
artpaul
402f974fb7
fix where <const> in (<const>) expression; [#METR-24043]
2017-01-10 19:16:37 +05:00
alexey-milovidov
1d641212c8
Merge pull request #309 from ludv1x/METR-24025
...
Fixed segfault in aggregation combinators for complex nested functions
2017-01-09 20:14:16 +04:00
artpaul
79eb282eda
fix formatting of LIMIT BY; add tests with remote() [#METR-23881]
2017-01-09 18:24:54 +05:00
Vitaliy Lyudvichenko
fb40b74270
Fixed segfault in aggregation combinators using complex functions with Arenas. [#METR-24025]
2017-01-09 15:41:47 +03:00
Alexey Zatelepin
502864b40a
Merge branch 'master' into METR-23582
...
Conflicts:
dbms/include/DB/IO/WriteBufferFromHTTPServerResponse.h
dbms/src/Core/ErrorCodes.cpp
2017-01-08 12:53:17 +03:00
Alexey Zatelepin
600bb5f29a
[#METR-23582]
...
* introduce ZlibDeflatingWriteBuffer and ZlibInflatingReadBuffer
* use them instead of Poco streams
* seamlessly uncompress multiple concatenated gzip streams
2017-01-07 20:22:58 +03:00
artpaul
b64e7a45b6
rename tests
2016-12-31 13:36:22 +05:00
alexey-milovidov
376db5785b
Merge pull request #297 from proller/METR-23933
...
Add header Keep-Alive: timeout=.. to http server response [#METR-23933]
2016-12-31 06:04:49 +04:00
alexey-milovidov
0dd2191c87
Merge branch 'master' into issue-111
2016-12-31 05:53:52 +04:00
proller
c2a6681522
Add header Keep-Alive: timeout=.. to http server responce [#METR-23933]
2016-12-30 23:52:56 +03:00
artpaul
3987df8233
rename tests
2016-12-30 23:32:51 +05:00
artpaul
273e58f8d7
add tests [#METR-23881]
2016-12-30 17:57:09 +05:00
Alexey Milovidov
2f6e582f78
Updated test [#METR-19266].
2016-12-30 09:28:20 +03:00
Alexey Milovidov
0a83cfccde
NULLs: Test also output formats [#METR-19266].
2016-12-30 09:23:30 +03:00
Alexey Milovidov
9a17c907b0
Added test for parsing NULLs in various formats [#METR-19266].
2016-12-30 09:18:57 +03:00
Alexey Milovidov
0323a74942
Added test [#METR-19266].
2016-12-30 08:17:55 +03:00
Alexey Milovidov
de30204c00
Added test for pretty formats [#METR-2944].
2016-12-30 04:30:47 +03:00
Alexey Milovidov
5a5ddebe19
Fixed test [#METR-19266].
2016-12-30 01:45:19 +03:00
Alexey Milovidov
18f0e83b51
Fixed parsing of NULL literal [#METR-19266].
2016-12-29 22:52:15 +03:00
Alexey Milovidov
32be008327
Added test [#METR-23983].
2016-12-29 21:29:21 +03:00
Alexey Milovidov
9c39a324f2
Fixed extremes calculation in presense of NaNs [#METR-22882].
2016-12-28 12:20:42 +03:00
Alexey Milovidov
dd0b5a1b82
Added test [#METR-23945].
2016-12-25 07:50:06 +03:00
Alexey Milovidov
2552e7de4b
Added test [#METR-22799].
2016-12-24 00:35:22 +03:00
alexey-milovidov
d1383c5f62
Merge pull request #288 from yandex/issue-199
...
Issue #199 : speedup DISTINCT
2016-12-23 19:02:48 +04:00
artpaul
200f84c046
add test for DISTINCT with nullable values [#METR-23882]
2016-12-22 21:39:00 +05:00
proller
999b181aa5
fix 'env bash -e'
2016-12-21 23:43:35 +03:00
proller
d270053c3c
Replace all !/bin/bash by !/usr/bin/env bash : allow running scripts with bash in non standard path. also on freebsd.
2016-12-21 23:04:27 +03:00
Vitaliy Lyudvichenko
d2e594cdf7
Fixed groupUniqArray for Date and DateTime types. [#METR-23869]
2016-12-16 13:59:16 +03:00
artpaul
722e4dab6d
merge with master
2016-12-15 23:19:12 +05:00
artpaul
d3657d311b
fix decodeUrl; decode all values; add more tests
2016-12-15 22:12:41 +05:00
alexey-milovidov
a3886babed
Revert "Issue 219"
2016-12-15 18:19:16 +04:00
Alexey Milovidov
082820b405
Removed executable attribute from test files [#METR-20000].
2016-12-15 17:12:31 +03:00
alexey-milovidov
fea00eb595
Merge pull request #239 from yandex/issue-219
...
Issue 219
2016-12-15 17:21:35 +04:00
Igor Hatarist
76365c3c15
Fixed the test
2016-12-14 08:56:19 +03:00
Igor Hatarist
9be107e89e
Removed TSVBlock format by Alexey's request
2016-12-13 21:26:34 +03:00
Igor Hatarist
96fa052839
Added TSV format synonyms for the TabSeparated formats
2016-12-13 21:03:10 +03:00
artpaul
fb900881da
resolve conflicts
2016-12-12 11:15:01 +05:00
artpaul
529f75c8b4
- use std::experimental::string_view
...
- rename unquoteUrl to decodeURLComponent
- fix code-style
2016-12-12 11:09:00 +05:00
Alexey Milovidov
d77b4f12fb
Added UUID functions [#METR-23792].
2016-12-11 13:57:34 +03:00
artpaul
99cec8b165
implement unquoteUrl
2016-12-11 02:04:58 +05:00
Alexey Milovidov
4aeb017093
Renamed test [#METR-19266].
2016-12-10 09:40:46 +03:00
Alexey Milovidov
e97ecb6cf7
Merge branch 'master' into METR-19266
...
Conflicts:
dbms/CMakeLists.txt
dbms/include/DB/Functions/FunctionsArray.h
dbms/include/DB/Functions/FunctionsString.h
dbms/include/DB/Parsers/ExpressionListParsers.h
dbms/include/DB/Storages/MergeTree/MergeTreeBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergeTreeReader.h
dbms/include/DB/Storages/MergeTree/MergeTreeThreadBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergedBlockOutputStream.h
dbms/src/Core/ErrorCodes.cpp
dbms/src/Parsers/ASTFunction.cpp
dbms/src/Storages/MergeTree/MergeTreeData.cpp
dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
dbms/src/Storages/MergeTree/MergeTreeReader.cpp
dbms/src/Storages/StorageLog.cpp
2016-12-10 07:51:36 +03:00
artpaul
396ccccfce
fix extraction of TLD from fqdn
2016-12-10 03:49:21 +05:00
artpaul
dfb466d156
host extraction functionality was moved to UrlUtils
2016-12-10 00:31:16 +05:00
artpaul
544143f5c9
url's scheme extraction was fixed according to rfc3986.
2016-12-09 22:38:15 +05:00
artpaul
f344c85cb7
#214 add tests
2016-12-03 04:29:16 +05:00
Alexey Milovidov
4110b6865f
Merge branch 'METR-23305' of git://github.com/ludv1x/ClickHouse into ludv1x-METR-23305
...
Conflicts:
contrib/CMakeLists.txt
2016-12-02 23:22:11 +03:00
Vitaliy Lyudvichenko
202ba912ce
Vertical merging algorithm for MergeTree engines. [#METR-23305]
2016-11-29 22:41:31 +03:00
alexey-milovidov
08cb8e506b
Merge pull request #211 from yandex/if_with_const_condition
...
ExpressionAnalyzer: added more tests for aliases. fix bug [METR-23545]
2016-11-29 23:28:50 +04:00
Pavel Kartavyy
106bb24fd8
ExpressionAnalyzer: added more tests for aliases. fix bug [#METR-23545]
2016-11-29 22:19:15 +03:00
alexey-milovidov
7fda6394b8
Merge pull request #202 from yandex/if_with_const_condition
...
ExpressionAnalyzer: optimize if with constant condition [METR-23545]
2016-11-25 20:03:04 +04:00
Pavel Kartavyy
cd15651dfd
optimize if. added test for aliases
2016-11-25 12:29:17 +03:00
Pavel Kartavyy
84a89b3b3d
ExpressionAnalyzer: optimize if with constant condition [#METR-23545]
2016-11-24 17:18:44 +03:00
Vitaliy Lyudvichenko
544ef67c28
Fixed IN <Set> usage inside PK expressions.
...
Refactoring of type conversion functions convertFieldToType().
2016-11-24 15:32:04 +03:00
Vitaliy Lyudvichenko
4f9064ca19
Fixed case when pk column is wrapped by functions.
2016-11-23 22:58:33 +03:00
Vitaliy Lyudvichenko
e07fc7cea5
Fixed Enum usage in PK expressions. [#METR-23473]
...
Added check for duplicates of column names in CREATE query.
2016-11-23 16:19:15 +03:00
Alexey Milovidov
c8c86208aa
Fixed error with ALTER of Enums in Nested fields [#METR-22442].
2016-11-20 11:57:11 +03:00
Alexey Milovidov
37d6ecc372
Allowed to sort one array by values of another array [#METR-23547].
2016-11-20 09:49:24 +03:00
Alexey Milovidov
75a058fbab
Added test [#METR-23546].
2016-11-20 07:51:37 +03:00
Alexey Milovidov
ea0c752852
Investigated flappy test [#METR-23540].
2016-11-18 12:02:49 +03:00
Alexey Milovidov
643c2b747a
Added test [#METR-23539].
2016-11-18 11:31:46 +03:00
Alexey Zatelepin
cbed811b95
use_client_time_zone test
2016-11-17 00:11:02 +00:00
Pavel Kartavyy
3ad04a0f39
updated test for hasColumnInTable
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
766caff3dc
add tests for hasColumnInTable [#METR-23248]
2016-11-16 18:52:35 +03:00
Vitaliy Lyudvichenko
4cd2909899
Merged new packages into clickhouse-client.
...
More detail diagnostic for test.
2016-11-16 02:49:27 +03:00
Vitaliy Lyudvichenko
26fe84b3d0
Removed binary stripping, try to fix clickhouse-local test.
2016-11-15 00:58:17 +03:00
Vitaliy Lyudvichenko
107f7b34c7
Added requested PR changes, 2nd iteration.
2016-11-14 02:57:18 +03:00
Vitaliy Lyudvichenko
c05f512637
Merged server, client and local into single binary, more args for local mode.
2016-11-09 22:06:29 +03:00
Vitaliy Lyudvichenko
0e2eb5436b
Added StorageFile and template for clickhouse-local app.
2016-11-09 22:03:47 +03:00
Alexey Milovidov
621da9c2f7
Added test [#METR-22971].
2016-11-02 00:10:22 +03:00
Alexey Milovidov
024799acee
Fixed error in Poco::UTF8Encoding::isLegal function [#METR-23332].
2016-10-29 20:15:43 +03:00
alexey-milovidov
77e3d75ca0
Merge pull request #153 from ludv1x/METR-23285
...
Fixed segfaults in quantiles* functions with empty levels set.
2016-10-27 19:17:10 +04:00
Vitaliy Lyudvichenko
07f4bfc844
Fixed segfaults in quantiles* functions with empty levels set. [#METR-23285]
2016-10-27 17:51:43 +03:00
Alexey Arno
27fbef6ace
dbms: Server: renaming [#METR-19266]
2016-10-21 19:55:34 +03:00
Alexey Arno
a75cfb6df5
Merge branch 'master' into METR-19266 [#METR-19266]
2016-10-21 19:53:35 +03:00
Alexey Arno
88ddba2782
dbms: Server: added forgotten changes [#METR-19266]
2016-10-20 16:09:49 +03:00
Alexey Arno
d64529ca15
dbms: Server: fixes + tests update [#METR-19266]
2016-10-20 15:58:18 +03:00
Alexey Milovidov
f373b500d4
Fixed error in 'firstSignificantSubdomain' function [#METR-20000].
2016-10-20 08:21:49 +03:00
Alexey Milovidov
955783e409
Fixed test [#METR-20000].
2016-10-20 07:51:01 +03:00
Alexey Arno
924402f33e
dbms: Server: merged from master [#METR-19266]
2016-10-19 18:00:56 +03:00
Alexey Arno
cca054f148
dbms: Server: renaming [#METR-19266]
2016-10-19 11:26:51 +03:00
Alexey Milovidov
b1f551d5ba
Client: Don't exit (only break) at first error in interactive mode when processing multiple queries in one command [#METR-19563].
2016-10-15 03:38:59 +03:00
Vitaliy Lyudvichenko
fcd8b72eac
Fixed port test. [#METR-22966]
...
curl was muted.
2016-10-14 13:52:20 +03:00
Vitaliy Lyudvichenko
144d9018ba
Added port column into system.processes table. [#METR-22966]
2016-10-11 22:01:55 +03:00
Vitaliy Lyudvichenko
4c242e8a4d
Added output_format_json_quote_64bit_integers new config option.
2016-09-30 19:02:16 +03:00
Vitaliy Lyudvichenko
6375e4999c
Small refinement of recently added tests.
2016-09-30 16:40:26 +03:00
alexey-milovidov
5ea36a550c
Merge pull request #123 from yandex/METR-22935
...
dbms: Server: Bug fix. Now the functions toStartOfHour/toStartOfMinut…
2016-09-29 23:57:05 +04:00
alexey-milovidov
3296310a9d
Merge pull request #116 from ludv1x/METR-22071
...
More datatypes for groupUniqArray() function [#METR-22071]
2016-09-29 23:53:18 +04:00
Vitaliy Lyudvichenko
c2d5595c3d
Added more tests for groupUniqArray() function. [#METR-22071]
2016-09-29 16:19:43 +03:00
Alexey Arno
0ad504e4dd
dbms: Server: Bug fix. Now the functions toStartOfHour/toStartOfMinute/toStartOfFiveMinute correctly take into account the time zone parameter. [#METR-22935]
2016-09-29 13:00:37 +03:00
alexey-milovidov
30c4b21a50
Merge pull request #121 from ludv1x/METR-22801
...
Ability to skip columns with unknown names from input JSON data [#METR-22801]
2016-09-28 22:49:50 +04:00
Vitaliy Lyudvichenko
f3d70eb87c
Added test for JSONEachRow format. [#METR-22801]
2016-09-28 21:45:28 +03:00
Vitaliy Lyudvichenko
7103157b1b
Added simple test for groupUniqArray(String). [#METR-22071]
...
Also reverted Benchmark.cpp it will be added in separate PR.
2016-09-26 15:43:20 +03:00
Alexey Milovidov
2cceb41877
Fixed error with anyLastIf function [#MARKETHEALTH-550].
2016-09-23 06:44:51 +03:00
Alexey Milovidov
5d6d86c625
Renamed test [#METR-22301].
2016-09-23 05:09:23 +03:00
Alexey Milovidov
95fc632f41
Added test [#METR-22301].
2016-09-23 04:18:46 +03:00
Alexey Arno
2feb831a52
dbms: Server: Updated functional test. [#METR-22842]
2016-09-21 18:10:06 +03:00
Alexey Arno
9fc95c5093
dbms: Server: better [#METR-19266]
2016-09-21 15:51:11 +03:00
Alexey Arno
bd73b2d165
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-15 15:14:25 +03:00
Alexey Milovidov
9a8105b952
Removed obsolete tests [#METR-2807].
2016-09-01 22:33:03 +03:00
Alexey Milovidov
3656f0efe2
Fixed error in test [#METR-2807].
2016-09-01 20:58:40 +03:00
igor
c04e82263d
CORS header test, fix grep
2016-08-30 23:53:59 +03:00
igor
9c66d18cb5
CORS hearder test
2016-08-30 09:25:24 +03:00
Alexey Arno
06f2bb52f0
dbms: Added functional test for nullable-specific functionality. [#METR-19266]
2016-08-25 18:13:05 +03:00
Alexey Milovidov
d76514fbe1
Added test [#METR-22329].
2016-08-20 20:19:06 +03:00
Alexey Milovidov
902c70bfa9
Fixed error with duplicate columns in subqueries [#METR-22381].
2016-08-20 20:10:00 +03:00
Alexey Milovidov
e960efd5e6
Changed semantic of intDiv, intDivOrZero functions for floating point arguments [#METR-19446].
2016-08-19 06:17:53 +03:00
Alexey Milovidov
374b2bc356
Client: fixed error that 'format' command line option was collided between common arguments and arguments for external tables [#METR-22057].
2016-08-19 00:00:00 +03:00
Alexey Milovidov
80e8c38c28
Addition [#METR-22400].
2016-08-18 02:02:50 +03:00
Alexey Milovidov
a50c733345
Make tests deterministic [#METR-22400].
2016-08-17 23:03:22 +03:00
Alexey Milovidov
d13190a2db
Fixed error with 'visibleWidth' function when applied to Array(Enum...) or Tuple(Enum...) [#METR-22432].
2016-08-17 09:25:01 +03:00
Alexey Milovidov
ffbd901c9c
Added test [#METR-22252].
2016-08-17 09:11:25 +03:00
Alexey Milovidov
635fed9055
Added test [#METR-22252].
2016-08-17 09:03:46 +03:00
Alexey Milovidov
7a04c805c4
Added test [#METR-22400].
2016-08-17 08:53:14 +03:00
Alexey Milovidov
27d42574fc
Added test result [#METR-22428].
2016-08-17 00:45:35 +03:00
Alexey Milovidov
3d4a40156f
Added test [#METR-22428].
2016-08-17 00:44:28 +03:00
Alexey Milovidov
6bbac4b06c
Added test [#METR-21993].
2016-08-15 22:43:51 +03:00
alexey-milovidov
2f232b25c2
Merge pull request #72 from serebrserg/METR-22322
...
METR-22322: add geo distance function
2016-08-15 21:02:07 +04:00
serebrserg
191d8b9707
METR-22322: add functional test
2016-08-15 19:34:03 +03:00
Alexey Milovidov
9efc240f34
Corrected tests whose sensitivity may have degraded after introduced squashing blocks on INSERT by default [#METR-21877].
2016-08-13 08:06:36 +03:00
Alexey Milovidov
65e557a105
Fixed test [#METR-22352].
2016-08-10 08:22:52 +03:00
Alexey Milovidov
41c28b26d0
Fixed test [#METR-2944].
2016-08-07 21:20:57 +03:00
Alexey Milovidov
30eb125100
Fixed error with INSERT SELECT and nested data structures [#METR-22328].
2016-08-07 18:13:40 +03:00