Commit Graph

10658 Commits

Author SHA1 Message Date
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
13e8dd6198 Unified filename of test #1933. 2018-03-02 22:35:34 +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
Alexey Milovidov
ce2fa2c4e7 Inline documentation for most of Limits [#CLICKHOUSE-2] 2018-03-02 11:12:43 +03:00
Alexey Milovidov
9024cf5fc8 Fixed test [#CLICKHOUSE-2]. 2018-03-02 10:43:47 +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
05893c1d44 Miscellaneous [#CLICKHOUSE-2] 2018-03-02 08:52:11 +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
alexey-milovidov
7e139866d2
Merge pull request #1984 from zhang2014/fix/subquery_in_create
Fix exist subquery when create materializer view
2018-03-02 04:28:58 +03:00
alexey-milovidov
b567c90a39
Merge pull request #1982 from zhang2014/fix/ISSUES-66
ISSUES-66 add insert into view test
2018-03-02 03:30:37 +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
zhang2014
54cba2f5a6 Fix exist subquery when create materializer view 2018-03-02 01:05:03 +08:00
zhang2014
ce2b100deb ISSUES-66 add insert into view test 2018-03-01 22:49:16 +08:00
Alexey Milovidov
37f9034575 Updated test #1550 2018-03-01 12:41:40 +03:00
Alexey Milovidov
ca60c0ccdf Added a test from Mikhail Kalashnikov for ALIAS columns in Distributed tables #590 #1947 2018-03-01 12:32:00 +03:00
Alexey Milovidov
a2e649f8c0 Updated test #1947 2018-03-01 11:56:12 +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
559da607fc Added test #878 2018-03-01 11:33:48 +03:00
Alexey Milovidov
8197574e37 Added test #1947 2018-03-01 11:07:46 +03:00
Alexey Milovidov
a27d27ac94 Added test #1947 [#CLICKHOUSE-3264] 2018-03-01 10:47:09 +03:00
Alexey Milovidov
28df0c3712 Removed unused constant #1947 2018-03-01 10:43:08 +03:00
Alexey Milovidov
0908ed1561 Added test #1947 2018-03-01 10:27:02 +03:00
Alexey Milovidov
4c87ae427d Added test #1947 2018-03-01 10:18:15 +03:00
Alexey Milovidov
c42d3ac17f Fixed error (PREWHERE in Distributed table) #1947 2018-03-01 10:11:35 +03:00
Alexey Milovidov
37f27b3e4b Added a test for type conversions in UNION ALL #1947 2018-03-01 10:05:03 +03:00
Alexey Milovidov
0bd9575125 Added a test from FacedSID #859 2018-03-01 09:50:46 +03:00
Alexey Milovidov
322e0ef4ec Added a test from George #728 2018-03-01 09:35:54 +03:00
Alexey Milovidov
69e8133fdc Added a test by Stas Sviridov #320 2018-03-01 09:21:15 +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
d8fdf33efd Fixed error in clickhouse-client [#CLICKHOUSE-2] 2018-03-01 09:18:44 +03:00
Alexey Milovidov
c80a0e549a Fixed error in clickhouse-client [#CLICKHOUSE-2] 2018-03-01 09:18:25 +03:00
Alexey Milovidov
8cb640ac54 Better UNION ALL: development #1947 2018-03-01 09:08:09 +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
58f9d3decc Better test [#CLICKHOUSE-2] 2018-03-01 07:51:54 +03:00
Alexey Milovidov
f159be3832 Fixed error #1947 2018-03-01 07:42:18 +03:00
Alexey Milovidov
fe2da8a2c7 Added method rename for StorageView [#CLICKHOUSE-2] 2018-03-01 07:23:32 +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
89b2d0d2de Fixed test #1947. 2018-02-28 23:05:49 +03:00
Alexey Milovidov
cfe900c997 Fixed test #1947. 2018-02-28 23:05:29 +03:00
Alexey Milovidov
9c68584281 Fixed error #1947 2018-02-28 22:47:33 +03:00
Alexey Milovidov
f1de27a21f Fixed error #1947 2018-02-28 22:36:18 +03:00
Alexey Milovidov
63467dbcc2 Fixed error #1947 2018-02-28 22:36:01 +03:00
Alexey Milovidov
c8ca339c24 Merge remote-tracking branch 'origin/master' into better-union-all-try2 2018-02-28 21:35:49 +03:00
Alexey Milovidov
063facc769 Miscellaneous [#CLICKHOUSE-2] 2018-02-28 21:25:22 +03:00
Alexey Milovidov
701a098acf Miscellaneous [#CLICKHOUSE-2] 2018-02-28 21:25:07 +03:00
Vitaliy Lyudvichenko
72bccacba5 Skip temporary editors' config files. [#CLICKHOUSE-3]
Resolves #1190
2018-02-28 16:25:13 +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
c4fdfbf287 Fixed error #1947 2018-02-28 07:14:18 +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
c35727c7ed Miscellaneous #1947 2018-02-28 03:07:39 +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
Vitaliy Lyudvichenko
f89d9dbfb9 Fixed segfault in an integration test. [#CLICKHOUSE-2] 2018-02-27 21:46:16 +03:00
proller
0e7c49fe9b
Build fixes (#1970)
* Macos test fix

* Fix freebsd build
2018-02-27 20:17:02 +03:00
alexey-milovidov
924cc3451f
Merge pull request #1955 from yandex/CLICKHOUSE-3606
Added consistent hashing functions
2018-02-27 10:52:41 +03:00
Vitaliy Lyudvichenko
cf5c378ed7 Add optimized version of sumbur hash, reduced buckets range. [#CLICKHOUSE-3606] 2018-02-27 03:01:51 +03:00
Alexey Milovidov
5d27e43f96 Better UNION ALL: development #1947 2018-02-27 00:00:42 +03:00
proller
720a11fe4e Fix gcc "may be used uninitialized" warning 2018-02-26 22:38:06 +03:00
Alexey Zatelepin
2a56dd075f fix typo 2018-02-26 22:33:16 +03:00
Vitaliy Lyudvichenko
8669983ce1 Add performance test. [#CLICKHOUSE-3606] 2018-02-26 22:00:40 +03:00
Alexey Milovidov
03d4c352ec Fixed bad test #1947 2018-02-26 21:39:21 +03:00
Alexey Milovidov
dff85044ec Fixed bad test #1947 2018-02-26 21:38:52 +03:00
proller
cf9a33d04f CLICKHOUSE-3600 Use correct lld version, cmake fixes (#1968)
* Allow build without rt library

* fix

* Cmake misc

* CLICKHOUSE-3600 Use correct lld version

* CLICKHOUSE-3600 Use correct lld version

* Use libllvm same version as clang

* fix

* Fix build with iodbc

* Fix iodbc build

* Fix gold find

* Fix empty lines
2018-02-26 21:34:22 +03:00
Alexey Zatelepin
1564e31616 check that lengths of arrays passed to arrayReduce() are equal [#CLICKHOUSE-3250] #1142 2018-02-26 19:58:51 +03:00
proller
566d66e858 Dictionary Library source: Persistent per-dictionary custom data store (#1917)
* LibraryDictionarySource: Support numeric types, initial support for strings

* Dictionary Library source with string types

* clang-format

* Dictionary Library source: Persistent per-dictionary custom data store

* Fix unused

* Allocate -> New

* Update examples

* fix
2018-02-26 19:57:14 +03:00
Vitaliy Lyudvichenko
4e27c268a1 Add clickhouse-copier description to the docs. [#CLICKHOUSE-3606] 2018-02-26 18:27:36 +03:00
Vitaliy Lyudvichenko
120530e44c Add requested changes. [#CLICKHOUSE-3606] 2018-02-26 15:14:20 +03:00
Alexey Milovidov
417cc7f6e2 Better UNION ALL: development #1947 2018-02-26 13:19:47 +03:00
Alexey Milovidov
b5610b9f81 Better UNION ALL: development #1947 2018-02-26 13:12:26 +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
5c450708e1 Fixed bad code #1947 2018-02-26 07:47:27 +03:00
Alexey Milovidov
a4544ac498 Fixed error [#CLICKHOUSE-2] 2018-02-26 06:47:32 +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
8c1e344b78 Removed useless code #1947 2018-02-25 09:09:09 +03:00
Alexey Milovidov
9d3d0410d7 Removed useless code #1947 2018-02-25 09:08:29 +03:00
Alexey Milovidov
6e8572e628 Merge branch 'master' into better-union-all-try2 2018-02-25 08:03:59 +03:00
Alexey Milovidov
9219b3d600 Fixed build [#CLICKHOUSE-2] 2018-02-25 08:01:12 +03:00
Alexey Milovidov
f3f2b74676 Miscellaneous [#CLICKHOUSE-2] 2018-02-25 05:45:36 +03:00
Alexey Milovidov
722b6287ec Miscellaneous [#CLICKHOUSE-2] 2018-02-25 05:43:27 +03:00
Alexey Milovidov
c86fd31097 Addition to prev. revision [#CLICKHOUSE-2] 2018-02-25 05:23:04 +03:00
Alexey Milovidov
b326a111d5 Fixed bad code that may lead to race condition [#CLICKHOUSE-2] 2018-02-25 04:30:03 +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
Vitaliy Lyudvichenko
11b4cf3163 Updated test. [#CLICKHOUSE-3606] 2018-02-24 01:47:35 +03:00
Vitaliy Lyudvichenko
077f413a0d Added consistent hashing functions. [#CLICKHOUSE-3606] 2018-02-24 00:22:52 +03:00
Alexey Milovidov
16bef55d0e Fixed bad translation [#CLICKHOUSE-2] 2018-02-23 22:07:38 +03:00
Alexey Milovidov
243563d247 Fixed build [#CLICKHOUSE-2] 2018-02-23 21:55:54 +03:00
Alexey Milovidov
d4217d7aac Updated test [#CLICKHOUSE-2] 2018-02-23 14:37:49 +03:00
Alexey Milovidov
c73f5d5e95 Fixed test [#CLICKHOUSE-2] 2018-02-23 14:35:05 +03:00
alexey-milovidov
05be50de89
Merge pull request #1954 from yandex/fix-race-condition-in-lazy-stream
Fix race condition in lazy stream
2018-02-23 14:16:37 +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
9e14dc18eb Fixed race condition in Lazy stream [#CLICKHOUSE-2] 2018-02-23 13:49:48 +03:00
Alexey Milovidov
1a3fa45b6f Fixed race condition in Lazy stream [#CLICKHOUSE-2] 2018-02-23 13:43:24 +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
Alexey Milovidov
ecc3ab8636 Fixed test #1896 2018-02-23 11:42:10 +03:00
chenxing.xc
c966bf0b95 update fix check table 2018-02-23 16:40:39 +08:00
Alexey Milovidov
90ca41f049 Fixed test #1896 2018-02-23 11:23:31 +03: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
Alexey Milovidov
ce1f9d7feb Fixed error #1947 2018-02-23 08:59:12 +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
zhang2014
88693fe85e ISSUES-1386 add test 2018-02-23 07:14:51 +08:00
Alexey Milovidov
245fd61b12 Unify NullableAdapterBlockInputStream and CastTypeBlockInputStream #1947 2018-02-23 02:02:35 +03:00
Alexey Milovidov
f792ab0824 Remove RemoveColumnsBlockInputStream #1947 2018-02-23 00:35:17 +03:00
Alexey Milovidov
c44108d5eb Allow to CAST Nullable type to non-Nullable as long as there are no NULL values #1947 2018-02-23 00:20:02 +03:00