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
Alexey Milovidov
5324571adf
Removed setting "distributed_ddl_allow_replicated_alter" [#CLICKHOUSE-2].
2018-02-06 21:29:35 +03:00
Alexey Milovidov
7a793e1a80
Removed duplicate comments for embedded documentation of Settings; cleanup [#CLICKHOUSE-2]
2018-02-06 21:28:07 +03:00
Alexey Milovidov
16ff7b7563
Better exception message for "Different expressions with the same alias" [#METRIKASUPP-8947].
2018-02-05 17:03:01 +03:00
zhang2014
62b6a9e07c
ISSUES-117 resolve some opinions
2018-02-03 16:00:14 +08:00
proller
0c00e47930
Fix tests
2018-02-02 20:29:45 +03:00
zhang2014
982b2ee7ca
ISSUES-117 resolve some opinions
2018-02-02 22:20:35 +08:00
zhang2014
4875a80825
Merge branch 'master' into fix/ISSUES-117
2018-02-02 20:21:40 +08:00
Vitaliy Lyudvichenko
118b17253e
Add system_profile config. [#CLICKHOUSE-3558]
2018-02-01 16:53:44 +03:00
zhang2014
c74970c098
ISSUES-195 fix complex in expression with single element
2018-01-31 16:38:48 +03:00
Vitaliy Lyudvichenko
94f38d744e
Merge pull request #1750 from yandex/CLICKHOUSE-3346
...
Fault-tolerant cluster copier util
2018-01-31 13:21:51 +03:00
Vitaliy Lyudvichenko
a4248ad45c
Resolves #1560 . Fixed DROP DATABASE. [#CLICKHOUSE-3]
2018-01-30 13:51:19 +03:00
Nikolai Kochetov
b0f66bb234
remote don't use rpc for local replicas
2018-01-29 13:08:20 +03:00
zhang2014
19e7c291db
ISSUES-117 support drop temporary table
2018-01-28 00:19:00 +08:00
zhang2014
bfe48f1255
ISSUES-117 support show tables with temporary table
2018-01-28 00:07:55 +08:00
proller
288c6c8406
Fix test in macos
2018-01-26 17:18:35 +03:00
Vitaliy Lyudvichenko
e2fb6d8c80
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-3346
2018-01-25 22:00:08 +03:00
Vitaliy Lyudvichenko
61233b886a
Better system.part_log. [#CLICKHOUSE-3342]
2018-01-25 21:40:02 +03:00
zhang2014
f0e097ea4d
ISSUES-320 fix test failed
2018-01-26 00:57:48 +08:00
Vitaliy Lyudvichenko
8be2bfc513
Added docs and requested changes. [#CLICKHOUSE-3346]
2018-01-25 15:45:07 +03:00
Alexey Milovidov
6a60a6dbde
Fixed error in prev. revision [#CLICKHOUSE-2]
2018-01-23 22:43:06 +03:00
alexey-milovidov
b8cb9267c7
Merge pull request #1804 from arkhipov/master
...
Replace subqueries and table expressions on the right side of the IN …
2018-01-23 22:31:49 +03:00
Vlad Arkhipov
6738d6a995
Add comments. Improve method names.
2018-01-23 11:18:12 +03:00
Nikolai Kochetov
018c32010e
added macro for cluster name in Distributerd table and DDL [#CLICKHOUSE-3409]
2018-01-22 21:49:17 +03:00
alexey-milovidov
21274e80cc
Update Set.cpp
2018-01-22 21:07:55 +03:00
Vitaliy Lyudvichenko
1000328571
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-3346
2018-01-22 20:31:08 +03:00
Alexey Milovidov
98c52ede21
Style [#CLICKHOUSE-2]
2018-01-22 07:05:18 +03:00
Alexey Milovidov
5647a26f45
Style [#CLICKHOUSE-2]
2018-01-22 07:04:57 +03:00
zhang2014
0f415424f8
ISSUES-320 fix failed test
2018-01-21 18:58:13 +08:00
zhang2014
054777a5ab
ISSUES-320 fix rewrite expression for union all
2018-01-21 17:29:55 +08:00
Vlad Arkhipov
be96cf5133
Replace subqueries and table expressions on the right side of the IN operator with their results in order to make MergeTree storage engines evaluate the corresponding conditions by using the index.
2018-01-21 11:22:52 +03:00
proller
c430af5fb8
Freebsd fixes
2018-01-21 02:23:19 +03:00
Alexey Milovidov
9a02d4f5ff
Merge branch 'master' of github.com:yandex/ClickHouse into header-in-input-streams
2018-01-20 04:20:40 +03:00
alexey-milovidov
1f9ea8b6b0
Merge pull request #1721 from zhang2014/fix/ISSUES-957
...
ISSUES-957 fix not work when materialized columns with buff table
2018-01-19 21:50:26 +03:00
alexey-milovidov
1b462b0b94
Merge pull request #1759 from yandex/CLICKHOUSE-3432
...
Fixed 'intersects previous part' due to blind OPTIMIZE
2018-01-19 21:48:41 +03:00
Alexey Milovidov
9f57a1f7a5
Fixed error: if default user had readonly accesss, the server could not start [#CLICKHOUSE-2]
2018-01-19 02:40:32 +03:00
proller
76cf0ba5d0
Better tests ( #1785 )
...
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed: dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h
* Fix space
* Fix data in system.build_options
* merge
* merge
* Travis optimize
* optimize
* Fix clickhouse-test --no-long
* no long
* Split too long test
* Better tests
* missing file
* Fix includes
* Added draft [#CLICKHOUSE-2].
* fix
* fix
* fix
* Fix test 281 under asan
2018-01-18 23:33:16 +03:00
proller
c3287caf47
Fix test 281 under asan
2018-01-18 17:49:19 +03:00
alexey-milovidov
7a25b441f4
Merge pull request #1773 from yandex/small-enhancements
...
Small enhancements
2018-01-16 22:07:43 +03:00
proller
d97b2edc7c
Make separate libs Common/ZooKeeper and Common/ConfigProcessor ( #1749 )
...
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed: dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h
* Fix space
* Fix data in system.build_options
* merge
* merge
2018-01-15 22:07:47 +03:00
Vitaliy Lyudvichenko
f20f3f21c4
Update clusters in SYSTEM DROP DNS query. [#CLICKHOUSE-3478]
2018-01-15 17:57:47 +03:00
Vitaliy Lyudvichenko
03bca2144d
OPTIMIZE doesn't produce intersecting merges now, add optimize_throw_if_noop setting. [#CLICKHOUSE-3432] [#CLICKHOUSE-3420]
...
Resolves #1753
2018-01-15 13:13:18 +03:00
Amos Bird
00c35897fa
Get rid of unnecessary check
2018-01-15 11:18:52 +08:00
zhang2014
66dd568e64
ISSUES-957 update condition & test
2018-01-12 21:03:35 +08:00
Vitaliy Lyudvichenko
388d47bbbc
Merge branch 'CLICKHOUSE-3346-v310' into CLICKHOUSE-3346
2018-01-11 23:51:30 +03:00
Vitaliy Lyudvichenko
c818beedcb
Make data_path creation for Databases optional. [#CLICKHOUSE-2]
2018-01-11 21:55:43 +03:00
Alexey Milovidov
73460a5f86
Fixed error [#CLICKHOUSE-2].
2018-01-11 21:55:31 +03:00
Vitaliy Lyudvichenko
ac17c59108
Updated describe query, cluster copier draft. [#CLICKHOUSE-3346]
2018-01-11 21:55:08 +03:00
张健
6f28e0a66a
Merge branch 'master' into fix/ISSUES-957
2018-01-10 14:53:52 +08:00
zhang2014
fc62a3677c
ISSUES-957 update setting desc & add condition for insert pipline
2018-01-10 13:26:40 +08:00
Alexey Milovidov
550053a0ca
Merge branch 'master' into header-in-input-streams
2018-01-10 03:05:51 +03:00
Alexey Milovidov
0bfea2f52c
Miscellaneous [#CLICKHOUSe-2]
2018-01-10 03:04:08 +03:00
Alexey Milovidov
d5f6c8365e
Fixed test [#CLICKHOUSE-2].
2018-01-10 00:26:11 +03:00
Nikolai Kochetov
cbeeb84999
added http_*_timeout settings [#CLICKHOUSE-3440]
2018-01-09 21:41:01 +03:00
Alexey Milovidov
996eafada9
Revert "Remove hard-coded paths in Interpreters/Compiler.cpp"
...
This reverts commit 3a97fbd0e7
.
2018-01-09 20:49:25 +03:00
Amos Bird
a3d2a4fe4d
NonJoinedBlockInputStream generates duplicate records across block.
...
This patch fixes the iterator incrementation.
2018-01-09 20:30:07 +03:00
Roman Tsisyk
3a97fbd0e7
Remove hard-coded paths in Interpreters/Compiler.cpp
...
Interpreters/Compiler.cpp contained hard-coded paths for system's
includes needed for query compiler. These paths were not portable
between different Linux distros and gcc/clang versions. For example,
Debian/Ubuntu use /usr/lib/gcc/x86_64-linux-gnu/*/include,
RHEL/Fedora use /usr/lib/gcc/x86_64-redhat-linux/*/include,
others use /usr/lib/gcc/*/include (without x86_64-XXX triplet).
Patch 68850012b
"Embedded compiler fixes" attempted to fix this problem
by adding CMAKE_LIBRARY_ARCHITECTURE after /usr/lib. Unfortunally,
CMAKE_LIBRARY_ARCHITECTURE is not defined on RHEL/Fedora because someone
decided to omit "-gnu" from x86_64-redhat-linux (see RHBZ#1531678).
Patch 70e35d0bc
"Build fixes (#1718 )" added a workaround for
undefined CMAKE_LIBRARY_ARCHITECTURE on RHEL/Fedora, but hasn't fixed
problem with missing /usr/lib/gcc/x86_64-redhat-linux/*/include/
in the list of hardcoded paths.
Remove hard-coded paths and get the list of `-isystem` includes directly
from bundled clickhouse-clang.
Other changes:
- Enable RPATH for the build directory to get working binaries
without installing them by `make install`.
2018-01-09 20:24:25 +03:00
Alexey Milovidov
fe880d73e7
Added method "getHeader" in IBlockInputStream [#CLICKHOUSE-2]
2018-01-09 03:19:58 +03:00
Alexey Milovidov
1780e6c1d9
Added method "getHeader" in IBlockInputStream [#CLICKHOUSE-2]
2018-01-08 04:14:43 +03:00
Alexey Milovidov
12c521fa25
Added method "getHeader" in IBlockInputStream [#CLICKHOUSE-2]
2018-01-07 03:35:44 +03:00
Alexey Milovidov
9996e181e1
Added method "getHeader" in IBlockInputStream [#CLICKHOUSE-2]
2018-01-06 21:10:44 +03:00
Alexey Milovidov
c4687b5fb9
Unification of Nested: development [#CLICKHOUSE-2].
2018-01-02 08:54:34 +03:00
zhang2014
6fe64aa346
ISSUES-957 fix not work when materialized columns with buff table
2018-01-01 19:54:14 +08:00
proller
70e35d0bcc
Build fixes ( #1718 )
...
* Embedded compiler fixes
* common lib not needed for clang and lld
* Fix pthread link
* Fix shared build
* Arm fixes 1
* arm fix
* Unused fix
* Build fixes
* release --pbuilder
* release pbuilder fix
* FORCE_PBUILDER_CREATE=1 release
* release: Auto use clang with sanitizers
* Fix build without poco data odbc lib. zlib arm build fix.
* Fix freebsd build and build without mysql
* Tests: Dont eat my cpu!
* Test me
2017-12-29 18:48:20 +03:00
Alexey Milovidov
fcdd5de47d
Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
...
This reverts commit fcabe8b888
.
2017-12-28 07:39:19 +03:00
Alexey Milovidov
0fa9383d3e
Revert "Addition to prev. revision [#CLICKHOUSE-2]"
...
This reverts commit bc4a5794d9
.
2017-12-28 07:39:01 +03:00
Alexey Milovidov
798299ba89
Merge branch 'aavdonkin-master'
2017-12-28 07:33:55 +03:00
Alexey Milovidov
4448766266
Merging [#CLICKHOUSE-3114]
2017-12-28 07:28:05 +03:00
Alexey Milovidov
4cde48fb20
Merge branch 'master' of github.com:yandex/ClickHouse
2017-12-28 01:40:42 +03:00
proller
68850012bd
Embedded compiler fixes
2017-12-27 23:07:16 +03:00
Alexey Milovidov
f5b1ad1fa2
Merge branch 'master' into aavdonkin-master
2017-12-27 21:50:01 +03:00
Alexey Milovidov
b79aa5db4e
Update documentation about required ZK version; Miscellaneous #1458
2017-12-27 21:34:58 +03:00
Alexey Milovidov
09262ae0d7
Merge branch 'master' of github.com:yandex/ClickHouse
2017-12-27 01:56:30 +03:00
Alexey Milovidov
b2fcf06353
Merging [#CLICKHOUSE-3114]
2017-12-27 00:34:06 +03:00
proller
da1233fe3f
Fix missing includes
2017-12-26 22:02:00 +03:00
Alexey Milovidov
f87761df90
Merged with master; applied clang-format with newer files [#CLICKHOUSE-3114].
2017-12-26 21:32:17 +03:00
Alexey Milovidov
014641a5d9
Addition to prev. revision [#CLICKHOUSE-2]
2017-12-26 01:51:11 +03:00
Alexey Milovidov
c89041ce63
Removed questionable code (2) [#CLICKHOUSE-2].
2017-12-26 01:51:04 +03:00
Alexey Milovidov
ec71908b00
Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
...
This reverts commit fcabe8b888
.
2017-12-26 00:57:29 +03:00
Alexey Milovidov
827e82efa6
Revert "Addition to prev. revision [#CLICKHOUSE-2]"
...
This reverts commit bc4a5794d9
.
2017-12-26 00:57:19 +03:00
Alexey Milovidov
bc4a5794d9
Addition to prev. revision [#CLICKHOUSE-2]
2017-12-26 00:50:55 +03:00
Alexey Milovidov
fcabe8b888
Removed questionable code (2) [#CLICKHOUSE-2].
2017-12-26 00:32:33 +03:00
Alexey Milovidov
a85b2e5a95
Removed questionable code [#CLICKHOUSE-2].
2017-12-26 00:10:46 +03:00
Alexey Milovidov
bcfde7c6c0
Get rid of DataTypeNested, part 2 [#CLICKHOUSE-2].
2017-12-25 21:58:39 +03:00
proller
ccf7c1f760
pbuilder: install package and make simple query ( #1671 )
...
* pbuilder: install package and make simple query
* use B92test-pkg from system
* Fix
2017-12-25 19:01:03 +03:00
Alexey Milovidov
8ff93487e3
Miscellaneous [#CLICKHOUSE-2].
2017-12-25 07:01:46 +03:00
Alexey Milovidov
a71b04e377
Fixed "join_use_nulls" mode #1544
2017-12-25 03:38:45 +03:00
Chen Yufei
11c1f0ecc1
Fix LimitBlockInputStream creation.
...
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
2017-12-24 08:21:30 +03:00
Alexey Milovidov
5e39b55f60
Added PR changes #1676
2017-12-22 22:20:18 +03:00
Alexey Milovidov
3d4906e04c
Merge branch 'master' of https://github.com/kshvakov/ClickHouse-Server into kshvakov-master
2017-12-22 22:13:35 +03:00
proller
4f2b4efa25
UNION ALL: mismatch size #1444 ( #1446 )
...
* UNION ALL: mismatch size #1444
* Fix test reference
* restore InterpreterSelectQuery::initQueryAnalyzer
2017-12-22 21:30:42 +03:00
Alexey Zatelepin
6d5ce3fa9a
revert BackgroundSchedulePool usage in Replicated tables
2017-12-22 21:25:54 +03:00
Kirill Shvakov
34470ab6ca
Merge branch 'master' of https://github.com/yandex/ClickHouse
2017-12-22 11:38:06 +02:00
Alexey Milovidov
c990740b33
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Kirill Shvakov
d40d0657e0
Merge branch 'master' of https://github.com/yandex/ClickHouse
2017-12-20 10:21:25 +02:00
Kirill Shvakov
59aa1359c8
Access to TEMPORARY TABLES for read-only users
2017-12-20 09:52:06 +02:00
Alexey Milovidov
6c8a0e70fd
Additions after merge [#CLICKHOUSE-2].
2017-12-19 23:09:15 +03:00
alexey-milovidov
7a97d08b04
Merge branch 'master' into CLICKHOUSE-3361
2017-12-19 23:03:17 +03:00
Nikolai Kochetov
39ec3f7d74
changed exception message, added comments
2017-12-19 22:51:59 +03:00
Alexey Milovidov
1029b2a5ef
Fixed warning in SpecializedAggregator.h [#CLICKHOUSE-2].
2017-12-19 20:48:08 +03:00
alexey-milovidov
34d54ea349
Update CMakeLists.txt
2017-12-19 20:42:35 +03:00
proller
631f307b9f
Copy more platform-specific headers
2017-12-19 20:42:35 +03:00
Alexey Milovidov
93a300bea4
Miscellaneous [#CLICKHOUSE-2].
2017-12-19 00:49:34 +03:00
proller
ab5cbcc627
Try fix internal compiler [tests run] ( #1651 )
...
* Try fic interal compiler
* Debian: depend on tzdata package
* fix order
* Try fix
* fix
* try
* fix
* fix
* fix
* fix
2017-12-18 23:30:19 +03:00
alexey-milovidov
adfc743e06
Merge pull request #1658 from yandex/cow_columns
...
Better semantic of sharing columns.
2017-12-18 09:26:27 +03:00