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
Alexey Milovidov
7063e0cffe
Removed unused method #1947
2018-02-23 09:00:03 +03:00
zhang2014
01261181ae
ISSUES-117 use reference
2018-02-23 10:15:09 +08:00
Alexey Milovidov
640daaf052
Fixed test #1947
2018-02-23 04:00:47 +03:00
Alexey Milovidov
245fd61b12
Unify NullableAdapterBlockInputStream and CastTypeBlockInputStream #1947
2018-02-23 02:02:35 +03:00
alexey-milovidov
7a5ccc86cc
Merge pull request #1937 from yandex/CLICKHOUSE-3606
...
Update of clickhouse-copier
2018-02-22 23:42:33 +03:00
alexey-milovidov
2acdba3781
Merge pull request #1943 from yandex/add_path_to_system_tables_and_databases
...
Add path to system tables and databases
2018-02-22 19:26:19 +03:00
zhang2014
6f3d67be30
ISSUES-1386 fix failed test
2018-02-22 19:28:02 +08:00
Nikolai Kochetov
a75e095a80
added data_path and metadata_path to system.tables
2018-02-22 13:03:35 +03:00
alexey-milovidov
ac05c6f28b
Merge pull request #1902 from kshvakov/master
...
Использование произвольного ключа партиционирования для таблицы лога запросов
2018-02-22 03:39:00 +03:00
alexey-milovidov
3844b129f4
Update Context.cpp
2018-02-22 03:38:05 +03:00
alexey-milovidov
b6f3f06ef3
Merge branch 'master' into CLICKHOUSE-3606
2018-02-22 02:13:38 +03:00
Alexey Milovidov
72aac966b1
Fixed error with order of columns in FULL JOIN that may lead to segfault [#CLICKHOUSE-2]
2018-02-21 11:16:01 +03:00
Alexey Milovidov
4e3a0f0ac6
Fixed error [#CLICKHOUSE-2]
2018-02-21 09:25:21 +03:00
Alexey Milovidov
76cf9eb40b
Fixed error [#CLICKHOUSE-2]
2018-02-21 07:14:03 +03:00
Alexey Milovidov
19a946d8af
Preparation [#CLICKHOUSE-2]
2018-02-21 06:54:55 +03:00
Alexey Milovidov
63a9f96198
Preparation [#CLICKHOUSE-2]
2018-02-21 06:49:10 +03:00
Alexey Milovidov
a890473c02
Preparation [#CLICKHOUSE-2]
2018-02-21 06:26:06 +03:00
Alexey Milovidov
a69bd2220a
Merge branch 'master' into header-in-output-streams
2018-02-21 04:41:09 +03:00
Tsarkova Anastasia
d99d01ac3a
Fix data types for key_ranges
2018-02-20 23:03:15 +03:00
Alexey Milovidov
8942d7c127
Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]
2018-02-20 04:38:42 +03:00
Alexey Milovidov
fa6420b34d
Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]
2018-02-20 04:14:38 +03:00
Alexey Milovidov
4add285d55
Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]
2018-02-20 02:39:16 +03:00
Alexey Milovidov
bb05235608
Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]
2018-02-20 00:01:46 +03:00
Alexey Milovidov
ee4b5d2527
Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]
2018-02-19 23:23:25 +03:00
Vitaliy Lyudvichenko
369f88f65d
Rewritten and improved sync distributed insert. [#CLICKHOUSE-3346]
2018-02-19 20:26:47 +03:00
Alexey Milovidov
cd7a4de412
Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]
2018-02-19 06:00:16 +03:00
Alexey Milovidov
fa50fe80a0
Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]
2018-02-19 03:45:32 +03:00
Alexey Milovidov
7415513151
Return single row for aggregation without keys on empty set: development [#CLICKHOUSE-1920] #51
2018-02-18 08:35:48 +03:00
Alexey Milovidov
a4c10f7499
Header in every stream: development [#CLICKHOUSE-2]
2018-02-18 07:17:11 +03:00
Alexey Milovidov
afe09d3138
Removed unused code [#CLICKHOUSE-2]
2018-02-18 06:46:18 +03:00
Alexey Milovidov
754a4296df
Header in every stream: fixed non-deterministic test [#CLICKHOUSE-2]
2018-02-18 06:23:48 +03:00
Alexey Milovidov
df4853a13a
Header in every stream: development [#CLICKHOUSE-2]
2018-02-18 03:37:22 +03:00
Alexey Milovidov
a673790748
Header in every stream: development [#CLICKHOUSE-2]
2018-02-16 23:53:47 +03:00
Alexey Milovidov
69a9723ce2
Header in every stream: development [#CLICKHOUSE-2]
2018-02-15 22:48:41 +03:00
Alexey Milovidov
30b657a0da
Header in every stream: development [#CLICKHOUSE-2]
2018-02-15 21:54:12 +03:00
Alexey Milovidov
921e09b5f8
Merge branch 'master' into header-in-input-streams
2018-02-15 19:20:36 +03:00
Vitaliy Lyudvichenko
a4177287b1
Fixed too deep AST traversal. [#CLICKHOUSE-2]
2018-02-14 20:39:16 +03:00
Kirill Shvakov
ddb618b1d7
Use custom expr for query log
2018-02-14 10:01:41 +02:00
Kirill Shvakov
034566fff3
Use custom partition key for the query logs table
2018-02-14 09:24:26 +02:00
zhang2014
92b27e7b79
ISSUES-117 define error code in InterpreterShowCreateQuery
2018-02-14 15:15:44 +08:00
zhang2014
b89268ceb8
ISSUES-117 add show create & exist temporary table
2018-02-14 12:00:37 +08:00
proller
38343f7649
Internal compiler: write versions in header version mismatch message (using magic)
...
use same debug/release flags
2018-02-13 21:09:45 +03:00
Vitaliy Lyudvichenko
075a3cd811
Use absoulte paths in Compiler. [#CLICKHOUSE-3573]
2018-02-13 13:32:14 +03:00
Vitaliy Lyudvichenko
56add902d4
Removed superfluous FORMAT statements in .sql files. [#CLICKHOUSE-3]
2018-02-12 23:35:56 +03:00
Vitaliy Lyudvichenko
56bc773249
Fixed exception catching thrown from compiled .so files. [#CLICKHOUSE-3573]
2018-02-12 23:33:31 +03:00
alexey-milovidov
8fb9967903
Merge pull request #1879 from yandex/lambdas-without-prerequisites
...
Lambdas without prerequisites
2018-02-09 22:22:58 +03:00
alexey-milovidov
d3160393c5
Merge branch 'master' into CLICKHOUSE-3554
2018-02-08 23:07:50 +03:00
Alexey Milovidov
c942da4141
Fixed build #1824
2018-02-08 22:53:34 +03:00
alexey-milovidov
d6b7233aa3
Merge pull request #1824 from zhang2014/fix/ISSUES-117
...
ISSUES-117 support temporary table management
2018-02-08 22:42:10 +03:00
alexey-milovidov
960fad130c
Update InterpreterShowTablesQuery.cpp
2018-02-08 22:41:10 +03:00
Alexey Milovidov
5872cd5b63
Removed useless code [#CLICKHOUSE-2]
2018-02-08 22:20:24 +03:00
alexey-milovidov
121b163735
Update InterpreterShowTablesQuery.cpp
2018-02-08 22:14:59 +03:00
alexey-milovidov
a69dd93aab
Update InterpreterDropQuery.cpp
2018-02-08 22:14:22 +03:00
Nikolai Kochetov
e02ca10b9a
merged with master
2018-02-08 20:46:22 +03:00
Nikolai Kochetov
64b0279af5
removed ColumnExpression and DataTypeExpression [#CLICKHOUSE-3550]
2018-02-08 20:20:10 +03:00
Nikolai Kochetov
27179b375a
removed prerequisites [#CLICKHOUSE-3550]
2018-02-08 20:18:52 +03:00
Nikolai Kochetov
583ff32fe8
changed IFunction
2018-02-08 20:18:15 +03:00
Alexey Milovidov
03adf79fdc
Miscellaneous #320 #1763
2018-02-08 20:17:48 +03:00
Alexey Milovidov
75fb48c94c
Miscellaneous #1763 #320
2018-02-08 20:10:35 +03:00
alexey-milovidov
287dbcc3dd
Merge pull request #1763 from zhang2014/fix/ISSUES-320
...
ISSUES-320 Fix rewrite expression
2018-02-08 20:07:50 +03:00
Alexey Milovidov
953ab16cde
Miscellaneous #1853
2018-02-08 18:31:37 +03:00
Alexey Milovidov
777b4404bd
Fixed build #1853
2018-02-08 18:25:46 +03:00
alexey-milovidov
5a03f9e0fb
Merge pull request #1853 from ilyshnikova/master
...
Implement MergeTree index using for IN operator with tuple of columns.
2018-02-08 18:03:23 +03:00
Tsarkova Anastasia
5ecd50ff44
Adding comments. Reversing infinities.
2018-02-08 17:28:31 +03:00
Vitaliy Lyudvichenko
c575a7fe8a
Fix DROP of virtual databases. Add requested changes. [#CLICKHOUSE-3554]
2018-02-08 17:17:51 +03:00
alexey-milovidov
20686ab405
Merge pull request #1847 from yandex/CLICKHOUSE-3558
...
Add system_profile setting
2018-02-07 21:29:04 +03:00
Tsarkova Anastasia
c50ccabb0a
Implement MergeTree index using for IN operator with tuple of columns.
2018-02-07 18:29:00 +03:00