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
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
82fa3883f8
Merge pull request #1930 from yandex/nonblocking-precommitted
...
Allow PreCommitted parts to contain each other
2018-02-22 23:35:16 +03:00
Alexey Milovidov
03c3b18e96
Fixed error with dynamic compilation of quantile family of aggregate functions #1931
2018-02-22 20:32:06 +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
Vitaliy Lyudvichenko
07d01d2dfb
Fixed build after merge. [#CLICKHOUSE-3606]
2018-02-22 14:40:23 +03:00
zhang2014
6f3d67be30
ISSUES-1386 fix failed test
2018-02-22 19:28:02 +08:00
zhang2014
9cffea1958
ISSUES-1386 resolve some opinions
2018-02-22 19:27:58 +08:00
Nikolai Kochetov
c7f5f6f574
added data_path and metadata_path to system.databases and path to system.parts and system.parts_columns [#CLICKHOUSE-3580]
2018-02-22 13:03:45 +03:00
Nikolai Kochetov
a75e095a80
added data_path and metadata_path to system.tables
2018-02-22 13:03:35 +03:00
KochetovNicolai
bcad88c9ae
Update ReplacingSortedBlockInputStream.h
...
added comment
2018-02-22 11:37:16 +03:00
alexey-milovidov
3755196b91
Merge pull request #1911 from proller/fix10
...
Allow to disable compiling -server or other parts to static binary
2018-02-22 03:41:10 +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
533b5cbe00
Merge pull request #1938 from yandex/fix-replacing-merge-tree
...
Fix replacing merge tree vertical merge
2018-02-22 02:06:24 +03:00
alexey-milovidov
331fca64a9
Update ReplacingSortedBlockInputStream.h
2018-02-22 02:04:37 +03:00
alexey-milovidov
ee41f7000f
Merge pull request #1940 from yandex/CLICKHOUSE-3571
...
Try to reduce false positive of sanity check
2018-02-22 01:59:33 +03:00
alexey-milovidov
d4dcb9412c
Merge pull request #1941 from yandex/unsorted-mergetree
...
Fix MergeTree idiosyncrasies
2018-02-22 00:36:59 +03:00
Alexey Milovidov
02f7cc2d04
Fixed error with StorageMerge [#CLICKHOUSE-2].
2018-02-21 23:24:29 +03:00
Alexey Milovidov
222fb2c945
Miscellaneous [#CLICKHOUSE-2]
2018-02-21 23:23:27 +03:00
Alexey Milovidov
4055da5979
Fixed error with filtering of tables by _table virtual column in StorageMerge [#CLICKHOUSE-3583]
2018-02-21 22:44:22 +03:00
Alexey Milovidov
f36dfe42a5
Miscellaneous [#CLICKHOUSE-2]
2018-02-21 22:35:10 +03:00
Alexey Milovidov
65f4fcc3e3
Merge branch 'master' into header-in-output-streams
2018-02-21 21:58:20 +03:00
Alexey Zatelepin
610f70fbeb
forbid non-deterministic functions in primary and partition keys [#CLICKHOUSE-3455]
2018-02-21 20:54:16 +03:00
Vitaliy Lyudvichenko
fbe4066c15
Add support of any partition key. [#CLICKHOUSE-3606]
2018-02-21 20:18:31 +03:00
Vitaliy Lyudvichenko
47becc0b92
Try to reduce false positive of sanity check. More detail dignostics. [#CLICKHOUSE-3571]
2018-02-21 20:06:29 +03:00
Alexey Zatelepin
6fdf82e452
allow the primary key and the partition key to use the same expression [#CLICKHOUSE-3455]
2018-02-21 18:43:24 +03:00
Alexey Zatelepin
e3422ea52e
MergeTree without primary key [#CLICKHOUSE-3462]
2018-02-21 17:50:26 +03:00
Nikolai Kochetov
da9b8dbd2c
added test for ReplacingMergeTree vertical merge #1914
2018-02-21 17:13:29 +03:00
Vitaliy Lyudvichenko
963c4a972e
Fixe a compile test if the compliation if turn off. [#CLICKHOUSE-2]
2018-02-21 17:12:49 +03:00
Nikolai Kochetov
9d348846d6
fix row position with max version for vertical merge of ReplacingMergeTree #1914
2018-02-21 16:57:58 +03:00
Vitaliy Lyudvichenko
c80407ad8d
Fixed ZK path in a test. [#CLICKHOUSE-2]
2018-02-21 16:52:17 +03:00
Alexey Zatelepin
de46ee4261
fix typo
2018-02-21 15:31:28 +03:00
Alexey Milovidov
fef53b1963
Tiny modification [#CLICKHOUSE-2]
2018-02-21 11:34:38 +03:00
Alexey Milovidov
8e91a5e1f1
Added test [#CLICKHOUSE-2]
2018-02-21 11:19:17 +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