Commit Graph

7818 Commits

Author SHA1 Message Date
alexey-milovidov
8522a1b4d1
Update StorageSystemMacros.h 2018-03-14 02:09:26 +03:00
alexey-milovidov
165de1bc36
Update Context.cpp 2018-03-14 02:03:00 +03:00
alexey-milovidov
b5b1f7c8bd
Update ConfigReloader.h 2018-03-14 02:01:03 +03:00
proller
304b4d3f99 Merge remote-tracking branch 'origin/fix' into fix 2018-03-14 00:26:03 +03:00
Vitaliy Lyudvichenko
f11f8e0365 Fixed DDLWorker after recent changes. [#CLICKHOUSE-2] 2018-03-14 00:20:08 +03:00
proller
53095aba45 fix 2018-03-13 22:58:26 +03:00
proller
13879f7491 Test client-server ssl 2018-03-13 22:49:21 +03:00
Alexey Zatelepin
5906c9a988 rename for clarity 2018-03-13 18:00:28 +03:00
Alexey Zatelepin
fdffbe53ac encapsulate ColumnsDeclaration [#CLICKHOUSE-3241] 2018-03-13 17:41:25 +03:00
Nikolai Kochetov
324cda232c fix clang build [#CLICKHOUSE-3591] 2018-03-13 14:53:27 +03:00
Nikolai Kochetov
632a2ecabc added SYSTEM RELOAD CONFIG query [#CLICKHOUSE-3591] 2018-03-13 13:41:47 +03:00
Alexey Milovidov
b7475b1d2c Fixed error: wrong timeouts passed to ConnectionPoolWithFailover [#CLICKHOUSE-3641] 2018-03-12 23:25:18 +03:00
Alexey Zatelepin
de1db216a5 getStructureOfRemoteTable returns info about column default kinds [#CLICKHOUSE-3241] 2018-03-12 23:21:54 +03:00
Alexey Zatelepin
78d92f6794 add some useful methods, rename for clarity [#CLICKHOUSE-3241] 2018-03-12 22:10:13 +03:00
Alexey Zatelepin
972db7b072 iterate over materialized columns where it makes sense 2018-03-12 22:07:48 +03:00
Alexey Zatelepin
71642b0880 use ColumnsDescription everywhere [#CLICKHOUSE-3241] 2018-03-12 22:07:48 +03:00
Vitaliy Lyudvichenko
0b82551829 Refined comment. [#CLICKHOUSE-2] 2018-03-12 22:02:54 +03:00
Nikolai Kochetov
8b09e55102 added system.macros table [#CLICKHOUSE-3591] 2018-03-12 21:38:00 +03:00
Nikolai Kochetov
4dd7f47ad5 reload macros with config [#CLICKHOUSE-3591] 2018-03-12 21:16:51 +03:00
alexey-milovidov
56deedfe9f
Merge pull request #2027 from yandex/CLICKHOUSE-3346
Sync insert and сluster copier enhancements
2018-03-12 20:58:53 +03:00
Nikolai Kochetov
60ab3294b1 fix concurrent select from system.parts_columns 2018-03-12 19:23:48 +03:00
proller
927b5a432e listen_try also ignore dns errors 2018-03-12 18:48:55 +03:00
Vitaliy Lyudvichenko
30b69c84ae Fixed Illegal PREWHERE error for Merge tables over Distributed. [#CLICKHOUSE-3637] 2018-03-12 18:14:26 +03:00
Vitaliy Lyudvichenko
32b617e1d6 Fixed extra squashing leaded to too big timeouts. [#CLICKHOUSE-3346] 2018-03-11 21:36:09 +03:00
alexey-milovidov
b30f97e0e6
Merge pull request #2017 from filimonov/master
Some documentation fixes (fix broken links, tiny changes in KILL query description)
2018-03-11 05:23:24 +03:00
Alexey Milovidov
5ff433b670 Merged Limits to Settings [#CLICKHOUSE-2021] 2018-03-11 03:15:26 +03:00
Mikhail Filimonov
d052f75395 Fixing broken and old-format links. 2018-03-11 00:36:26 +01:00
Alexey Milovidov
afbbd780e3 Fixed error with initialization of PartLog [#CLICKHOUSE-3354] 2018-03-10 22:57:13 +03:00
Alexey Milovidov
5fc47bdfb1 Fixed error [#CLICKHOUSE-3627] 2018-03-10 03:26:17 +03:00
Alexey Milovidov
7577b1db14 Added function "throwIf" [#CLICKHOUSE-2543] 2018-03-10 03:18:57 +03:00
Alexey Milovidov
f3b6d35167 Removed setting "strict_insert_defaults" [#CLICKHOUSE-2] 2018-03-10 03:11:39 +03:00
Alexey Milovidov
3fa72379bb Fixed error #245 2018-03-10 02:50:20 +03:00
Alexey Milovidov
3f8ef38b41 Fixed wording #245 2018-03-10 02:23:15 +03:00
Alexey Milovidov
97b30d0b33 Added column "peak_memory_usage" to SHOW PROCESSLIST #245 2018-03-10 02:09:28 +03:00
Alexey Milovidov
8ff0c520d0 Removed the possibility to use queries with empty query_id; better semantics #245 2018-03-10 02:04:26 +03:00
Alexey Milovidov
e102ba5415 Fixed error #245 2018-03-10 01:11:42 +03:00
Alexey Milovidov
add4d29298 Added "is_cancelled" columns to SHOW PROCESSLIST #245 2018-03-10 00:12:52 +03:00
Alexey Milovidov
65b95580f3 Removed useless code [#CLICKHOUSE-2] 2018-03-09 21:39:14 +03:00
Alexey Milovidov
d4043f5ac3 Temporarily disabled logger configuration update in runtime [#CLICKHOUSE-3630] 2018-03-09 15:53:52 +03:00
Alexey Milovidov
fbd50ad399 Fixed bug (dangling reference, use after free) [#CLICKHOUSE-2] 2018-03-09 02:58:13 +03:00
Alexey Milovidov
d0a15df011 Fixed non-harmful data race [#CLICKHOUSE-2] 2018-03-09 02:07:39 +03:00
Michael Furmur
8cb5733b44 add aggregate functions IntersectionsMax and IntersectionsMaxPos 2018-03-08 15:23:28 +02:00
Alexey Milovidov
310b9104b8 Removed useless method [#CLICKHOUSE-2] 2018-03-08 05:16:03 +03:00
Alexey Milovidov
aaee96fc9d Style [#CLICKHOUSE-2] 2018-03-08 04:50:58 +03:00
Alexey Milovidov
3a5754944e Fixed bug after merge [#CLICKHOUSE-2] 2018-03-08 00:32:35 +03:00
alexey-milovidov
e41e2fe613
Merge pull request #1912 from zhang2014/fix/ISSUES-369
ISSUES-369 add default database when create materialize view
2018-03-07 23:28:17 +03:00
alexey-milovidov
1ecb9dac72
Merge pull request #1901 from zhang2014/fix/ISSUES-117
ISSUES-117 add show create & exist temporary table
2018-03-07 22:53:11 +03:00
alexey-milovidov
6ce43a9816
Update InterpreterShowCreateQuery.cpp 2018-03-07 22:52:22 +03:00
alexey-milovidov
4ce15695d7
Update Context.cpp 2018-03-07 22:43:13 +03:00
alexey-milovidov
eecdbe9c7b
Update InterpreterShowCreateQuery.cpp 2018-03-07 22:39:05 +03:00
alexey-milovidov
2bb80baae5
Update Context.cpp 2018-03-07 22:33:40 +03:00
Alexey Milovidov
10a6b5c43f Fixed build after merge [#CLICKHOUSE-2] 2018-03-07 22:20:36 +03:00
alexey-milovidov
2daf6be96c
Merge pull request #2004 from yandex/CLICKHOUSE-3616
Prohibited non-UInt8 constants in WHERE
2018-03-07 22:07:24 +03:00
Alexey Milovidov
a50706f627 Merge branch 'master' of github.com:yandex/ClickHouse 2018-03-07 21:53:44 +03:00
Alexey Milovidov
5fbc1a1ee5 Fixed regression: cannot CREATE SELECT using HTTP interface [#CLICKHOUSE-2] 2018-03-07 21:53:21 +03:00
alexey-milovidov
bd455283cc
Merge pull request #1771 from joomag/dictionary-update
Add external dictionary update feature
2018-03-07 21:48:42 +03:00
proller
d73fea5ab0
Fix macos compile (#2006)
* Fix macos compile

* rename cluster-copier -> copier
2018-03-07 21:17:17 +03:00
proller
65722918e7 Add clickhouse-cluster-copier to debian package 2018-03-07 20:47:58 +03:00
KochetovNicolai
3d0f298ace
Merge pull request #2005 from yandex/fix-dictionary-block-input-stream-for-empty-dicts
fix DictionaryBlockInputStream::getBlock for empty dictionary
2018-03-07 18:20:19 +03:00
Nikolai Kochetov
3f5218bb11 fix DictionaryBlockInputStream::getBlock for empty dictionary 2018-03-07 18:11:23 +03:00
Vitaliy Lyudvichenko
96d4e59dab Simplified logic of distributed sync insert. [#CLICKHOUSE-2] 2018-03-07 17:39:02 +03:00
Vitaliy Lyudvichenko
47d1d4c83c More effective retries, fast partition discovering. [#CLICKHOUSE-3346] 2018-03-07 17:39:02 +03:00
Vitaliy Lyudvichenko
17f39ab33f Add deferred initialization of shards if enabled_partitions are specified. [#CLICKHOUSE-3346] 2018-03-07 17:39:02 +03:00
Vitaliy Lyudvichenko
270b6c968e Speed up initialization, fixed settings passing. [#CLICKHOUSE-3346] 2018-03-07 17:39:02 +03:00
Vitaliy Lyudvichenko
d6635c3bf5 Fixed several integration tests. [#CLICKHOUSE-2] 2018-03-07 16:52:09 +03:00
Vitaliy Lyudvichenko
7c3d0344e8 Prohibited non-UInt8 constants in WHERE. [#CLICKHOUSE-3616] 2018-03-07 16:12:35 +03:00
alexey-milovidov
a06af52824
Merge pull request #1995 from yandex/CLICKHOUSE-3616
Fixed segfault in case of WHERE <non-UInt8 type expression>
2018-03-06 22:10:14 +03:00
Alex Zatelepin
90ea45a397
better exception message [#CLICKHOUSE-3599] 2018-03-06 22:01:45 +03:00
Alexey Zatelepin
f3812dddea generic comparison code in GraphiteRollupSortedBlockInputStream [#CLICKHOUSE-3599] 2018-03-06 20:17:58 +03:00
Alexey Zatelepin
5d51c66bbb generic version comparison code for ReplacingMergeTree [#CLICKHOUSE-3599] 2018-03-06 20:17:58 +03:00
Alexey Zatelepin
ec91d29d6a correct MergingParams columns check [#CLICKHOUSE-3599] 2018-03-06 20:17:58 +03:00
Alexey Milovidov
8bc40879ab Fixed error [#CLICKHOUSE-2] 2018-03-06 19:11:29 +03:00
Vitaliy Lyudvichenko
1d247d0e31 Fixed segfault in case of WHERE <non-UInt8 type expression>. [#CLICKHOUSE-3616]
Prohibited non-UInt8 constants in WHERE expressions.
Fixed KILL QUERY syntax highlighting.
2018-03-06 18:42:00 +03:00
Alexey Milovidov
d134f90fa9 Whitespace [#CLICKHOUSE-2] 2018-03-06 14:59:25 +03:00
alexey-milovidov
1acf404ed1
Merge pull request #1831 from yandex/remote-table-function-insert-into-local-replica
Remote table function insert into local replica
2018-03-06 00:14:29 +03:00
proller
82a361d0e9 Show error to client if query was killed (#1989)
* Show error to client if query was killed

* Kill exception v2

* Use kill

* fix

* wip

* fix

* fxi

* try fix

* Revert "try fix"

This reverts commit eb76e4c040.

* QUERY_WASCANCELLED

* Fxi all cancel()

* fix
2018-03-06 00:09:39 +03:00
Alexey Milovidov
ff822f5d81 Modified comment [#CLICKHOUSE-2] 2018-03-05 21:26:43 +03:00
Nikolai Kochetov
d7e6225815 renamed treat_local_as_shared to treat_local_as_remote 2018-03-05 15:47:09 +03:00
Nikolai Kochetov
871a560b37 merged with master 2018-03-05 15:36:17 +03:00
Alexey Milovidov
91a6a88102 Explicit semantic for TSan [#CLICKHOUSE-2] 2018-03-03 21:00:46 +03:00
Alexey Milovidov
07d8db9f2a Explicit semantic for TSan [#CLICKHOUSE-2] 2018-03-03 20:44:53 +03:00
Alexey Milovidov
368f46d764 Addition to prev. revision [#CLICKHOUSE-2] 2018-03-03 19:48:24 +03:00
Alexey Milovidov
2e371822ad Changed low level data race to high level data race [#CLICKHOUSE-2] 2018-03-03 19:46:32 +03:00
Alexey Milovidov
3b0d713120 Cleanup semantics [#CLICKHOUSE-2] 2018-03-03 19:26:06 +03:00
Alexey Milovidov
c897e5ca39 Better [#CLICKHOUSE-2] 2018-03-03 18:36:20 +03:00
Alexey Milovidov
8c37547bfe Fixed harmless data race [#CLICKHOUSE-2] 2018-03-03 18:35:24 +03:00
Alexey Milovidov
1aad435d52 Fixed race condition at startup [#CLICKHOUSE-2] 2018-03-03 17:40:17 +03:00
Alexey Milovidov
ba481a6acd Fixed error with TOTALS [#CLICKHOUSE-3619] 2018-03-03 04:28:13 +03:00
Alexey Milovidov
cbb440e753 Execute table functions once for a query [#CLICKHOUSE-3615] 2018-03-03 04:01:14 +03:00
Alexey Milovidov
6017cb0355 Attempt to improve config load time [#CLICKHOUSE-3618] 2018-03-03 03:33:25 +03:00
Alexey Milovidov
790b4e3a1b Fixed build #1987 2018-03-02 22:40:44 +03:00
alexey-milovidov
9b4ea7acde
Merge pull request #1933 from zhang2014/fix/ISSUES-1386
ISSUES-1386 add illegal column exception when drop exist depend
2018-03-02 22:33:57 +03:00
alexey-milovidov
1bc8e61d8b
Update AlterCommands.cpp 2018-03-02 22:33:04 +03:00
alexey-milovidov
e57124481e
Update AlterCommands.cpp 2018-03-02 22:32:30 +03:00
alexey-milovidov
fad8a56dc7
Merge pull request #1987 from yandex/add-odbc-max-field-size
added odbc_default_field_size setting
2018-03-02 21:59:52 +03:00
Alexey Milovidov
bf924d1c9d Better name [#CLICKHOUSE-2] 2018-03-02 21:51:59 +03:00
Nikolai Kochetov
5842c35aeb added odbc_default_field_size setting 2018-03-02 15:59:41 +03:00
zhang2014
361a220743 Merge branch 'master' into fix/ISSUES-117 2018-03-02 19:06:11 +08:00
zhang2014
c400613f03 Merge branch 'master' into fix/ISSUES-369 2018-03-02 18:55:15 +08:00
zhang2014
4a38e97ed6 Merge branch 'master' into fix/ISSUES-1386 2018-03-02 18:03:18 +08:00