Alexey Milovidov
4a04537d44
Added tests [#CLICKHOUSE-3486].
2017-12-06 07:16:16 +03:00
alexey-milovidov
575a67b5d2
Merge branch 'master' into support-table-functions-for-desc-and-insert
2017-12-04 23:34:27 +03:00
Alexey Zatelepin
fb9c7ab81d
remove experimental_allow_extended_storage_definition_syntax Setting (turn on by default) [#CLICKHOUSE-3000]
2017-12-04 22:45:18 +03:00
proller
e38f3e0cb8
Silent test
2017-12-04 19:36:26 +03:00
proller
66ff90c025
client ignore-error option
2017-12-04 19:17:49 +03:00
proller
67765264c2
Merge remote-tracking branch 'upstream/master' into fix14
2017-12-04 14:27:19 +03:00
Alexey Milovidov
73d65ec4d4
Added another test for multidimensional columns [#CLICKHOUSE-2838].
2017-12-03 11:35:08 +03:00
Alexey Milovidov
7b447bc1e4
Added test for multidimensional columns [#CLICKHOUSE-2838].
2017-12-03 11:23:34 +03:00
Alexey Milovidov
903dc680bb
Fixed parsing and interpreting of tuples [#CLICKHOUSE-2].
2017-12-03 11:16:49 +03:00
Alexey Milovidov
35f98609e0
Updated test [#CLICKHOUSE-2].
2017-12-03 08:38:14 +03:00
Alexey Milovidov
0c89ad0269
Updated test [#CLICKHOUSE-2].
2017-12-03 08:34:37 +03:00
proller
71b9fa3a9c
Fix test
2017-12-01 21:40:57 +03:00
Nikolai Kochetov
5cbacbc2d7
fixed test [#CLICKHOUSE-3397]
2017-12-01 21:21:37 +03:00
proller
2663871717
Fix some server crashes on incorrect functions usage. Add test.
2017-12-01 21:03:56 +03:00
Nikolai Kochetov
470c633e09
merged with master
2017-12-01 16:33:47 +03:00
Nikolai Kochetov
f025f22007
Merge branch 'master' into support-table-functions-for-desc-and-insert
2017-12-01 16:24:50 +03:00
Alexey Milovidov
241e0638b7
Merge branch 'master' of github.com:yandex/ClickHouse into unify-data-types-that-serialized-with-multiple-streams
2017-12-01 15:36:15 +03:00
Alexey Milovidov
304acb9a8e
Merge branch 'unify-data-types-that-serialized-with-multiple-streams' of github.com:yandex/ClickHouse into unify-data-types-that-serialized-with-multiple-streams
2017-12-01 00:42:09 +03:00
Alexey Milovidov
dbc1b76ab1
Normalized tests: use /clickhouse/tables/test/ as prefix for tables in ZooKeeper [#CLICKHOUSE-2].
2017-12-01 00:41:29 +03:00
Alexey Milovidov
da795a6fb3
Normalized tests: use /clickhouse/tables/test/ as prefix for tables in ZooKeeper [#CLICKHOUSE-2].
2017-12-01 00:41:19 +03:00
proller
a520d30a5e
zlib fix flags in headers
2017-11-30 20:52:09 +03:00
Alexey Milovidov
cccf8aa8a8
Fixed test [#CLICKHOUSE-2].
2017-11-28 05:21:32 +03:00
Alexey Milovidov
6713069aef
Fixed test [#CLICKHOUSE-2].
2017-11-28 05:20:28 +03:00
Alexey Milovidov
95d33b3e65
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-27 22:33:38 +03:00
alexey-milovidov
3a0e0173ab
Merge pull request #1545 from samael500/master
...
Fix integer overflow
2017-11-25 01:43:48 +03:00
proller
0d3c4f4d67
Core/FieldVisitors.h -> Common/FieldVisitors.h
...
Core/Progress.h -> IO/Progress.h
tests: sudo --non-interactive
Fix freebsd link
2017-11-24 16:55:31 +03:00
Maks Skorokhod
66bbc737d4
✅ add test for gcd and modulo functions
2017-11-24 11:17:17 +03:00
Maks Skorokhod
a06ca9cb82
:octocat: merge with master
2017-11-23 11:57:10 +03:00
Maks Skorokhod
c4ee8b93e3
✅ add test for gcd/lcm functions
2017-11-23 11:47:34 +03:00
Alexey Milovidov
2d98a33dd0
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-22 05:40:07 +03:00
Alexey Zatelepin
d6816c6f22
add test [#CLICKHOUSE-3448]
2017-11-22 00:39:03 +03:00
Alexey Milovidov
2ca6952deb
Merge branch 'master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-20 02:16:18 +03:00
alexey-milovidov
942e59d459
Merge pull request #1455 from yandex/fix-mv-populate
...
Fix applying WHERE clause in MATERIALIZED VIEW with POPULATE
2017-11-19 23:01:23 +03:00
Alexey Milovidov
14e069f748
Allow to extract empty matches in "extractAll" function #1493 .
2017-11-18 05:48:11 +03:00
Vitaliy Lyudvichenko
ab0aff8709
Fixed SummingMergeTree. [#CLICKHOUSE-2]
2017-11-16 23:48:39 +03:00
Alexey Zatelepin
0342d785c9
add failing test [#CLICKHOUSE-3208]
2017-11-15 23:13:10 +03:00
alexey-milovidov
19e0cd879d
Extended date parsing ( #1495 )
...
* Allowed to parse Date in YYYY-mM-dD format [#CLICKHOUSE-3].
* Allowed to parse Date in YYYY-mM-dD format [#CLICKHOUSE-3].
2017-11-15 05:08:55 +03:00
Alexey Milovidov
c58ef28b60
Added test [#CLICKHOUSE-2].
2017-11-14 01:34:14 +03:00
Alexey Milovidov
afae2d7c67
Fixed incorrect test when no ZooKeeper configured [#CLICKHOUSE-2].
2017-11-09 22:50:28 +03:00
Alexey Milovidov
d52595735d
Renamed test [#CLICKHOUSE-2].
2017-11-09 22:27:30 +03:00
Alexey Milovidov
2d1702f8e6
Added test for enhanced time zones support [#CLICKHOUSE-3402].
2017-11-09 22:25:21 +03:00
Alexey Zatelepin
1b6a5ca6ea
add test [#CLICKHOUSE-3412]
2017-11-05 21:11:11 +03:00
Nikolai Kochetov
913937027b
fix test #CLICKHOUSE-3397]
2017-11-03 18:19:15 +03:00
Nikolai Kochetov
d566621349
insert into table function only with TABLE FUNCTION keywords #CLICKHOUSE-3397]
2017-11-03 18:14:19 +03:00
Nikolai Kochetov
2fca796925
added tests [#CLICKHOUSE-3397]
2017-11-03 16:54:50 +03:00
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
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
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 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
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
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
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
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
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
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
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