Alexander Avdonkin
89db5040df
Implemented MySQL and ODBC storages and table functions
2017-12-05 16:32:02 +03:00
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
Alexey Milovidov
d50511b8e1
Whitespace [#CLICKHOUSE-2].
2017-11-22 05:42:02 +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
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
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
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
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
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
07d594c505
Fixed linking [#CLICKHOUSE-2].
2017-11-20 08:59:58 +03:00
Alexey Milovidov
a78871f065
Fixed build [#CLICKHOUSE-2].
2017-11-20 08:55:19 +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
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
02a991a49c
Miscellaneous [#CLICKHOUSE-2].
2017-11-20 07:45:33 +03:00
Alexey Milovidov
fbab976e09
Merge branch 'master' of github.com:yandex/ClickHouse
2017-11-20 07:44:53 +03:00
alexey-milovidov
c88855873d
Merge pull request #1516 from amosbird/patch-1
...
Propagate readPrefix in ParallelInputsProcessor
2017-11-20 07:45:40 +03:00
Alexey Milovidov
2106849ec2
Miscellaneous [#CLICKHOUSE-2].
2017-11-20 07:40:51 +03:00
Alexey Milovidov
725bd4046f
Miscellaneous [#CLICKHOUSE-2].
2017-11-20 07:36:46 +03:00
Alexey Milovidov
a7d4fef0d2
Removed useless code [#CLICKHOUSE-2].
2017-11-20 07:21:14 +03:00
Alexey Milovidov
01e8adbfff
Removed "experimental" namespace [#CLICKHOUSE-2].
2017-11-20 07:15:43 +03:00
Amos Bird
22e9772593
Propagate readPrefix in ParallelInputsProcessor
...
UnionBlockInputStream relies on ParallelInputsProcessor to do stream preparation in parallel, which seems to be absent. This patch fixes it.
2017-11-20 10:53:48 +08:00
Alexey Milovidov
31fc79b809
Returned serialization of zero Date and DateTime as zeros [#CLICKHOUSE-2].
2017-11-20 05:44:39 +03:00
Alexey Milovidov
6c8b5e29d8
Additions after merge [#CLICKHOUSE-2].
2017-11-20 00:17:58 +03:00
Alexey Milovidov
61402d052a
Merge branch 'proller-fix4'
2017-11-19 23:59:17 +03:00
alexey-milovidov
fc0a51f1b9
Merge branch 'master' into fix4
2017-11-19 23:57:44 +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
0a2a8ce435
Merge branch 'proller-fix11'
2017-11-19 22:58:13 +03:00
Alexey Milovidov
60825748d4
Merge branch 'fix11' of https://github.com/proller/ClickHouse into proller-fix11
2017-11-19 22:57:28 +03:00
alexey-milovidov
02223e3962
Update CMakeLists.txt
2017-11-19 22:55:38 +03:00
Alexey Milovidov
2f2e029e73
Updated Poco submodule [#CLICKHOUSE-2].
2017-11-19 22:50:07 +03:00
alexey-milovidov
06a0bd65b5
Merge pull request #1515 from lemmsh/stable-dicts-config-substitutions
...
Substitutions in dictionaries config
2017-11-19 22:47:27 +03:00
Pavel Yakunin
09616149c4
updating docs for dictionaries
2017-11-19 15:11:23 +03:00
Pavel Yakunin
975a9dcab9
updating docs for dictionaries
2017-11-19 15:07:08 +03:00
Pavel Yakunin
bb967007ff
merged master
2017-11-19 10:55:46 +03:00
Pavel Yakunin
753b862e45
Docs changed to support substitutions in dictionaries
2017-11-19 10:32:36 +03:00
Pavel Yakunin
bd62ea2535
To support "incl" directive in the dictionaries config ConfigProcessor is now used to parse external modules configuration.
...
"include_from" directive also works if the config has "<yandex>" as the root element. Otherwise default include file will be used.
To enable substitutions in a dictionary config one needs to have it in the following form:
<yandex>
<include_from>...</include_from>
<dictionary>
<name incl="dict_name"></name>
...
</dictionary>
</yandex>
instead of
<dictionaries>
<include_from>...</include_from>
<dictionary>
...
</dictionary>
</dictionaries>
The latter form will still work if no substitutions are used or if the default includes file exist. So no outright configuration change is necessary on the existing installations.
2017-11-19 09:33:20 +03:00