Nikolai Kochetov
fde23f7975
added array_join_columns [#CLICKHOUSE-3680]
2018-04-04 22:38:42 +03:00
Nikolai Kochetov
7d0602c279
added columns from array join to aggregated_columns [#CLICKHOUSE-3680]
2018-04-04 22:38:42 +03:00
Alexey Milovidov
76e822274a
Better exception messages [#CLICKHOUSE-2]
2018-04-04 00:29:11 +03:00
Nikolai Kochetov
4f7d262997
added aggregated_columns to mayBenefitFromIndexForIn [#CLICKHOUSE-3680]
2018-04-04 00:17:22 +03:00
Alexey Milovidov
f5652b4477
Modifications after removing libzookeeper; initialize ZooKeeper session lazily [#CLICKHOUSE-2]
2018-04-03 22:43:33 +03:00
Alexey Milovidov
08170d0d77
Modifications after removing libzookeeper [#CLICKHOUSE-2]
2018-04-03 21:24:18 +03:00
Alexey Milovidov
2310bd7947
Miscellaneous [#CLICKHOUSE-2]
2018-04-03 20:35:48 +03:00
Alexey Milovidov
205d648e0d
Fixed error with timeout of distributed queries, part 1 #217 [#CLICKHOUSE-1942]
2018-04-02 21:01:25 +03:00
alexey-milovidov
428ee63a04
Merge branch 'master' into libzookeeper-rewrite
2018-04-01 17:31:20 +03:00
alexey-milovidov
10e5d63d76
Merge pull request #2131 from ClickHouse-Ninja/system-log-prepare-table-on-each-flush
...
SystemLog: проверка структуры и существования таблицы при каждом flush
2018-03-29 23:55:14 +03:00
alexey-milovidov
30838f4d9f
Update SystemLog.h
2018-03-29 23:54:57 +03:00
Kirill Shvakov
b742908731
SystemLog: execute prepareTable() on each flush
...
Merge remote-tracking branch 'upstream/master' into system-log-prepare-table-on-each-flush
#2131 deleted excessive logging
Revert "#2131 deleted excessive logging"
This reverts commit d78a46d958
.
Revert "SystemLog: execute prepareTable() on each flush"
This reverts commit 7f60bb0a9b
.
SystemLog: execute prepareTable() on each flush
2018-03-29 16:57:16 +03:00
Vitaliy Lyudvichenko
63eee94319
Add max_network_bandwidth_for_all_users setting. [#CLICKHOUSE-2] ( #2137 )
2018-03-29 16:24:36 +03:00
proller
a6f9df105c
Allow use encryption for distributed tables ( #2065 )
...
* Allow use encryption for distributed tables
* wip
* fix
* rename encryption to secure
* Fix DirectoryMonitor with +secure
* fix
* fix
* Update DirectoryMonitor.cpp
* Update DirectoryMonitor.cpp
2018-03-29 04:41:06 +03:00
alexey-milovidov
a220a43b8e
Merge branch 'master' into fix-detach-database
2018-03-29 03:01:07 +03:00
alexey-milovidov
ca5fd1e9de
Merge pull request #2033 from yandex/show-create-database
...
Show create database
2018-03-28 05:29:36 +03:00
alexey-milovidov
e3cbd3306c
Merge pull request #2081 from yandex/stricter-mutable-column-semantic-2
...
&& - qualified IColumn::mutate
2018-03-28 05:27:35 +03:00
Nikolai Kochetov
d3157d910c
minor fixes
2018-03-27 22:14:48 +03:00
Nikolai Kochetov
0d3ee2e07b
Merge branch 'read_query_body_fix' of https://github.com/silviucpp/ClickHouse into silviucpp-read_query_body_fix
2018-03-26 21:30:15 +03:00
Nikolai Kochetov
d63d9a4ffb
fix test [#CLICKHOUSE-3590]
2018-03-26 18:48:19 +03:00
Alex Zatelepin
c5b04f7f17
Add info about total uncompressed part size to system tables ( #2052 )
...
* column size calculating routines now take into account multiple streams [#CLICKHOUSE-2831]
* rename for clarity
* use more appropriate method for calculating table size
* add info about total uncompressed part size to system.parts and system.parts_columns [#CLICKHOUSE-2831]
* rename columns for clarity [#CLICKHOUSE-2831]
* count shared substreams only once [#CLICKHOUSE-2831]
2018-03-26 17:18:04 +03:00
Alexey Milovidov
522bf01db9
Using different ZooKeeper library (development) [#CLICKHOUSE-2]
2018-03-25 03:15:52 +03:00
Alexey Milovidov
24f94d9352
Merge remote-tracking branch 'origin/master' into libzookeeper-rewrite
2018-03-24 23:30:57 +03:00
Alexey Zatelepin
2a366afbf5
add shutdowns everywhere [#CLICKHOUSE-3664]
2018-03-24 12:08:32 +00:00
Alexey Milovidov
10be6ca8f8
Rewriting ZooKeeper library [#CLICKHOUSE-2]
2018-03-24 03:45:04 +03:00
Alexey Zatelepin
cf3c24d07d
break cycle of ptrs to StorageReplicatedMergeTree [#CLICKHOUSE-3664]
2018-03-23 23:30:04 +03:00
proller
caf83a650e
libs: compiling with msvc2017 ( #1996 )
...
* Allow use bundled *ssl library
* fix
* Add submodule
* Fixes
* fix
* fixes
* fixes
* fix
* fix
* update poco
* fix warnings
* fix
* fix
* Build fixes
* Build fixes
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* add bat
* no zookeeper in dbms
* update boost
* fixes
* fixes
* fix
* fix
* fix
* fix
* try fix
* try fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* Better
* fix
* dh verbose
* fix
* dh verbose
* fix
* clean
* Update LocalDate.h
* Update LocalDateTime.h
2018-03-23 19:05:14 +03:00
Alexey Milovidov
d690c24198
Using different ZooKeeper library (development) [#CLICKHOUSE-2]
2018-03-22 00:40:53 +03:00
Nikolai Kochetov
a399c17f01
&& - qualified IColumn::mutate
2018-03-20 17:01:00 +03:00
Kirill Shvakov
109b73b947
fix CREATE TEMPORARY TABLE IF NOT EXISTS
2018-03-17 01:55:07 +03:00
Vitaliy Lyudvichenko
1f28410490
Fixed false positive error messages for queries with IN and ARRAY JOIN. [#CLICKHOUSE-2]
2018-03-16 17:11:49 +03:00
Alexey Milovidov
cf6112fd37
Fixed half of bad code [#CLICKHOUSE-2]
2018-03-16 09:39:32 +03:00
Alexey Milovidov
dc4a9be6fa
Fixed error with "makeSetsForIndex" [#CLICKHOUSE-2]
2018-03-16 09:33:23 +03:00
Alexey Milovidov
73b04a4d27
Revert "Attempt to fix bad code, try 2 [#CLICKHOUSE-3649] #1830 "
...
This reverts commit eb0095a7b9
.
2018-03-16 07:37:21 +03:00
Alexey Milovidov
eb0095a7b9
Attempt to fix bad code, try 2 [#CLICKHOUSE-3649] #1830
2018-03-16 07:13:24 +03:00
Alexey Milovidov
83b775fbf5
Attempt to fix bad code, try 1 [#CLICKHOUSE-3649] #1830
2018-03-16 07:10:38 +03:00
Alexey Milovidov
f4c54f02a5
Removed trashy, obsolete code [#CLICKHOUSE-3649]
2018-03-16 07:00:00 +03:00
Alexey Milovidov
25a691f03d
Don't allow Distributed table that look at itself [#CLICKHOUSE-2919].
2018-03-16 05:08:31 +03:00
Alexey Milovidov
3a8d6c28ef
Attempt to fix a regression [#CLICKHOUSE-2]
2018-03-16 00:44:09 +03:00
Vitaliy Lyudvichenko
e77701bd4b
Enable alisas for sets and tuples for IN operator. [#CLICKHOUSE-3]
...
Resolves #2044
2018-03-15 21:44:02 +03:00
Vitaliy Lyudvichenko
8028ba0de9
Refactoring of zkutil::ZooKeeper::multi* functions. [#CLICKHOUSE-2]
2018-03-14 16:29:03 +03:00
Nikolai Kochetov
d6e9d08d5e
getCreateTableQuery and getCreateDatabaseQuery [#CLICKHOUSE-3590]
2018-03-14 15:37:38 +03:00
alexey-milovidov
8bb3672bea
Update InterpreterSelectQuery.cpp
2018-03-14 05:42:48 +03:00
alexey-milovidov
9ac2569c65
Merge branch 'master' into refactor-table-declaration
2018-03-14 05:35:50 +03:00
Alexey Milovidov
8b59db58c3
Fixed uneven code #2032
2018-03-14 02:44:23 +03:00
alexey-milovidov
04cc8a52f7
Merge pull request #2032 from yandex/system-table-macro
...
System table macro
2018-03-14 02:10:30 +03:00
alexey-milovidov
165de1bc36
Update Context.cpp
2018-03-14 02:03:00 +03:00
Vitaliy Lyudvichenko
f11f8e0365
Fixed DDLWorker after recent changes. [#CLICKHOUSE-2]
2018-03-14 00:20:08 +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
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
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
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
2b3e897aa1
added SHOW CREATE DATABASE query [#CLICKHOUSE-3590]
2018-03-12 18:21:50 +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
5ff433b670
Merged Limits to Settings [#CLICKHOUSE-2021]
2018-03-11 03:15:26 +03:00
Alexey Milovidov
afbbd780e3
Fixed error with initialization of PartLog [#CLICKHOUSE-3354]
2018-03-10 22:57:13 +03:00
Alexey Milovidov
f3b6d35167
Removed setting "strict_insert_defaults" [#CLICKHOUSE-2]
2018-03-10 03:11:39 +03:00
Alexey Milovidov
3f8ef38b41
Fixed wording #245
2018-03-10 02:23:15 +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
fbd50ad399
Fixed bug (dangling reference, use after free) [#CLICKHOUSE-2]
2018-03-09 02:58:13 +03: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
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
5fbc1a1ee5
Fixed regression: cannot CREATE SELECT using HTTP interface [#CLICKHOUSE-2]
2018-03-07 21:53:21 +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
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
c897e5ca39
Better [#CLICKHOUSE-2]
2018-03-03 18:36:20 +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
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
4a38e97ed6
Merge branch 'master' into fix/ISSUES-1386
2018-03-02 18:03:18 +08:00
Alexey Milovidov
ce2fa2c4e7
Inline documentation for most of Limits [#CLICKHOUSE-2]
2018-03-02 11:12:43 +03:00
Alexey Milovidov
22bbc9f08c
Added limit on size of AST after expansion of aliases [#CLICKHOUSE-18]
2018-03-02 09:33:17 +03:00
Alexey Milovidov
7e7fe3c441
Execute table functions once for a query [#CLICKHOUSE-3615]
2018-03-02 08:44:17 +03:00
Alexey Milovidov
651a312896
Added ProfileEvent for table function executions [#CLICKHOUSE-3615]
2018-03-02 08:03:28 +03:00
Alexey Milovidov
eab9063352
Merge branch 'master' of github.com:yandex/ClickHouse
2018-03-02 07:05:38 +03:00
Alexey Milovidov
915f84a24f
Miscellaneous #1947
2018-03-02 07:05:20 +03:00
proller
f749405bf0
libressl as submodule ( #1983 )
...
* Allow use bundled *ssl library
* fix
* Add submodule
* Fixes
* fix
* fixes
* fixes
* fix
* fix
* update poco
* fix warnings
* fix
* fix
2018-03-02 03:17:25 +03:00
Alexey Milovidov
b162850754
Fixed error in checking limit on number of columns to read; added test for unnecessary columns removal inside subqueries with UNION ALL #1947 [#CLICKHOUSE-2210]
2018-03-01 11:46:59 +03:00
Alexey Milovidov
0213071683
Merge remote-tracking branch 'origin/master' into better-union-all-try2
2018-03-01 09:18:59 +03:00
Alexey Milovidov
15dc5da190
Fixed error #1947
2018-03-01 09:07:04 +03:00
Alexey Milovidov
b9c8c04d4b
Fixed error #1947
2018-03-01 08:42:44 +03:00
Alexey Milovidov
f7e0912d81
Added support for LIMIT BY arbitary expressions [#CLICKHOUSE-3613] #1947
2018-03-01 08:24:56 +03:00
Alexey Milovidov
e604be2799
Fixed error #1947
2018-03-01 07:57:51 +03:00
Alexey Milovidov
f159be3832
Fixed error #1947
2018-03-01 07:42:18 +03:00
Alexey Milovidov
280b4663c1
Caching table functions in query context #1947
2018-03-01 04:49:36 +03:00
Alexey Milovidov
e0798edc09
Better UNION ALL: development #1947
2018-03-01 04:25:06 +03:00
proller
d6a1f8470f
CLICKHOUSE-3553 Rebuild loggers on every config change ( #1973 )
...
* Macos test fix
* Fix freebsd build
* CLICKHOUSE-3553 Rebuild loggers on every config change
* rename clickhouse_common_configprocessor -> clickhouse_common_config; move Server/ConfigReloader.cpp -> Common/Config/
* CLICKHOUSE-3553 Set new level to all loggers on reload
* Dont use hash
* Update BaseDaemon.h
2018-02-28 23:34:25 +03:00
Alexey Milovidov
c8ca339c24
Merge remote-tracking branch 'origin/master' into better-union-all-try2
2018-02-28 21:35:49 +03:00
Vitaliy Lyudvichenko
9c889af882
Add allow_distributed_ddl setting. [#CLICKHOUSE-3611]
...
Clearer exception message.
Fixed Int64 settings parsing.
2018-02-28 16:23:40 +03:00
Alexey Milovidov
8b2ca20da2
Better UNION ALL: development #1947
2018-02-28 07:55:43 +03:00
Alexey Milovidov
7fc6e0f16e
Better UNION ALL: development #1947
2018-02-28 07:51:09 +03:00
Alexey Milovidov
672fc3a441
Better UNION ALL: development #1947
2018-02-28 07:49:39 +03:00
Alexey Milovidov
f4dbca54a1
Fixed bad code #1947
2018-02-28 07:30:27 +03:00
Alexey Milovidov
ca879f368b
Added setting "union_all_sequential" #1947
2018-02-28 05:33:04 +03:00
Alexey Milovidov
73e208ff97
Better UNION ALL: development #1947
2018-02-28 05:32:34 +03:00
Alexey Milovidov
9ea0a603a0
Better UNION ALL: development #1947
2018-02-28 04:29:55 +03:00
Alexey Milovidov
17ffe77b8c
Better UNION ALL: development #1947
2018-02-28 00:03:28 +03:00
Alexey Milovidov
492053bc43
Better UNION ALL: development #1947
2018-02-27 23:43:42 +03:00
Alexey Milovidov
a3386b3eba
Better UNION ALL: development #1947
2018-02-27 23:16:58 +03:00
Alexey Milovidov
7526d65cff
Better UNION ALL: development #1947
2018-02-27 22:38:59 +03:00
Alexey Milovidov
d4937621d3
Better UNION ALL: development #1947
2018-02-27 22:02:13 +03:00
Alexey Milovidov
8d72ca25d5
Better UNION ALL: development #1947
2018-02-27 22:00:55 +03:00
Alexey Milovidov
5d27e43f96
Better UNION ALL: development #1947
2018-02-27 00:00:42 +03:00
Alexey Milovidov
417cc7f6e2
Better UNION ALL: development #1947
2018-02-26 13:19:47 +03:00
Alexey Milovidov
4dee4770eb
Better UNION ALL: development #1947
2018-02-26 13:00:56 +03:00
Alexey Milovidov
437ba4856b
Better UNION ALL: development #1947
2018-02-26 12:55:14 +03:00
Alexey Milovidov
44d0736138
Better UNION ALL: development #1947
2018-02-26 12:10:11 +03:00
Alexey Milovidov
ac37b89b16
Better UNION ALL: development #1947
2018-02-26 12:05:06 +03:00
Alexey Milovidov
6ef9917fe2
Better UNION ALL: development #1947
2018-02-26 09:12:59 +03:00
Alexey Milovidov
a586fd119a
Merge branch 'master' into better-union-all-try2
2018-02-26 08:05:53 +03:00
Alexey Milovidov
89c0dc2eea
Fixed build #1947
2018-02-26 06:45:46 +03:00
Alexey Milovidov
d6121a8544
Simplification of AST #1947
2018-02-26 06:40:20 +03:00
Alexey Milovidov
601ff1eee4
Simplification of AST #1947
2018-02-26 06:37:08 +03:00
Alexey Milovidov
88b01e867d
Better UNION ALL: development #1947
2018-02-25 10:39:45 +03:00
Alexey Milovidov
6e93635275
Better UNION ALL: development #1947
2018-02-25 09:35:24 +03:00
Alexey Milovidov
6e8572e628
Merge branch 'master' into better-union-all-try2
2018-02-25 08:03:59 +03:00
Alexey Milovidov
c86fd31097
Addition to prev. revision [#CLICKHOUSE-2]
2018-02-25 05:23:04 +03:00
Alexey Milovidov
ab594375ab
Better UNION ALL: development #1947
2018-02-25 03:50:53 +03:00
Alexey Milovidov
97766684d7
Fixed (harmless) race condition [#CLICKHOUSE-2]
2018-02-24 07:46:14 +03:00
Alexey Milovidov
2b974554e5
Fixed test [#CLICKHOUSE-2]
2018-02-24 04:55:43 +03:00
Alexey Milovidov
3772c88472
Removed bad code that may lead to (harmless) race condition [#CLICKHOUSE-2]
2018-02-24 04:31:42 +03:00
alexey-milovidov
b12a41cdd5
Merge pull request #1951 from chenxing-xc/master
...
fix CHECK TABLE distributed_table crash issue
2018-02-23 14:13:09 +03:00
Alexey Milovidov
cae7f96f34
Simplification [#CLICKHOUSE-2]
2018-02-23 13:02:29 +03:00
Alexey Milovidov
ffc1a76d28
Removed unused method #1947
2018-02-23 12:09:49 +03:00
chenxing.xc
c966bf0b95
update fix check table
2018-02-23 16:40:39 +08:00
Alexey Milovidov
36a9502e80
Simplification #1896
2018-02-23 11:05:21 +03:00
chenxing.xc
ec28a1e661
fix check distribute_table crash issue
2018-02-23 15:17:43 +08:00
Alexey Milovidov
466837b17c
Removed controversial feature #1896
2018-02-23 10:06:59 +03:00
Alexey Milovidov
0207760c05
Limit and quota on result must not apply for intermediate data in subqueries and INSERT SELECT [#CLICKHOUSE-3351]
2018-02-23 09:38:23 +03:00
Alexey Milovidov
1f029c3f15
Preparations #1947
2018-02-23 09:00:48 +03:00