Commit Graph

1028 Commits

Author SHA1 Message Date
proller
4f2b4efa25 UNION ALL: mismatch size #1444 (#1446)
* UNION ALL: mismatch size #1444

* Fix test reference

* restore InterpreterSelectQuery::initQueryAnalyzer
2017-12-22 21:30:42 +03:00
proller
daab7adf6f client --ignore-error option (useful with --multiquery) (#1652)
* client --ignore-error option (useful with --multiquery)

* --ignore_error via lexer
2017-12-22 21:29:37 +03:00
proller
9b8972b4c8 Add bad queries from #1563 (#1653)
* cmake fix

* load shell_config.sh

* env bash

* fix

* use $CLICKHOUSE_CLIENT

* fix

* curl 1

* curl2

* curl3

* fix

* fix

* fix

* fix

* ExtractFromConfig --try

* fix

* fix

* Add symlinks to package

* fix bundle

* fix

* fix

* fix package

* clickhouse-test --order option

* client --ignore-error option (useful with --multiquery)

* add bad queries from @filimonov

* More queries

* --ignore_error via lexer

* fix

* rename
2017-12-22 21:29:03 +03:00
Alexey Milovidov
b9ca36e5ad Added test [#CLICKHOUSE-2]. 2017-12-22 06:59:48 +03:00
Alexey Milovidov
7a15be8e63 Fixed behaviour of "visitParamExtract" functions according to the documentation [#CLICKHOUSE-2]. 2017-12-22 05:25:03 +03:00
Alexey Milovidov
0972d7586a Added support for toQuarter, toRelativeQuarterNum functions. Enabled toRelativeHour/Minute/Second for Date arguments. Made function 'now' case insensitive. Added function 'dateDiff' that is needed for ODBC driver [#CLICKHOUSE-2]. 2017-12-22 04:54:29 +03:00
Alexey Milovidov
74f191dfd3 Introduced intExp functions; using it where appropriate; make them available in SQL [#CLICKHOUSE-3]. 2017-12-22 02:46:34 +03:00
Alexey Milovidov
46c733ec11 Added test for the issue found by StarWix [#CLICKHOUSE-3]. 2017-12-22 02:00:32 +03:00
Alexey Milovidov
fca5d5f2c7 Use better implementation for exp10 [#CLICKHOUSE-2]. 2017-12-22 02:00:32 +03:00
Alexey Milovidov
0744b9118f Fixed test [#CLICKHOUSE-2]. 2017-12-21 05:18:21 +03:00
Alexey Milovidov
128c4a38d6 Merge branch 'fix_aggregate_functions' of https://github.com/silviucpp/ClickHouse into silviucpp-fix_aggregate_functions 2017-12-21 05:14:21 +03:00
Alexey Milovidov
ef6d3be53a Simplification of aggregate functions: compatibility details [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
1a6f38b27f Merge branch 'master' into ks1322-master 2017-12-19 20:38:29 +03:00
Alexey Milovidov
50d09f08f5 Updated test [#CLICKHOUSE-2]. 2017-12-19 04:44:05 +03:00
Alexey Milovidov
521b3aee84 Fixed error found by M.Filimonov (equality of array sizes are not checked in n-ary version of aggregate functions with -Array combinator) [#CLICKHOUSE-2]. 2017-12-19 00:44:18 +03:00
Alexey Milovidov
6c28c72fdc Added test [#CLICKHOUSE-2]. 2017-12-19 00:16:20 +03:00
proller
bee53d483f Allow run tests without extract-from-config 2017-12-18 15:26:34 +03:00
alexey-milovidov
adfc743e06
Merge pull request #1658 from yandex/cow_columns
Better semantic of sharing columns.
2017-12-18 09:26:27 +03:00
Alexey Milovidov
27301ac380 Updated test [#CLICKHOUSE-2]. 2017-12-18 08:43:41 +03:00
Alexey Milovidov
88384bad05 Removed duplicate test [#CLICKHOUSE-2]. 2017-12-18 05:46:34 +03:00
ks1322
2fd62ccd9f added expect test 2017-12-17 23:46:52 +03:00
proller
e7f82b6a8c
Allow run test without package install and on custom ports. (#1643)
* ExtractFromConfig --try

* Add symlinks to package

* clickhouse-test --order option
2017-12-15 22:34:19 +03:00
Silviu Caragea
a1104644d9 Add tests 2017-12-14 11:02:12 +02:00
Alexey Milovidov
cfedf4d5b1 Merge branch 'fix14' of https://github.com/proller/ClickHouse into proller-fix14 2017-12-14 00:10:37 +03:00
Alexey Milovidov
0dd0d76b19 Added changes from proller [#CLICKHOUSE-2]. 2017-12-14 00:09:31 +03:00
proller
5453a41208 fix 2017-12-13 19:41:29 +03:00
proller
4076e14b6b Merge remote-tracking branch 'upstream/master' into fix14 2017-12-13 16:10:02 +03:00
alexey-milovidov
62fb610e4e
Merge pull request #1447 from yandex/support-table-functions-for-desc-and-insert
Support table functions for desc and insert
2017-12-11 23:28:10 +03:00
Nikolai Kochetov
f71b8bf58f merged with master 2017-12-11 21:13:24 +03:00
Nikolai Kochetov
1ba891f3fc removed owned_cluster_for_insertion from StorageDistributed [#CLICKHOUSE-3397] 2017-12-11 20:29:24 +03:00
proller
a1b4605314 Merge remote-tracking branch 'upstream/master' into fix14 2017-12-11 19:05:17 +03:00
Alexey Milovidov
6a568ab692 Technically allowed empty arrays of unspecified type [#CLICKHOUSE-2]. 2017-12-09 23:56:53 +03:00
Alexey Milovidov
6ecc93e607 Fixed error [#CLICKHOUSE-2] 2017-12-09 19:17:37 +03:00
Alexey Milovidov
02d00253e2 Fixed error [#CLICKHOUSE-2] 2017-12-09 19:17:37 +03:00
Alexey Milovidov
6cf5c63f4e Fixed error [#CLICKHOUSE-2] 2017-12-09 19:17:37 +03:00
Alexey Milovidov
642d7c2ff2 Added test [#CLICKHOUSE-2] 2017-12-09 19:17:37 +03:00
Alexey Milovidov
be70e6282e Added test [#CLICKHOUSE-3431]. 2017-12-09 19:17:37 +03:00
Alexey Milovidov
b00bb5c348 Added support for nullable types in HAVING section in presence of WITH TOTALS [#CLICKHOUSE-3431]. 2017-12-09 19:17:37 +03:00
proller
2bdc2c8900 Merge remote-tracking branch 'upstream/master' into fix14 2017-12-08 17:21:03 +03:00
Alexey Milovidov
7ef7ff9ae3 Simplification of Nullable [#CLICKHOUSE-2] 2017-12-08 12:45:07 +03:00
Alexey Milovidov
e2cd0272a4 Added support for aggregate functions of Nullable arguments in cases when they return non-Nullable result [#CLICKHOUSE-2]. 2017-12-08 12:07:52 +03:00
Alexey Milovidov
413e828cde Simplification of Nullable [#CLICKHOUSE-2] 2017-12-08 10:46:09 +03:00
Alexey Milovidov
bd6d69ba7d Simplification of Nullable [#CLICKHOUSE-2] 2017-12-08 10:42:35 +03:00
Alexey Milovidov
09ddf5e21d Simplification of Nullable [#CLICKHOUSE-2] 2017-12-08 10:12:00 +03:00
Alexey Milovidov
f85afb3986 Simplification of Nullable [#CLICKHOUSE-2] 2017-12-08 09:46:35 +03:00
Alexey Milovidov
fcf371a930 Simplification of Nullable [#CLICKHOUSE-2] 2017-12-08 07:52:38 +03:00
Alexey Milovidov
4c67c3b171 Simplification of Nullable [#CLICKHOUSE-2] 2017-12-08 07:09:32 +03:00
Alexey Milovidov
f63b511c83 Fixed tests [#CLICKHOUSE-2]. 2017-12-07 07:44:33 +03:00
Alexey Milovidov
f696e35ed8 Simplification of Nullable [#CLICKHOUSE-2] 2017-12-07 07:34:13 +03:00
Alexey Milovidov
8f248dd718 Simplification of Nullable [#CLICKHOUSE-2] 2017-12-07 07:12:40 +03:00