proller
571f92c7f6
Freebsd: zlib: dont use optimizations (broken asm)
2017-11-22 17:03:09 +03:00
proller
4fcb081f5b
Zlib: remove unused test targets
2017-11-22 15:15:17 +03:00
Maks Skorokhod
a6f1707158
🔁 add gcd and lcm to generate functions
2017-11-22 13:48:59 +03:00
Maks Skorokhod
f09855e6f8
🔧 use correct result types
2017-11-22 12:50:23 +03:00
Maks Skorokhod
c31fd8ba88
🔁 add GCD and LCM functions support
2017-11-22 12:25:36 +03:00
BayoNet
411f60924f
Merge remote-tracking branch 'upstream/master'
2017-11-22 09:28:31 +03:00
BayoNet
62128eff70
Array functions arrayConcat, arraySlice, arrayPopFront, arrayPopBack, arrayPushFront, arrayPushBack are described.
2017-11-22 09:14:09 +03:00
Alexey Milovidov
c13872450f
Whitespace [#CLICKHOUSE-2].
2017-11-22 05:42:53 +03:00
Alexey Milovidov
d50511b8e1
Whitespace [#CLICKHOUSE-2].
2017-11-22 05:42:02 +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-milovidov
35ce63a762
Revert "Propagate readPrefix in ParallelInputsProcessor"
2017-11-22 05:17:42 +03:00
Alexey Zatelepin
7775216c3d
do not save query output options to the ATTACH query [#CLICKHOUSE-3439]
2017-11-22 00:39:03 +03:00
Alexey Zatelepin
d6816c6f22
add test [#CLICKHOUSE-3448]
2017-11-22 00:39:03 +03:00
Alexey Zatelepin
b2963d4c60
add current database to a CREATE SELECT query only for views [#CLICKHOUSE-3448]
2017-11-22 00:39:03 +03:00
proller
e448f4a73a
Always make symlink to clickhouse-clang and clickhouse-lld (debian package fix)
2017-11-22 00:22:18 +03:00
proller
495156389c
Remove old contrib/libzlib-ng
2017-11-22 00:21:22 +03:00
Alexey Milovidov
f9cd1e7afc
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-21 23:10:58 +03:00
proller
411202d5ad
Zlib: as submodule, fix compile options; config: add logger options: logger.flush logger.rotateOnOpen
2017-11-21 23:10:37 +03:00
Alexey Milovidov
4aa520e7be
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-21 22:40:59 +03:00
alexey-milovidov
44b8cc2292
Update parseIdentifierOrStringLiteral.h
2017-11-21 22:35:54 +03:00
proller
2778f35e48
Lib Parsers
2017-11-21 22:35:54 +03:00
proller
0915657fca
Zlib-ng: enable zlib compat mode (this fixes log compression) (#CLICKHOUSE-3447)
2017-11-21 19:18:18 +03:00
Amos Bird
92811ca5f2
Make malformed array join
statement fail early
...
Currently array join clause that have no parent table can go through the parser and generates some confusing error.
```
create table aa (a Array(UInt64)) Engine=Memory;
select * from array join aa;
Received exception from server (version 1.1.54311):
Code: 208. DB::Exception: Received from localhost:9000, ::1. DB::Exception: No columns in nested table aa.
```
This patch makes it fail at client side.
```
Syntax error: failed at position 21:
select * from array join aa;
Expected one of: SAMPLE, INNER, WITH, HAVING, SETTINGS, identifier, Dot, ORDER BY, AS, GROUP BY, INTO OUTFILE, UNION ALL, LEFT ARRAY JOIN, ARRAY JOIN, table, table function, subquery or list of joined tables, array join, alias, FINAL, PREWHERE, WHERE, token, FORMAT, LIMIT
```
However I'm not sure if `ParserCompoundIdentifier` should be stricter so that `array` wouldn't be consider as a table name.
2017-11-21 15:16:15 +08:00
Alexey Milovidov
4bc98c9253
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-21 05:25:36 +03:00
Alexey Milovidov
63f79b7b4f
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-21 05:23:41 +03:00
Alexey Milovidov
e4d354e39a
Fixed error when using libressl instead of openssl #1466
2017-11-21 03:32:05 +03:00
Alexey Milovidov
111cf04627
Merge branch 'master' of github.com:yandex/ClickHouse
2017-11-21 03:30:53 +03:00
Alexey Milovidov
0e12a9c881
Updated submodule to HEAD of clickhouse branch [#CLICKHOUSE-2].
2017-11-21 03:30:27 +03:00
Alexey Milovidov
0d8d16b2fc
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-11-21 03:30:22 +03:00
Alexey Milovidov
8fcdc76619
Fixed error when using libressl instead of openssl #1466
2017-11-21 03:30:06 +03:00
alexey-milovidov
2350a73b8a
Merge pull request #1519 from amosbird/patch-3
...
Fixes StorageJoin's sample block order.
2017-11-20 23:16:45 +03:00
Vitaliy Lyudvichenko
2cf6e20fef
Fixed a vague error message in integration tests. [#CLICKHOUSE-2]
2017-11-20 23:15:30 +03:00
Alexey Milovidov
6fd1d58256
Updated submodule [#CLICKHOUSE-2].
2017-11-20 21:44:53 +03:00
Amos Bird
dc6847d5c6
Fixes StorageJoin's sample block order.
...
Here is a reproducible test case.
```
create table e (s UInt64, t UInt64) Engine = Memory;
create table v (s UInt64, w Float64, c UInt64) Engine = Join(Any, Inner, s);
insert into e values (1, 2), (1, 3), (1, 4), (2, 1), (2, 4), (3, 1), (4, 2), (4, 3);
insert into v values (1, 0.5, 3), (2, 0.5, 2), (3, 1, 1), (4, 0.5, 2);
select *, w, c from e any inner join v using (s);
```
# before this patch
```
┌─s─┬─t─┬─────w─┬──────────c─┐
│ 1 │ 2 │ 4e-45 │ 1051372192 │
│ 1 │ 3 │ 4e-45 │ 1051372192 │
│ 1 │ 4 │ 4e-45 │ 1051372192 │
│ 2 │ 1 │ 3e-45 │ 1056964608 │
│ 2 │ 4 │ 3e-45 │ 1056964608 │
│ 3 │ 1 │ 1e-45 │ 1065353216 │
│ 4 │ 2 │ 3e-45 │ 1056964608 │
│ 4 │ 3 │ 3e-45 │ 1056964608 │
└───┴───┴───────┴────────────┘
```
# after this patch
```
┌─s─┬─t─┬───w─┬─c─┐
│ 1 │ 2 │ 0.5 │ 3 │
│ 1 │ 3 │ 0.5 │ 3 │
│ 1 │ 4 │ 0.5 │ 3 │
│ 2 │ 1 │ 0.5 │ 2 │
│ 2 │ 4 │ 0.5 │ 2 │
│ 3 │ 1 │ 1 │ 1 │
│ 4 │ 2 │ 0.5 │ 2 │
│ 4 │ 3 │ 0.5 │ 2 │
└───┴───┴─────┴───┘
```
2017-11-20 19:46:24 +08:00
Alexey Milovidov
09eed1b2eb
Merge branch 'master' of github.com:yandex/ClickHouse
2017-11-20 09:13:18 +03:00
Alexey Milovidov
2fd17a3072
Fixed linking [#CLICKHOUSE-2].
2017-11-20 09:01:05 +03:00
Alexey Milovidov
07d594c505
Fixed linking [#CLICKHOUSE-2].
2017-11-20 08:59:58 +03:00
Alexey Milovidov
1334df72a0
Fixed build [#CLICKHOUSE-2].
2017-11-20 08:56:28 +03:00
Alexey Milovidov
a78871f065
Fixed build [#CLICKHOUSE-2].
2017-11-20 08:55:19 +03:00
Alexey Milovidov
1748c6c591
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-20 08:31:26 +03:00
Alexey Milovidov
3b5f82000c
Fixed linking [#CLICKHOUSE-2].
2017-11-20 08:22:54 +03:00
Alexey Milovidov
f6f77f5f0b
Fixed linking [#CLICKHOUSE-2].
2017-11-20 08:22:07 +03:00
Alexey Milovidov
3403f68c3f
Fixed linking [#CLICKHOUSE-2].
2017-11-20 08:21:50 +03:00
Alexey Milovidov
e218f8d2de
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-20 08:10:59 +03:00
Alexey Milovidov
087a379b7c
Using libc++ as default standard library when using clang [#CLICKHOUSE-2].
2017-11-20 08:10:04 +03:00
Alexey Milovidov
4565e30339
Updated submodule [#CLICKHOUSE-2].
2017-11-20 08:08:53 +03:00
Alexey Milovidov
91179c1773
Using libc++ as default standard library when using clang [#CLICKHOUSE-2].
2017-11-20 08:07:39 +03:00
Alexey Milovidov
7cce063d00
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-20 07:50:52 +03:00
Alexey Milovidov
feea8996d5
Miscellaneous [#CLICKHOUSE-2].
2017-11-20 07:46:00 +03:00
Alexey Milovidov
02a991a49c
Miscellaneous [#CLICKHOUSE-2].
2017-11-20 07:45:33 +03:00