Commit Graph

1271 Commits

Author SHA1 Message Date
proller
8aafa3b042
Cmake: fix warnings (#1437)
* Cmake: fix warnings

* Tests: replace 127.0.0.1 -> localhost
2017-11-02 17:14:16 +03:00
proller
9fb4e86270 Tests: fix bash usage;
Use ${CLICKHOUSE_LOCAL} in tests
add --testname options to tests
2017-11-01 14:46:58 +03:00
Alexey Milovidov
d3e3879de1 Fixed test [#CLICKHOUSE-2]. 2017-11-01 07:11:01 +03:00
Alexey Zatelepin
f2ebffb7f0 save TO table of a materialized view to the ATTACH query [#CLICKHOUSE-2] 2017-10-30 21:39:39 +03:00
alexey-milovidov
56ef2e9196
Merge pull request #1380 from yandex/catboost-models
Catboost models
2017-10-30 19:16:41 +03:00
Vitaliy Lyudvichenko
4b9163c3cc Fix bash warning in the test. [#CLICKHOUSE-3385]
Also use 'clickhouse compressor' util instead of clickhouse-compressor binary.
2017-10-30 16:10:22 +03:00
Vitaliy Lyudvichenko
4a55e5f94b Hotfix of CREATE MATERIALIZED VIEW a TO b. [#CLICKHOUSE-2] 2017-10-30 15:14:36 +03:00
Alexey Milovidov
e29604b7f9 Updated test [#CLICKHOUSE-2099]. 2017-10-30 09:27:21 +03:00
Alexey Milovidov
2690c920f9 Added test [#CLICKHOUSE-3393]. 2017-10-30 08:39:30 +03:00
Alexey Milovidov
4236bcbfa2 Fixed year 2038 problem. Added support for timezones with fractional offset from UTC. [#CLICKHOUSE-2099] [#CLICKHOUSE-3392]. 2017-10-29 03:51:40 +03:00
Alexey Milovidov
9c96d5c2ab Updated cppcheck instruction a little [#CLICKHOUSE-2]. 2017-10-28 06:43:26 +03:00
Alexey Milovidov
ef36648f85 Merge branch 'master' of github.com:yandex/ClickHouse 2017-10-28 02:10:00 +03:00
Alexey Milovidov
7949994508 Changed tabs to spaces in test [#CLICKHOUSE-2]. 2017-10-28 02:09:50 +03:00
Alexey Zatelepin
514a4d4fba use stale local replica if all remote replicas are unavailable [#CLICKHOUSE-3377] 2017-10-27 23:46:19 +03:00
Alexey Milovidov
14fd5843c9 Merge branch 'materialized-view-to' of https://github.com/vavrusa/ClickHouse into vavrusa-materialized-view-to 2017-10-27 23:43:14 +03:00
Alexey Milovidov
6ca1b84929 Added function getSizeOfEnumType [#CLICKHOUSE-2]. 2017-10-27 23:39:49 +03:00
alexey-milovidov
9e200bdfd9
Merge branch 'master' into materialized-view-to 2017-10-27 23:21:27 +03:00
alexey-milovidov
3b99b723d7
Merge pull request #1245 from yandex/CLICKHOUSE-3178
Atomic parts addition and removing
2017-10-27 23:03:33 +03:00
alexey-milovidov
b4bb6796c1
Merge pull request #1407 from yandex/CLICKHOUSE-3381
Ability to turn off deduplication, smart deduplication for MV
2017-10-27 23:03:25 +03:00
Vitaliy Lyudvichenko
cd5d1d5009 Fixed segfault in compare operators with Nullable types. #1416 [#CLICKHOUSE-3] 2017-10-27 23:03:12 +03:00
proller
4dd1634772 Print sizes in memory errors (#1413)
* Print sizes in memory errors

* use formatReadableSizeWithBinarySuffix

* Fix

* Requested changes

* fix alignment message
2017-10-27 22:18:39 +03:00
Nikolai Kochetov
c1cbfdc2ad decreased accuracy threshold for catboost python tests [#CLICKHOUSE-3305] 2017-10-27 15:41:08 +03:00
Alexey Milovidov
a27981b4ef Get rid of double whitespaces [#CLICKHOUSE-2]. 2017-10-26 21:36:23 +03:00
Alexey Milovidov
1f81797adc Don't use direct IO in test as it doesn't work in encrypted FS and is irrelevant for the test [#CLICKHOUSE-2]. 2017-10-26 21:11:09 +03:00
Alexey Milovidov
ac5062d592 Fixed incorrect usage of "toRelative" family of functions in tests [#CLICKHOUSE-2]. 2017-10-26 21:09:02 +03:00
Vitaliy Lyudvichenko
51265506f8 Convey session setting up to inner table creation for MV. [#CLICKHOUSE-3381] 2017-10-26 18:39:56 +03:00
Vitaliy Lyudvichenko
3b466ec57b Add deduplication test. [#CLICKHOUSE-3381] 2017-10-26 18:22:34 +03:00
Vitaliy Lyudvichenko
397b8bcf92 Smarter parts deletion. [#CLICKHOUSE-3178] 2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
a5e29f2166 Add integration test. [#CLICKHOUSE-3178] 2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
db3a67a421 Add clearer RangeFiltered implementation. [#CLICKHOUSE-3178] 2017-10-26 17:16:06 +03:00
Marek Vavruša
ee22253857 tests: added tests for sumWithOverflow(x) preserving input type 2017-10-25 22:21:59 +03:00
Marek Vavruša
5c87a91aaf SummingSortedBlockInputStream: fix explicitly configured columns to sum
This fixes a variant of SummingMergeTree() in which
the columns to sum are explicitly configured.
Previously columns not in that list were ignored,
instead of writing last value.

This also fixes summation of invalid maps with
with only one key column and no value columns.

Modified test to work around compaction limitation
in which a zero-value column isn’t compacted
immediately if the inputs are non-zero but the
output is zero (+1 -1).
2017-10-25 22:21:59 +03:00
Nikolai Kochetov
54786902c3 added test [#CLICKHOUSE-3305]
added test [#CLICKHOUSE-3305]

added test [#CLICKHOUSE-3305]

added test [#CLICKHOUSE-3305]

added test [#CLICKHOUSE-3305]

added test [#CLICKHOUSE-3305]

added test [#CLICKHOUSE-3305]

added test [#CLICKHOUSE-3305]
2017-10-25 20:08:46 +03:00
alexey-milovidov
b5155916a8 Merge branch 'master' into materialized-view-to 2017-10-24 22:39:24 +03:00
Alexey Zatelepin
6bb34a4494 Merge branch 'master' into arbitrary-partitioning
Conflicts:
	dbms/src/Storages/StorageFactory.cpp
2017-10-24 17:23:18 +03:00
Alexey Zatelepin
b6b5d1cf25 store rows count for part on disk to allow tables without fixed size columns [#CLICKHOUSE-3000] 2017-10-24 17:11:53 +03:00
proller
86a587e482 Fix test (supress stderr) 2017-10-23 21:40:07 +03:00
Alexey Zatelepin
8ccebefae6 add tests for extended storage definition syntax [#CLICKHOUSE-3000] 2017-10-23 18:21:44 +03:00
proller
d8038cf746 Fix: An Error SQL will make server down (#1388) 2017-10-23 17:37:46 +03:00
Nikolai Kochetov
adae8205a7 increased timeout for test_insertion_sync_fails_with_timeout 2017-10-23 16:56:42 +03:00
Marek Vavruša
5f53df7dbe ParserCreateQuery: allow ATTACH TABLE x shorthand statement
Allow `ATTACH TABLE [db.]name` if the table was previously detached,
an the table structure can be read from disk. This makes reattaching
tables less cumbersome:

```
CREATE TABLE test.t (x UInt8) ENGINE = Null;
DETACH TABLE test.t;
ATTACH TABLE test.t;
```
2017-10-21 13:38:39 -07:00
Marek Vavruša
975a7ada42 StorageMaterializedView: allow CREATE MATERIALIZED VIEW x TO y
This allows creation of materialized views without inner tables,
using an existing table for materialized rows instead.
This is useful for cases when you want to detach the materializing
view, but keep the already materialized data readable, especially
when the inner table is replicated.
2017-10-21 13:34:59 -07:00
Alexey Zatelepin
75c65c7b59 use extended storage definition syntax for MergeTree engines [#CLICKHOUSE-3000] 2017-10-20 21:28:42 +03:00
Amos Bird
f30841d5ab Fix SummingMergeTree argument checking logic.
This patch fixes the Nested Column Name checking logic, which allows nested
columns be explicitly specified in SummingMergeTree engine.
2017-10-13 15:42:32 +03:00
proller
1e961cc69d Fix complex queries with GLOBAL IN and UNION ALL (#CLICKHOUSE-3356) (#1339)
* TEST only: why initQueryAnalyzer ?

* Better tests

* missing file

* Missing file

* Add test

* Test fixes

* Fixed FREEZE PARTITION: using only active data parts; acquire snapshot of parts [#CLICKHOUSE-3369].

* Removed tcp_ssl_port by default [#CLICKHOUSE-2].

* Better tests

* comment

* clean

* REmove wrong code

* clean
2017-10-13 00:28:24 +03:00
Vitaliy Lyudvichenko
7bc58340b0 Fixed infinite recursion in expression analyzer. [#CLICKHOUSE-3125] 2017-10-13 00:27:25 +03:00
KochetovNicolai
83925f1d5e Fix array writing (#1314)
* changed MergedBlockOutputStream [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* disabled checkNoMultidimensionalArrays [#CLICKHOUSE-3341]

* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]

* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]

* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]

* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]

* added test [#CLICKHOUSE-3341]

* fixed test [#CLICKHOUSE-3341]

* refactoring and comments [#CLICKHOUSE-3341]

* fix build [#CLICKHOUSE-3341]

* Update ColumnArray.h
2017-10-12 23:13:26 +03:00
proller
26c44d5993 Tests: Use new possibly redefined values from env (in 2 tests) 2017-10-12 22:54:56 +03:00
proller
f8548156a0 Improve tests: allow redefine some values (clickhouse path, ports, ...) 2017-10-12 22:48:39 +03:00
proller
cbc81a6a9f Received signal Segmentation fault (#1300) (#1302)
* Received signal Segmentation fault (#1300)

* Add test
2017-10-12 22:46:40 +03:00
proller
f42ae974d1 Remove wrong test 2017-10-11 21:22:28 +03:00
proller
975e8575c7 Add test (failed on version 1.1.54292) (#1328)
* Tests: External: rename --use_http  => --no_http and fix

* Add test (failed on version 1.1.54292)
2017-10-09 20:22:15 +03:00
proller
704fee8750 Tests: External: rename --use_http => --no_http and fix (#1324) 2017-10-06 18:58:24 +03:00
Vitaliy Lyudvichenko
723f36ec6d Fixed integration tests after introduction of 'clickhouse server' commands. [#CLICKHOUSE-2] 2017-10-04 18:15:40 +03:00
proller
88c88c3f4a Fix 2017-10-03 22:12:44 +03:00
proller
add13f233e requested changes 2017-10-03 22:12:44 +03:00
proller
dc50ea2788 fix 2017-10-03 22:12:44 +03:00
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
f08545b9b8 Stop tests execution on KeyboardInterrupt. [#CLICKHOUSE-2] 2017-10-03 19:21:25 +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
Alexey Milovidov
e1cf922c1b Merge branch 'master' of github.com:yandex/ClickHouse 2017-09-16 18:56:37 +03:00
Alexey Milovidov
65ad717938 Whitespaces [#CLICKHOUSE-2]. 2017-09-16 18:55:31 +03:00
Alexey Zatelepin
3791b93c76 remove junk 2017-09-16 01:27:57 +03:00
Alex Bocharov
591cd5c009 Add new aggregate function sumMap(key, value). 2017-09-15 12:14:19 +01:00
Evgeny Konkov
e95ab36832 handle test errors 2017-09-15 03:11:24 +03:00
Evgeny Konkov
c37a387ff8 remove control characters from diff output in order to properly save diff output in junit xml report files. 2017-09-15 03:11:24 +03: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
68f48253c9 Tests: catch xml internal error 2017-09-13 18:32:03 +03:00
Alexey Milovidov
8c9ec83a33 Implemented some suggestions from clang-tidy (part 4) [#CLICKHOUSE-3301]. 2017-09-08 07:10:43 +03:00
Alexey Milovidov
f1c98dac3c Updated instruction to run clang-tidy [#CLICKHOUSE-3301]. 2017-09-08 05:42:47 +03:00
Alexey Milovidov
abad3f432d Added instruction to run clang-tidy [#CLICKHOUSE-3301]. 2017-09-08 05:31:58 +03:00
Alexey Milovidov
742f369ac8 Addition to prev. revision [#CLICKHOUSE-3300]. 2017-09-08 00:35:21 +03:00
Alexey Milovidov
6307661c35 Addition to prev. revision [#CLICKHOUSE-3300]. 2017-09-08 00:26:25 +03:00
Alexey Milovidov
3de701850c Added instruction for Coverity usage [#CLICKHOUSE-3285]. 2017-09-08 00:13:30 +03:00
Alexey Milovidov
9befe805e2 Added instruction for cppcheck usage [#CLICKHOUSE-3300]. 2017-09-08 00:09:58 +03:00
Alexey Milovidov
8b313ab99e Fixed warnings found by cppcheck [#CLICKHOUSE-3300]. 2017-09-08 00:04:48 +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
ea19c4494f Better test reverse (#1207)
* Again fix test 00501_http_head

* Better test reverse

* Fix test reverse sort

* Update clickhouse-test
2017-09-06 23:13:21 +03:00
proller
b538df661a Again fix test 00501_http_head 2017-09-06 22:07:22 +03:00
proller
888214e33d Revert "Reverse tests order"
- need smarter reverse

This reverts commit 16bd99493b.
2017-09-06 21:39:04 +03:00
proller
16bd99493b Reverse tests order 2017-09-06 20:16:17 +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
proller
0e4d49570b LibraryDictionarySource fixes 2017-09-05 20:14:46 +03:00
proller
2a7813049e LibDictionarySource : First lib dictionary version with only uint64 type support (#1150)
* Wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Do not use ccache if ccache defined in CMAKE_CXX_COMPILER_LAUNCHER

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Config: Allow multiple dictionaries_config

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* clean

* wip

* clean

* clean

* wip

* clean

* clean

* wip

* wip

* clean

* clean

* clean

* clean

* clean

* Requested changes

* Reqested changes

* Requested changes

* Requested changes

* Requested changes

* Requested changes

* requested changes

* Requested changes

* Requested changes

* requested changes

* Requested changes

* fix

* Requested changes

* Requested changes

* fix

* Requested changes

* Requested changes
2017-09-05 04:08:26 +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
Alexey Zatelepin
392b59a2fe fix running tests with custom clickhouse-client [#CLICKHOUSE-2] 2017-08-31 23:32:03 +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
aa2d29f5f9 Update ReadWriteBufferFromHTTP.cpp, Context.cpp, etc
Update ASTSystemQuery.cpp

Update ASTSystemQuery.h

Update dictionary_clickhouse_cache.xml

Update dictionary_clickhouse_flat.xml
2017-08-31 13:26:02 +03:00
alexey-milovidov
5d14855989 Merge branch 'master' into CLICKHOUSE-2931 2017-08-31 00:23:39 +03:00
Alexey Milovidov
9fdbd576f6 Merge branch 'master' of github.com:yandex/ClickHouse 2017-08-30 21:53:37 +03:00
Alexey Milovidov
1531268281 Added aggregate functions groupBitAnd, groupBitOr, groupBitXor [#CLICKHOUSE-2]. 2017-08-30 21:52:14 +03:00
Nikolai Kochetov
d4bf2bf102 replaced tabs to spaces in config files [#CLICKHOUSE-3031] 2017-08-30 21:30:57 +03:00
Nikolai Kochetov
ee90da3014 added tests [#CLICKHOUSE-3031] 2017-08-30 21:30:57 +03:00
Vitaliy Lyudvichenko
4b0c7ecf21 Add integration tests for SYSTEM queries. [#CLICKHOUSE-2931] 2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
eb05798130 Add SYSTEM queries parser. [#CLICKHOUSE-2931] 2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
b818258af9 Add ability to run an integration test env without test runs. [#CLICKHOUSE-2] 2017-08-25 16:51:12 +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
Nikolai Kochetov
7fa337c297 added tests [#CLICKHOUSE-3245] 2017-08-23 15:44:18 +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
Vitaliy Lyudvichenko
05d3f338ca Add useful .gitignore. [#CLICKHOUSE-2] 2017-08-14 15:03:43 +03:00
Vitaliy Lyudvichenko
33a50b4d65 Fix false IOError messages in integration tests log. [#CLICKHOUSE-2] 2017-08-14 14:49:30 +03:00
Alexey Milovidov
96d8ba9e3f Fixed typo [#CLICKHOUSE-2]. 2017-08-14 04:29:19 +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
1cc50263d8 Merge branch 'master' of github.com:yandex/ClickHouse 2017-08-13 12:20:15 +03:00
Alexey Milovidov
9aca95001e Fixed regression, added test [#CLICKHOUSE-2]. 2017-08-13 12:20:05 +03:00
Vitaliy Lyudvichenko
d9ce96f8f5 Fixed test and misspellings. [#CLICKHOUSE-3207] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
a34ab8201a Add FORMAT section for DDL queries CREATE, ALTER, RENAME, DROP. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
183c55676e Fixed ON CLUSTER DDL for Views. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
e4785aeb4d Simplified clean queue logic. Added more tests. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
c2e84d6df7 Fixed several errors in case of connection loss. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
cb02a1b3b5 Add random ZK packets drops into test. Fixed a couple bugs. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
c2cf3f81be Fix test after rebase. [#CLICKHOUSE-312] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
628de0a3ea Fixed logging of DDL queries. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
736feab79f Add port field. [#CLICKHOUSE-3128] 2017-08-13 12:18:46 +03:00
Alexey Zatelepin
c99f3d7ee0 add test [#CLICKHOUSE-3151] 2017-08-13 12:17:09 +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
b7f8ac1f2d rewrote rewriting of SELECT query in StorageMerge with WITH statement 2017-08-12 00:01:28 +03:00
Nikolai Kochetov
ac87cb035f added test to former WITH clause in SELECT query 2017-08-12 00:01:28 +03:00
alexey-milovidov
9b99dfb53d Merge pull request #1031 from yandex/wait-for-insertion-in-distributed
Wait for insertion in distributed
2017-08-11 21:35:13 +03:00
Alexey Milovidov
6edb14ba6b Fixed garbage [#CLICKHOUSE-2]. 2017-08-09 04:35:12 +03:00
Nikolai Kochetov
43dc201f49 merged with master 2017-08-08 15:11:49 +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
d70f59e9bb Added performance test [#CLICKHOUSE-2]. 2017-08-05 07:13:23 +03:00
Alexey Milovidov
24d8f0aedf Added performance test [#CLICKHOUSE-2]. 2017-08-05 06:30:54 +03:00
Alexey Milovidov
8d7214e554 Added performance test [#CLICKHOUSE-3202]. 2017-08-05 05:29:38 +03:00
Alexey Milovidov
57b2dbfa93 Added test [#CLICKHOUSE-3202]. 2017-08-05 05:24:13 +03:00
Nikolai Kochetov
83cd2a40e4 added test 2017-08-03 15:58:04 +03:00
proller
d6833a0d55 Cmake: remove global include_directories (#1055)
* Fix .h compile

* Cmake: remove global include_directories

* boost include hide

* fix cctz

* add \n
2017-08-03 15:44:39 +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
8523d3fc8f Testing mysqlxx::PoolWithFailover [#CLICKHOUSE-3167] 2017-07-28 00:11:57 +03:00
Alexey Milovidov
2c815356c1 Fixed regression in parsing of CAST [#CLICKHOUSE-3180]. 2017-07-27 22:25:52 +03:00
Nikolai Kochetov
c88e8a79cc merged with master 2017-07-27 18:43:46 +03:00
Vitaliy Lyudvichenko
da9cdfc2f2 Fix integration tests. [#CLICKHOUSE-3173] 2017-07-27 11:19:20 +03:00
Vitaliy Lyudvichenko
bf1949fc11 Add test. [#CLICKHOUSE-3173] 2017-07-27 11:19:20 +03:00
Vitaliy Lyudvichenko
cd5bb4d921 Add replicated_deduplication_window_seconds merge_tree parameter. [#CLICKHOUSE-3173] 2017-07-27 11:19:20 +03:00
Nikolai Kochetov
63cdf84fe3 added test 00481_reading_from_last_granula 2017-07-26 20:03:09 +03:00
Nikolai Kochetov
19d3c36871 added tests for synchronous insert into distributed table [#CLICKHOUSE-3033] 2017-07-26 17:41:21 +03:00
Alexey Milovidov
3dcb2e6aed Fixed test [#CLICKHOUSE-2]. 2017-07-26 04:21:19 +03:00
Alexey Milovidov
de1f4f4c5b Merge branch 'master' of github.com:yandex/ClickHouse 2017-07-26 00:07:13 +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
Alexey Zatelepin
2aaa847e10 add forgotten files [#CLICKHOUSE-3126] 2017-07-25 19:36:14 +00: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
Alexey Milovidov
487278e2f5 Added support for non-constant and negative offset and size for substring function (continued) [#CLICKHOUSE-2]. 2017-07-25 01:44:13 +03:00