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
c5dd6a9fed
Update IFunction.h
2018-02-09 22:20:18 +03:00
alexey-milovidov
1c308d7d6b
Update IFunction.h
2018-02-09 22:15:40 +03:00
alexey-milovidov
1b2b31b24e
Update FunctionsMiscellaneous.h
2018-02-09 22:06:29 +03:00
alexey-milovidov
74a7a13ffa
Update ColumnFunction.h
2018-02-09 22:02:37 +03:00
alexey-milovidov
fb58050994
Update FunctionsMiscellaneous.h
2018-02-09 22:02:01 +03:00
alexey-milovidov
2224eb3936
Merge pull request #1880 from lugt/master
...
Fix on an compiling error
2018-02-09 21:12:33 +03:00
Alexey Milovidov
0bc7772bbf
Miscellaneous #1881 #180
2018-02-09 21:10:32 +03:00
Alexey Milovidov
a101b735a6
Miscellaneous #1881 #180
2018-02-09 21:06:31 +03:00
zhang2014
7f4f723aa0
ISSUES-180 fix empty function with FixedString
2018-02-10 00:37:13 +08:00
alexey-milovidov
5502f5fbb8
Update ColumnsCommon.h
2018-02-09 18:09:33 +03:00
zhang2014
7a1e5a0971
ISSUES-180 fix empty function with FixedString
2018-02-09 19:05:19 +08:00
Fruit of Eden
81f654fe40
Fix on an compiling error
...
added some non-effect code to avoid no-use-parameter occurence
2018-02-09 11:30:08 +08:00
Alexey Milovidov
7e83b8a729
Fixed build #1840
2018-02-09 00:15:46 +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
8b2678328e
Update StorageSystemTables.cpp
2018-02-08 22:40:41 +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
proller
82d74f5ab3
Allow redefine server config via command line: clickhouse-server -- --logger.level=information ( #1811 )
...
* Aloow redefine server config via command line: clickhouse-server -- --logger.level=information
* style
* fix
* BaseDaemon: Simpler createDirectory
* Allow --key value
* Update BaseDaemon.cpp
* Update BaseDaemon.cpp
2018-02-08 22:12:37 +03:00
Nikolai Kochetov
e02ca10b9a
merged with master
2018-02-08 20:46:22 +03:00
alexey-milovidov
2e115dff1b
Merge pull request #1823 from chenxing-xc/master
...
fix endless query issue
2018-02-08 20:41:52 +03:00
alexey-milovidov
bca723b06b
Update MergeTreeBaseBlockInputStream.cpp
2018-02-08 20:41:36 +03:00
alexey-milovidov
1d8cfa351d
Update MergeTreeBaseBlockInputStream.cpp
2018-02-08 20:40:23 +03:00
Nikolai Kochetov
bad2b8c032
fix build [#CLICKHOUSE-3550]
2018-02-08 20:20:12 +03:00
Nikolai Kochetov
733450d1dd
added more comments [#CLICKHOUSE-3550]
2018-02-08 20:20:10 +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
b7d0ae49fd
Merge pull request #1844 from bocharov/master
...
Fix uniqHLL12 and uniqCombined for cardinalities 100M+.
2018-02-08 20:01:45 +03:00
proller
41ad692cef
Pbuilder ccache fixes ( #1878 )
...
* Pbuilder ccache fixes
2018-02-08 19:41:30 +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
Vitaliy Lyudvichenko
42754a5327
Add new virtual columns into system.tables. [#CLICKHOUSE-3554]
2018-02-08 17:15:40 +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
alexey-milovidov
8dc7b7338c
Update config.xml
2018-02-07 21:28:39 +03:00
alexey-milovidov
b7a09d160d
Merge pull request #1857 from gerasim13/null-values-support-for-string-field
...
allow nulls in string field (mongodb dictionary)
2018-02-07 20:49:56 +03:00
alexey-milovidov
22263ad627
Update MongoDBDictionarySource.cpp
2018-02-07 20:49:41 +03:00
proller
15e77ec688
Build and test fixes:
...
Dont test symbols with gdb
Travis: add clang6 + ubuntu bionic (disabled)
Travis: dont run tests with gcc7 (too long, does not fit to limit)
Allow use clang-7 as internal compiler: -DCMAKE_CXX_COMPILER=clang++-7 -DCMAKE_C_COMPILER=clang-7 -DLLVM_VERSION_POSTFIX=-7
Debian: Fix package install (old version can't do service clickhouse disable_cron)
Build fixes (ubuntu bionic + clang6.0)
Update internal compiler clang6.0 to rc1
2018-02-07 18:58:48 +03:00
Tsarkova Anastasia
938cb2b57a
Considering set first.
2018-02-07 18:29:00 +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 Zatelepin
c379f56a75
add failover in getStructureOfRemoteTable() function [#CLICKHOUSE-3566]
2018-02-07 17:55:23 +03:00
Vitaliy Lyudvichenko
ef98bff6e1
ClusterCopier improvements ( #1869 )
...
* Fixed race condition in StorageDistributed. [#CLICKHOUSE-2]
* ClusterCopier improvements. [#CLICKHOUSE-3346]
* Add performance metrics. [#CLICKHOUSE-3346]
2018-02-07 16:02:47 +03:00
Павел Литвиненко
95ec20d92a
added is_object_id to list of valid config keys
2018-02-07 01:35:47 +03:00
Павел Литвиненко
8e61106450
add is_object_id property for determining when to use ObjectId
2018-02-07 00:34:56 +03:00
Alexey Milovidov
c38e85b1b2
Allow to parse DateTime as unix timestamp without single quotes in Values format #1850
2018-02-06 23:10:49 +03:00
Alexey Milovidov
02ae36fe0c
Little better #1855
2018-02-06 21:43:28 +03:00
alexey-milovidov
48a29d6474
Merge pull request #1855 from zhang2014/fix/ISSUES-67
...
ISSUES-67 Use initial column values with default expression
2018-02-06 21:41:43 +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
Павел Литвиненко
abf0a603c1
this make me crazy, how to retrieve document from array???
2018-02-06 16:04:19 +03:00
Павел Литвиненко
d0e386a13d
no message
2018-02-06 15:53:50 +03:00
Павел Литвиненко
b6f3a2565c
convert to objectid without use of any property in config
2018-02-06 15:46:48 +03:00
Павел Литвиненко
6a12d30f78
handle default value
2018-02-06 15:39:16 +03:00
Павел Литвиненко
c2545194b6
revert
2018-02-06 15:18:20 +03:00
Павел Литвиненко
53133f76a7
trying to query without $or
2018-02-06 14:43:09 +03:00
Павел Литвиненко
f0f03596c4
revert
2018-02-06 14:15:13 +03:00
Павел Литвиненко
bb90a9742c
add ability to query by objectid
2018-02-06 13:03:04 +03:00
Alexey Milovidov
468a280a94
Fixed bug [#CLICKHOUSE-3561]
2018-02-05 23:33:17 +03:00
Alexey Milovidov
300d8de50b
Removed useless line of code [#CLICKHOUSE-2]
2018-02-05 23:32:53 +03:00
Alexey Milovidov
d1785d92a7
Make Enum comparable again [#CLICKHOUSE-3560].
2018-02-05 21:39:45 +03:00
Alexey Milovidov
d62cb6162b
Miscellaneous [#CLICKHOUSE-3559]
2018-02-05 21:25:35 +03:00
Alexey Milovidov
4e69ba675d
Fixed trash code [#CLICKHOUSE-3559].
2018-02-05 20:57:38 +03:00
Alexey Milovidov
1ec60b69e2
Miscellaneous [#CLICKHOUSE-3559]
2018-02-05 20:56:50 +03:00
Alexey Milovidov
71ea3774a3
Removed useless method (preparation) [#CLICKHOUSE-3559].
2018-02-05 20:12:30 +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
Павел Литвиненко
2e847d1a1b
fix std::exception. Code: 1001, type: std::logic_error, e.what() = basic_string::_S_construct null not valid
2018-02-04 17:43:29 +03:00
Павел Литвиненко
4ebde2ac7e
allow nulls in string field
2018-02-04 17:15:22 +03:00
zhang2014
62b6a9e07c
ISSUES-117 resolve some opinions
2018-02-03 16:00:14 +08:00
zhang2014
5e001ba8e0
ISSUES-67 Use initial column values with default expression
2018-02-03 15:42:40 +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
proller
c1c512766d
Fix LibraryDictionarySource reload
2018-02-01 22:56:22 +03:00
Vitaliy Lyudvichenko
118b17253e
Add system_profile config. [#CLICKHOUSE-3558]
2018-02-01 16:53:44 +03:00
Pavel Litvinenko
7db8e99300
Поддержка Mongo ObjectId ( #1833 )
...
* update build script (gcc-5 -> gcc-7)
* add gitlab-ci
* sadly but my gitlab worker doesn't have make
* fix gitlkab-ci config
* fix the input device is not a TTY
* set runner tag to docker
* allow to use ObjectId in clickhouse (oid will be converted to string)
* update ci config
* code review
2018-02-01 14:26:44 +03:00
zhang2014
bfd19965b5
ISSUES-117 fix failed test
2018-01-31 23:56:52 +08:00
zhang2014
c74970c098
ISSUES-195 fix complex in expression with single element
2018-01-31 16:38:48 +03:00
Alex Bocharov
9963e2f160
Fix uniqHLL12 and uniqCombined for cardinalities 100M+.
...
* Changing size() return type from UInt32 to UInt64 to prevent overflow (this shouldn't break back compatibility).
* Removing "big cardinalities fix" for cardinalities >2^32/30 as it was very inaccurate and for estimates >2^32 it was trying to do 'log' of negative number which is NaN and it was casted to 0.
* Adding python script to show that intHash32 is not a good choice for HyperLogLog algorithm when it's used for linear counting branch of it.
* Adding bash script to test uniq, uniqHLL12, uniqCombined on different set cardinalities.
* Altering documentation of uniq* aggregate functions with recommendations to use uniq instead of uniqHLL12 or uniqCombined.
2018-01-31 11:36:01 +00: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
alexey-milovidov
bea49ca136
Merge pull request #1741 from yandex/array-functions-hasAll-hasAny-intersect
...
Array functions hasAll hasAny arrayIntersect arrayResize
2018-01-26 12:06:48 +03:00
proller
63b3bccb04
Test and build fixes ( #1822 )
...
* Fix travis
* try
* try
* Disable macos
* Travis enable macos
* Fix
* fast_finish: true
* fix
* fxi
* fix openssl
* fix
* fix
* Fix
* try travis
* fix
* fix
* Cmake: dont filter platform-depended files in cmake
* misc
* renamed: tests/server_wrapper.sh -> tests/clickhouse-test-serve
* install clickhouse-test-server
* clickhouse-test-server wip
* wip
2018-01-26 12:03:38 +03:00
Vitaliy Lyudvichenko
e2fb6d8c80
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-3346
2018-01-25 22:00:08 +03:00
Vitaliy Lyudvichenko
4665201827
Add metric for duplicated inserts. [#CLICKHOUSE-2]
2018-01-25 21:47:44 +03:00
Vitaliy Lyudvichenko
61233b886a
Better system.part_log. [#CLICKHOUSE-3342]
2018-01-25 21:40:02 +03:00
Vitaliy Lyudvichenko
d0f42c8f2f
Add kazoo lib into integration test, enhanced some tests. [#CLICKHOUSE-3346]
2018-01-25 21:14:37 +03:00
zhang2014
f0e097ea4d
ISSUES-320 fix test failed
2018-01-26 00:57:48 +08:00
chenxing.xc
be85910088
fix endless query issue #1769
2018-01-26 00:44:47 +08:00
Vitaliy Lyudvichenko
d6db480be1
Forward settings through Distributed table. [#CLICKHOUSE-3346]
2018-01-25 19:04:54 +03:00
Nikolai Kochetov
9965f5e357
swap source and last_exception in StorageSystemDictionaries
2018-01-25 18:57:07 +03:00
Vitaliy Lyudvichenko
26e58271e9
Removed repeatable columns field from Storages declarations. [#CLICKHOUSE-2]
2018-01-25 17:42:39 +03:00
Vitaliy Lyudvichenko
8be2bfc513
Added docs and requested changes. [#CLICKHOUSE-3346]
2018-01-25 15:45:07 +03:00
alexey-milovidov
24ac18201c
Update getFQDNOrHostName.cpp
...
Update isLocalAddress.cpp
Update IBlockOutputStream.h
Update users.xml
2018-01-24 17:14:21 +03:00
Arsen Hakobyan
89ca08147b
Fixes memory leak in hash dictionary
...
Fixes case when keys might not be loaded for complex key hash dictionary
2018-01-24 16:28:51 +04: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
alexey-milovidov
151901af0f
Merge pull request #1814 from yandex/CLICKHOUSE-3545
...
Make early deduplication with block number creation
2018-01-23 22:27:02 +03:00
Alexey Milovidov
e8a0dde15b
Added more checks [#CLICKHOUSE-2].
2018-01-23 21:49:15 +03:00
Vitaliy Lyudvichenko
b4ab7d4b8e
Make early deduplication with block number creation. [#CLICKHOUSE-3545]
2018-01-23 18:50:29 +03:00
Vlad Arkhipov
6738d6a995
Add comments. Improve method names.
2018-01-23 11:18:12 +03:00
alexey-milovidov
e585cce18d
Merge pull request #1810 from yandex/CLICKHOUSE-3409
...
Clickhouse-3409
2018-01-23 03:31:48 +03:00
Vitaliy Lyudvichenko
af2c4e87dc
Merged ZooKeeper lib changes from CLICKHOUSE-3342. Part 2. [#CLICKHOUSE-3346]
2018-01-22 21:56:39 +03:00
Vitaliy Lyudvichenko
0bd5f6a447
Merged ZooKeeper lib changes from CLICKHOUSE-3342. Part 1. [#CLICKHOUSE-3346]
2018-01-22 21:56:23 +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
Vitaliy Lyudvichenko
1d5751d8a8
Added standalone clickhouse-cluster-copier binary. [#CLICKHOUSE-3346]
2018-01-22 21:33:18 +03:00
Alexey Milovidov
a7149b63e7
Added config substitution to log to console in development environment [#CLICKHOUSE-2].
2018-01-22 21:12:47 +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
Nikolai Kochetov
ff0328aee7
fix build [#CLICKHOUSE-2998]
2018-01-22 13:18:55 +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
Alexey Milovidov
08a76cbdcc
Miscellaneous [#CLICKHOUSE-2]
2018-01-22 01:00:27 +03:00
Alexey Milovidov
5e80bd6365
Miscellaneous [#CLICKHOUSE-2]
2018-01-22 00:59:03 +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
61e5b0476f
Removed experimental implementations of pointInPolygon variants [#CLICKHOUSE-2]
2018-01-19 23:22:47 +03:00
Nikolai Kochetov
ba1bfb97c8
Merge branch 'array-function-resize' into array-functions-hasAll-hasAny-intersect
2018-01-19 22:33:43 +03:00
Nikolai Kochetov
677758edaa
added function arrayResize [#CLICKHOUSE-2998]
...
added test for arrayResize [#CLICKHOUSE-2998]
2018-01-19 22:32:06 +03:00
Nikolai Kochetov
4fb9ad3981
added push to GatherUtils [#CLICKHOUSE-2998]
2018-01-19 22:32:01 +03:00
alexey-milovidov
6b5809ef42
Update getMostSubtype.h
2018-01-19 22:08:39 +03:00
alexey-milovidov
f425781c72
Update getMostSubtype.cpp
2018-01-19 22:01:22 +03:00
alexey-milovidov
fff9c411e4
Update getMostSubtype.cpp
2018-01-19 21:53:53 +03:00
alexey-milovidov
0a3b1679ec
Update ClearableHashSet.h
2018-01-19 21:51:45 +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
6198fe4a1a
Update StorageReplicatedMergeTree.cpp
2018-01-19 21:46:22 +03:00
alexey-milovidov
e8ebf3b56a
Update StorageReplicatedMergeTree.cpp
2018-01-19 21:45:28 +03:00
alexey-milovidov
f770156b0b
Update MergeTreeDataMerger.cpp
2018-01-19 21:42:22 +03:00
Amos Bird
f87d80c378
Add #pragma once for SquashingTransform.h
2018-01-19 21:40:23 +03:00
Vitaliy Lyudvichenko
bee7127572
Refactoring of Graphite merger. [#CLICKHOUSE-2860]
2018-01-19 21:40:05 +03:00
proller
9ea2521944
Fix macos build
2018-01-19 20:04:32 +03:00
Nikolai Kochetov
ea7ccda006
added ValueSourceVisitor, simplified concat for multiple arguments [#CLICKHOUSE-2998]
2018-01-19 16:48:18 +03:00
Alexey Milovidov
f2a65f222a
Fixed bad code in implementation of NULLs [#CLICKHOUSE-2]
2018-01-19 05:15:10 +03:00
Alexey Milovidov
3e3d7b354a
Updated re2 to the latest version [#CLICKHOUSE-2]
2018-01-19 04:18:47 +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
Vitaliy Lyudvichenko
0b8d2a2024
Fixed nondeterministic merge in GraphiteMergeTree. [#CLICKHOUSE-2860]
2018-01-18 23:30:03 +03:00
Nikolai Kochetov
de274b317a
added ArraySourceVisitor and ArraySinkVisitor [#CLICKHOUSE-2998]
2018-01-18 18:50:35 +03:00
proller
c3287caf47
Fix test 281 under asan
2018-01-18 17:49:19 +03:00
Vitaliy Lyudvichenko
69a3c81866
Fix incorrect delayed max_result_bytes check. [#CLICKHOUSE-2]
...
Resolves #1724
2018-01-17 21:15:25 +03:00
Nikolai Kochetov
694b305036
added arrayIntersect [#CLICKHOUSE-3504]
2018-01-17 14:36:02 +03:00
Alexey Milovidov
906c79d991
Added support for floating point numbers with leading + in exponent #1665
2018-01-16 23:32:31 +03:00
Alexey Milovidov
8b7fe2d23e
Added suggestion from Chen Yufei #1665
2018-01-16 22:54:20 +03:00
alexey-milovidov
7a25b441f4
Merge pull request #1773 from yandex/small-enhancements
...
Small enhancements
2018-01-16 22:07:43 +03:00
Vitaliy Lyudvichenko
b68b60fb38
More detailed test. [#CLICKHOUSE-3]
...
Resolves #1553 .
2018-01-16 15:05:01 +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
alexey-milovidov
6ded1b171c
Merge pull request #1764 from amosbird/dedup
...
Get rid of unnecessary check
2018-01-15 22:06:31 +03:00
proller
f6d8436f81
Enable travis ( #1772 )
...
* Try travis
* wip
* Try travis
* try
* try
* try
* try
* Revert "try"
This reverts commit 7ecd73c2eb
.
* try unbundled
* Try unbundled2
* Try undundled3
* Try unbundled4
* Try5
* try gcc7
* try6
* Try clang
* Try min
* try ccache
* try ccache stats
* no sudo
* try clang
* try ccache
* reset changelog
* Try fix clang
* try limit time
* Faster
* try timeout
* try faster
* Try
* try
* try
* try
* try
* try
* ccache
* Fix
* try test
* try test
* Fix try_listen in some vm's
* fix
* test
* fix
* cache timeout
* packages
* fix
* fix
* fix
* try emb compiler
* Try emb compiler
* Revert "try emb compiler"
This reverts commit 471713cabe
.
* try
* Revert "Try emb compiler"
This reverts commit 95e632abf6
.
* Skip long
* fix
* fix
* ccache
* fix
* debug
* Fxi test
* test fix
* tes fix
* Fix
* Fix link
* Fix odbc link
* Fxi test
* fix boost unbundled include
* fix test
* fix test
* test fix
* fix tests
* tests
* Test fail
2018-01-15 21:57:10 +03:00
Vitaliy Lyudvichenko
5d5ed63e8c
Better error message. [#CLICKHOUSE-2]
2018-01-15 20:30:16 +03:00
Vitaliy Lyudvichenko
a95526cd8a
Add --silent mode for clickhouse-local. [#CLICKHOUSE-3390]
2018-01-15 18:08:54 +03:00
Vitaliy Lyudvichenko
f20f3f21c4
Update clusters in SYSTEM DROP DNS query. [#CLICKHOUSE-3478]
2018-01-15 17:57:47 +03:00
Arsen Hakobyan
7658665737
Add external dictionary update feature
...
feature is implemented for DICT TYPES THAT SUPPORT
and for sources SOURCE TYPES THAT ARE SUPPORTED
to use the feature add <update_field>...</...> to dictionary sourcei config.
If the field is skipped or used with unsupported dictionary types,
all data is updated every time if the field is provided,
value of last update time is passed to the source
with the expectation that only records that were updated after
provided time will be passed to the dictionary
2018-01-15 16:44:39 +04:00
Vitaliy Lyudvichenko
9ed1fdbbac
Fixed SIGABRT in ConfigReloader. [#CLICKHOUSE-3443]
2018-01-15 15:24:48 +03:00
Vitaliy Lyudvichenko
554ed52920
Avoid superflous pullLogsToQueue() calls. [#CLICKHOUSE-3432]
2018-01-15 13:30:31 +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
Alexey Milovidov
15b5c27c1c
Fixed error [#CLICKHOUSE-2]
2018-01-14 04:25:35 +03:00
Alexey Milovidov
ce5de79263
Fixed tests #1665
2018-01-14 03:12:23 +03:00
Alexey Milovidov
610b64679f
Extended domain of function reinterpretAsString #1665
2018-01-14 01:26:49 +03:00
Alexey Milovidov
b1a20d78ed
Better #1665
2018-01-14 01:25:02 +03:00
Alexey Milovidov
6cec145f0b
Better #1665
2018-01-14 01:16:45 +03:00
Alexey Milovidov
dcaebed90a
Better #1665
2018-01-14 01:11:27 +03:00
Alexey Milovidov
049d4d3ddf
Better #1665
2018-01-14 01:08:06 +03:00
Alexey Milovidov
5c933d6397
Fixed error #1665
2018-01-14 01:00:15 +03:00
Alexey Milovidov
460cba0e9d
Better #1665
2018-01-14 00:26:08 +03:00
Alexey Milovidov
21a5ace37c
Fixed error #1665
2018-01-14 00:22:05 +03:00
Alexey Milovidov
37b8d619c9
Fixed error #1665
2018-01-14 00:08:47 +03:00
Alexey Milovidov
66f229e27d
Fixed error #1665
2018-01-14 00:03:22 +03:00
Alexey Milovidov
3146533476
More optimal memory layout of BufferBase #1665
2018-01-13 22:29:10 +03:00
Alexey Milovidov
070d8e6e3b
Better #1665
2018-01-13 22:14:08 +03:00
Alexey Milovidov
a375757625
Better #1665
2018-01-13 22:13:26 +03:00
Alexey Milovidov
02706f4831
Better #1665
2018-01-13 21:45:57 +03:00
Alexey Milovidov
b9e62ddb2d
Better #1665
2018-01-13 21:01:31 +03:00
Alexey Milovidov
c6ac570947
Addition to prev. revision #1665
2018-01-13 08:56:57 +03:00
Alexey Milovidov
c22563b75e
Addition to prev. revision #1665
2018-01-13 08:48:32 +03:00
Alexey Milovidov
ddac4345ad
Addition to prev. revision #1665
2018-01-13 08:40:40 +03:00
Alexey Milovidov
81187e48b2
Addition to prev. revision #1665
2018-01-13 08:38:27 +03:00
Alexey Milovidov
e8385f6778
Addition to prev. revision #1665
2018-01-13 08:30:11 +03:00
Alexey Milovidov
b7b3b6fc42
Addition to prev. revision #1665
2018-01-13 08:20:18 +03:00
Alexey Milovidov
e300ecd157
Addition to prev. revision #1665
2018-01-13 07:45:13 +03:00
Alexey Milovidov
2bf79be52f
Added all methods #1665
2018-01-13 07:43:10 +03:00
Alexey Milovidov
3c144683a4
Updated test #1665
2018-01-13 06:58:45 +03:00
Alexey Milovidov
4c666036ac
Modified test #1665
2018-01-13 06:13:39 +03:00
Alexey Milovidov
717c5dad3a
Added old method to the test for comparison #1665
2018-01-13 06:06:07 +03:00
Alexey Milovidov
5e2f66954d
Added another inaccurate method for reading floats #1665
2018-01-13 05:55:31 +03:00
Alexey Milovidov
f75ef123dc
Fixed error #1665
2018-01-13 05:12:25 +03:00
Alexey Milovidov
257e973337
Better [#CLICKHOUSE-2].
2018-01-13 04:45:20 +03:00
Alexey Milovidov
b42bd53481
Merge branch 'master' into correct-parse-floats
2018-01-13 04:44:43 +03:00
Alexey Milovidov
21d4f451e7
Better [#CLICKHOUSE-2].
2018-01-13 04:43:06 +03:00
Alexey Milovidov
9283c38854
Fixed error [#CLICKHOUSE-2].
2018-01-13 04:33:55 +03:00
Alexey Milovidov
823c3cd9c6
Fixed error [#CLICKHOUSE-2].
2018-01-12 22:28:43 +03:00
Alexey Milovidov
55ea2ebbe5
Allow to create StorageDictionary with identifier in ENGINE parameter [#CLICKHOUSE-2].
2018-01-12 21:56:13 +03:00
proller
22e3695a47
More system.build_options
2018-01-12 19:50:10 +03:00
proller
364b8ec5ee
Fix data in system.build_options
2018-01-12 19:04:18 +03:00
zhang2014
66dd568e64
ISSUES-957 update condition & test
2018-01-12 21:03:35 +08:00
proller
1c06c0f810
Fix 32bit build
2018-01-12 15:50:59 +03:00
Alexey Milovidov
230062c63d
Fixed error #1665
2018-01-12 02:53:51 +03:00
Alexey Milovidov
d33ac0ea15
Updated test #1665
2018-01-12 00:33:45 +03:00
Alexey Milovidov
be7c5227d3
Parsing floats correctly #1665
2018-01-12 00:20:10 +03:00
Vitaliy Lyudvichenko
388d47bbbc
Merge branch 'CLICKHOUSE-3346-v310' into CLICKHOUSE-3346
2018-01-11 23:51:30 +03:00
Alexey Milovidov
3c9c884db8
Better #1665
2018-01-11 23:02:04 +03:00
alexey-milovidov
5b6298c85a
Merge pull request #1748 from ilyshnikova/master
...
CLICKHOUSE-3497: Add ALTER for null storage tables.
2018-01-11 22:28:25 +03:00
Anastasiya Tsarkova
2b8a4cf030
Add ALTER for null storage tables.
2018-01-11 22:13:19 +03:00
Vitaliy Lyudvichenko
47616c31be
Added enabled_partitions option. [#CLICKHOUSE-3346]
2018-01-11 21:55:47 +03:00
Vitaliy Lyudvichenko
7c66d2c47c
Fixed incorrect INSERT into Distributed table in async mode. [#CLICKHOUSE-2]
...
See a4636f8656
2018-01-11 21:55:46 +03:00
Vitaliy Lyudvichenko
bdf96eed91
Add integration test and more options. [#CLICKHOUSE-3346]
2018-01-11 21:55:46 +03:00
Vitaliy Lyudvichenko
ef35aa0a41
Add daemon mode. [#CLICKHOUSE-3346]
2018-01-11 21:55:46 +03:00
Vitaliy Lyudvichenko
30028f14e0
Removed obolete code. [#CLICKHOUSE-3346]
2018-01-11 21:55:45 +03:00
Vitaliy Lyudvichenko
1517422f4d
Add check for existing data. [#CLICKHOUSE-3346]
2018-01-11 21:55:45 +03:00
Vitaliy Lyudvichenko
e996da050d
Add copying check and retries. [#CLICKHOUSE-3346]
2018-01-11 21:55:45 +03:00
Vitaliy Lyudvichenko
e1fafb1f2f
Minimal working example. [#CLICKHOUSE-3346]
2018-01-11 21:55:45 +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
Vitaliy Lyudvichenko
fbba1ff99d
Remove obsolete code. [#CLICKHOUSE-2]
2018-01-11 21:55:07 +03:00
Nikolai Kochetov
515cb7fbca
renamed getLeastCommonType => getLeastSupertype; getMostCommonType => getMostSubtype [#CLICKHOUSE-3504]
2018-01-11 21:47:02 +03:00
proller
b026eb7797
Use submodule contrib/capnproto, remove include_directories ( #1746 )
...
* Add submodule contrib/capnproto
* Use contrib/capnproto, remove include_directories
* Fix include
* Clean
* Fix werror
* Update doc
* Fix
* Final fix
* Fxi
2018-01-11 21:39:52 +03:00
Nikolai Kochetov
8270e40819
added test for getMostCommonType(...) [#CLICKHOUSE-3504]
2018-01-11 21:00:56 +03:00
Nikolai Kochetov
5e4b86fd41
added test for getLeastCommonType(...) [#CLICKHOUSE-3504]
2018-01-11 21:00:42 +03:00
Nikolai Kochetov
ca085a7e47
added getMostCommonType(...) [#CLICKHOUSE-3504]
2018-01-11 17:10:43 +03:00
Nikolai Kochetov
0d3ba65e0e
fixed cast for arrays [#CLICKHOUSE-3504]
2018-01-10 22:52:39 +03:00
Nikolai Kochetov
8ceb85bcca
moved GatherUtils* to GatherUtils/ [#CLICKHOUSE-3504]
2018-01-10 21:59:48 +03:00
Nikolai Kochetov
a76bb9660c
added functions arrayAny and arrayAll [#CLICKHOUSE-3504]
2018-01-10 21:59:14 +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
94701c1d17
Addition to prev. revision [#CLICKHOUSE-2].
2018-01-10 04:43:54 +03:00
Alexey Milovidov
f0391a6358
Addition to prev. revision [#CLICKHOUSE-2].
2018-01-10 03:15:08 +03:00
Alexey Milovidov
d33023574b
Addition to prev. revision [#CLICKHOUSE-2].
2018-01-10 03:14:06 +03:00
Alexey Milovidov
b4674d3917
Addition to prev. revision [#CLICKHOUSE-2].
2018-01-10 03:09:22 +03:00
Alexey Milovidov
550053a0ca
Merge branch 'master' into header-in-input-streams
2018-01-10 03:05:51 +03:00
Alexey Milovidov
9da64d5480
Merge branch 'master' of github.com:yandex/ClickHouse
2018-01-10 03:04:20 +03:00
Alexey Milovidov
0bfea2f52c
Miscellaneous [#CLICKHOUSe-2]
2018-01-10 03:04:08 +03:00
proller
b0469def79
Remove package clickhouse-compressor, simpler pbuilder test
2018-01-10 02:43:04 +03:00
Alexey Milovidov
d5f6c8365e
Fixed test [#CLICKHOUSE-2].
2018-01-10 00:26:11 +03:00
alexey-milovidov
45c913ccc8
Update AggregateFunctionMinMaxAny.h
2018-01-09 21:51:14 +03:00
Nikolai Kochetov
8552434843
added arena in AggregateFunctionSingleValue for strings and numbers [#CLICKHOUSE-3503]
2018-01-09 21:51:14 +03:00
Nikolai Kochetov
cbeeb84999
added http_*_timeout settings [#CLICKHOUSE-3440]
2018-01-09 21:41:01 +03:00
alexey-milovidov
890ad92f90
Merge pull request #1627 from yandex/table-system-parts_columns
...
Table system.parts_columns
2018-01-09 21:33:55 +03:00
alexey-milovidov
2a7024ba5a
Update MergeTreeData.cpp
2018-01-09 21:01:26 +03:00
alexey-milovidov
1292d14185
Update MergeTreeData.cpp
2018-01-09 21:01:26 +03:00
zhang2014
517958ab09
ISSUES-1369 fix typo
2018-01-09 21:01:26 +03:00
zhang2014
be966015c9
ISSUES-1369 add check when create Replacing & Collapsing
2018-01-09 21:01:26 +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
alexey-milovidov
014049110f
Update ProhibitColumnsBlockOutputStream.cpp
2018-01-09 20:47:03 +03:00
Chen Yufei
88ef42c222
Aggressive merge for ReplicatedMergeTree optimize.
2018-01-09 20:44:07 +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
Alexey Milovidov
d1141ff03b
Merge branch 'master' of github.com:yandex/ClickHouse
2018-01-09 20:27:37 +03:00
Alexey Milovidov
fa522ea946
Addition to e505e87bb4
[#CLICKHOUSE-2].
2018-01-09 20:27:08 +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
proller
e505e87bb4
Fix format_schema_path in default config
2018-01-09 20:02:52 +03:00
Alexey Milovidov
098cdf8ebe
Added method "getHeader" in IBlockInputStream [#CLICKHOUSE-2]
2018-01-09 05:09:08 +03:00
Alexey Milovidov
5081f276d1
Added method "getHeader" in IBlockInputStream [#CLICKHOUSE-2]
2018-01-09 04:51:08 +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
e2d70943b8
Unification of Nested: development [#CLICKHOUSE-2].
2018-01-02 12:11:13 +03:00
Alexey Milovidov
4371778144
Unification of Nested: development [#CLICKHOUSE-2].
2018-01-02 09:13:22 +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
Alexey Milovidov
005f6b96fa
Added function "sleepEachRow" for testing purposes #1713
2017-12-30 07:50:12 +03:00
Alexey Milovidov
b96ae0aa0e
Added function "sleepEachRow" for testing purposes #1713
2017-12-30 07:29:51 +03:00
Alexey Milovidov
68de761e6a
Fixed comment [#CLICKHOUSE-2].
2017-12-30 07:03:49 +03:00
Alexey Milovidov
993a5e44d0
Inverted dependencies in StorageFactory (continued) [#CLICKHOUSE-2].
2017-12-30 07:00:39 +03:00
Alexey Milovidov
ffca152c45
Inverted dependencies in StorageFactory [#CLICKHOUSE-2].
2017-12-30 07:00:39 +03:00
Alexey Milovidov
7244514859
Less dependencies in StorageFactory: development [#CLICKHOUSE-2].
2017-12-30 07:00:39 +03: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
Nikolai Kochetov
645a8d86f2
fix build
2017-12-28 21:33:07 +03:00
Nikolai Kochetov
ea41197c51
merger with master
2017-12-28 21:20:53 +03:00
Alexey Milovidov
7a2fcd3055
Fixed build on AArch64 [#CLICKHOUSE-1700]
2017-12-28 19:51:53 +03:00
proller
7a813002aa
Build fixes
2017-12-28 15:58:39 +03:00
Alexey Milovidov
4c3fba2719
Table functions MySQL and ODBC: development [#CLICKHOUSE-3114].
2017-12-28 08:26:45 +03:00
Alexey Milovidov
cefb5b61fd
Table functions MySQL and ODBC: development [#CLICKHOUSE-3114].
2017-12-28 08:15:09 +03:00
Alexey Milovidov
10bf086397
Table functions MySQL and ODBC: development [#CLICKHOUSE-3114].
2017-12-28 07:59:04 +03:00
Alexey Milovidov
28c6804c10
Miscellaneous [#CLICKHOUSE-2].
2017-12-28 07:50:14 +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
1fecbc3ef4
Merging [#CLICKHOUSE-3114]
2017-12-28 07:33:35 +03:00
Alexey Milovidov
9f2cd7a304
Merging [#CLICKHOUSE-3114]
2017-12-28 07:29:53 +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
Alexey Milovidov
104b09604a
Merging [#CLICKHOUSE-3114]
2017-12-28 00:45:05 +03:00
proller
fc9c1813f8
Fix shared build
2017-12-27 23:07:16 +03:00
proller
4f894a677a
Fix pthread link
2017-12-27 23:07:16 +03:00
proller
f5f976a464
common lib not needed for clang and lld
2017-12-27 23:07:16 +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
26c39af91e
Allow 32bit build (with warning)
2017-12-26 22:28:41 +03:00
Alexey Zatelepin
280c147a89
remove dependency to StorageReplicatedMergeTree [#CLICKHOUSE-2]
2017-12-26 22:15:15 +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
203363ea73
Merge branch 'master' of github.com:yandex/ClickHouse
2017-12-26 20:53:36 +03:00
Alexey Milovidov
7a60d773ec
Fixed strange code [#CLICKHOUSE-2].
2017-12-26 20:53:31 +03:00
alexey-milovidov
9bf06a26cc
Update PODArray.h
2017-12-26 20:52:22 +03:00
chenxing.xc
e7efee8f41
fix potential memory issue
2017-12-26 20:52:22 +03:00
alexey-milovidov
12e7107d1a
Update PODArray.h
2017-12-26 20:51:56 +03:00
alexey-milovidov
7a0281dd20
Update RangeHashedDictionary.cpp
2017-12-26 20:37:21 +03:00
Nikolai Kochetov
ca77f3d861
fixed NULL value for range hased dictionary range_min and range_max keys [#CLICKHOUSE-3521]
2017-12-26 15:52:58 +03:00
Nikolai Kochetov
5a3506eada
merged with master
2017-12-26 13:54:39 +03:00
chenxing.xc
a941e0252c
fix potential memory issue
2017-12-26 18:40:11 +08: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
5bacda2ed2
Merge branch 'master' of github.com:yandex/ClickHouse
2017-12-26 00:11:56 +03:00
Alexey Milovidov
a85b2e5a95
Removed questionable code [#CLICKHOUSE-2].
2017-12-26 00:10:46 +03:00
Nikolai Kochetov
0c082b134d
fixed engine Dictionary(range_hashed) for open interval date keys [#CLICKHOUSE-3521]
2017-12-25 23:55:37 +03:00
proller
3c54be8d5b
Add hostname_in_path=true option to garaphite config ( #1701 )
...
* Add hostname_in_path=true option to garaphite config
* fix style
* Update config.xml
2017-12-25 23:36:24 +03:00
Alexey Milovidov
73ae622b12
Moved functions to work with tuples to separate file [#CLICKHOUSE-2].
2017-12-25 22:10:25 +03:00
Alexey Milovidov
bcfde7c6c0
Get rid of DataTypeNested, part 2 [#CLICKHOUSE-2].
2017-12-25 21:58:39 +03:00
Nikolai Kochetov
2ed66515ff
Date type for range_min and range_max in Dictionare(range_hashed) [#CLICKHOUSE-3521]
2017-12-25 21:29:04 +03:00
Alexey Zatelepin
c3348e27a4
shorter [#CLICKHOUSE-2]
2017-12-25 20:31:14 +03:00
proller
fb7047bfe8
Fix 32bit build
2017-12-25 20:17:32 +03:00
zhang2014
2e54dcf9b6
ISSUES-1682 support insert into with select
2017-12-25 19:02:02 +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 Zatelepin
b07dbf52c6
remove unused function [#CLICKHOUSE-2]
2017-12-25 14:40:59 +03:00
Alexey Milovidov
454de9243e
Fixed build [#CLICKHOUSE-2]
2017-12-25 10:18:27 +03:00
Alexey Milovidov
04eb0b896c
Added proper support for Nullable arguments for function OR #1416
2017-12-25 09:33:51 +03:00
Alexey Milovidov
9b914cf93e
Simplification #1416
2017-12-25 08:48:53 +03:00
Alexey Milovidov
d899d3f8f5
Added functions toNumberOrNull from String argument #1322
2017-12-25 08:22:33 +03:00
Alexey Milovidov
de8e504e02
Miscellaneous [#CLICKHOUSE-2].
2017-12-25 07:10:43 +03:00
Alexey Milovidov
f7838e7e39
Miscellaneous [#CLICKHOUSE-2].
2017-12-25 07:09:48 +03:00
Alexey Milovidov
8ff93487e3
Miscellaneous [#CLICKHOUSE-2].
2017-12-25 07:01:46 +03:00
Alexey Milovidov
a168c77ee4
Proper conversions from String to Nullable types if the value cannot be parsed: development #1322
2017-12-25 05:57:54 +03:00
Alexey Milovidov
a71b04e377
Fixed "join_use_nulls" mode #1544
2017-12-25 03:38:45 +03:00
Alexey Milovidov
671b731c90
Removed useless calls [#CLICKHOUSE-2].
2017-12-25 03:37:13 +03:00
Alexey Milovidov
f87cc75734
Fixed build [#CLICKHOUSE-2].
2017-12-24 13:12:49 +03:00
Alexey Milovidov
82d429f7ed
Allow for function "tupleElement" to get an edge of Array of Tuple (preparation for natural support of Nested) [#CLICKHOUSE-2].
2017-12-24 12:56:30 +03:00
Alexey Milovidov
0f51be4191
Added support for named tuples in function tupleElement [#CLICKHOUSE-2].
2017-12-24 12:34:40 +03:00
Alexey Milovidov
5c2c4b34f3
Fixed query formatting in presense of tupleElement operator with complex constant expression in right hand side [#CLICKHOUSE-2].
2017-12-24 12:33:36 +03:00
Alexey Milovidov
9aa0ebff01
Merge branch 'master' of github.com:yandex/ClickHouse
2017-12-24 10:59:39 +03:00
Alexey Milovidov
7ee1c81d45
Fixed DISTINCT if all columns are constant [#CLICKHOUSE-3505].
2017-12-24 10:59:26 +03:00
Marek Vavruša
aed35f16ca
StorageKafka: move limits to individual Kafka streams instead of UnionBlockInputStream
...
The UnionBlockInputStream might read an extra block from the asynchronous child streams otherwise,
which will never be used, but offsets for this block would be committed, which would result in
lost messages.
2017-12-24 09:57:20 +03:00
Marek Vavruša
77393287ab
StorageKafka: make commit message only if messages are consumed
2017-12-24 09:57:20 +03:00
Marek Vavruša
ad59a1460e
IProfilingBlockInputStream: check limits before reading block
...
This makes one pointless check before the first block is read, but
is necessary to prevent reading blocks from storages like Kafka where
messages are read only once.
2017-12-24 09:57:20 +03:00
Alexey Milovidov
90aa544573
Unification of aggregate function combinators [#CLICKHOUSE-3511].
2017-12-24 09:51:23 +03:00
Alexey Milovidov
486a498b9f
Merge branch 'master' of github.com:yandex/ClickHouse
2017-12-24 09:50:28 +03:00
Alexey Milovidov
acb341b2c9
Unification of aggregate function combinators [#CLICKHOUSE-3511].
2017-12-24 09:50:11 +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
ffce4dea50
Merge branch 'master' of github.com:yandex/ClickHouse
2017-12-24 02:17:39 +03:00
Alexey Milovidov
cc79fb6684
Implemented -ForEach aggregate functions combinator for multiple arguments; added test for -ForEachIf and -IfForEach variants [#CLICKHOUSE-3511].
2017-12-24 02:16:42 +03:00
proller
371d3907b5
Fix dictionary FunctionDictGetOrDefault
2017-12-24 02:16:40 +03:00
Alexey Milovidov
1ba80c6768
Fixed typo [#CLICKHOUSE-2].
2017-12-24 02:06:59 +03:00
Alexey Milovidov
3a7a6d6318
Get rid of DataTypeNested [#CLICKHOUSE-2838].
2017-12-23 07:29:34 +03:00
Alexey Milovidov
b5af4c95bf
Using IDataType::equals to compare for type equivalence #1650
2017-12-23 04:55:46 +03:00
Alexey Milovidov
a1fe019b5c
Fixed possibility of infinite recursion in IFunction::defaultImplementationForConstantArguments when wrong number of arguments is passed to a function [#CLICKHOUSE-2].
2017-12-23 04:54:51 +03:00
Alexey Milovidov
75f9ff1717
Fixed error found by M.Filimonov [#CLICKHOUSE-2].
2017-12-23 04:35:25 +03:00
Alexey Milovidov
61174e9150
Better implementation for IDataType::equals method #1650
2017-12-23 04:05:29 +03:00
Alexey Milovidov
d6dc25b09e
Fixed wording #1650
2017-12-23 03:21:49 +03:00
Alexey Milovidov
609133ea01
Added aggregate function sumKahan [#CLICKHOUSE-2].
2017-12-23 02:26:30 +03:00
Alexey Milovidov
59dce5187a
Merge branch 'master' into kahan-sum
2017-12-23 02:12:05 +03:00
Alexey Milovidov
7e60152e72
Added comments; added test [#CLICKHOUSE-2].
2017-12-23 02:08:57 +03:00
Alexey Milovidov
69a7761812
Added simple, non-numerically stable variants of statistical functions; use it by default; old functions are accessible under -Stable suffix, like varPopStable [#CLICKHOUSE-2].
2017-12-23 01:59:45 +03:00
Alexey Milovidov
a7b8541cea
Implemented faster and not numerically stable versions of statistical functions [#CLICKHOUSE-2].
2017-12-23 01:23:03 +03:00
Alexey Milovidov
2f8a79eee6
Kahan summation: development [#CLICKHOUSE-2].
2017-12-23 01:02:52 +03:00
Alexey Milovidov
eebdac1f0e
Fixed build #1676
2017-12-22 22:26:56 +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
proller
9b8972b4c8
Add bad queries from #1563 ( #1653 )
...
* cmake fix
* load shell_config.sh
* env bash
* fix
* use $CLICKHOUSE_CLIENT
* fix
* curl 1
* curl2
* curl3
* fix
* fix
* fix
* fix
* ExtractFromConfig --try
* fix
* fix
* Add symlinks to package
* fix bundle
* fix
* fix
* fix package
* clickhouse-test --order option
* client --ignore-error option (useful with --multiquery)
* add bad queries from @filimonov
* More queries
* --ignore_error via lexer
* fix
* rename
2017-12-22 21:29:03 +03:00
Alexey Zatelepin
6d5ce3fa9a
revert BackgroundSchedulePool usage in Replicated tables
2017-12-22 21:25:54 +03:00
Kirill Shvakov
af400da8eb
add toStartOfFifteenMinutes function
2017-12-22 13:04:24 +02:00
Kirill Shvakov
34470ab6ca
Merge branch 'master' of https://github.com/yandex/ClickHouse
2017-12-22 11:38:06 +02:00
Alexey Milovidov
622f0b62e0
Fixed nullptr dereference when trying to create incorrect data types [#CLICKHOUSE-2].
2017-12-22 06:55:49 +03:00
Alexey Milovidov
7a15be8e63
Fixed behaviour of "visitParamExtract" functions according to the documentation [#CLICKHOUSE-2].
2017-12-22 05:25:03 +03:00
Alexey Milovidov
0972d7586a
Added support for toQuarter, toRelativeQuarterNum functions. Enabled toRelativeHour/Minute/Second for Date arguments. Made function 'now' case insensitive. Added function 'dateDiff' that is needed for ODBC driver [#CLICKHOUSE-2].
2017-12-22 04:54:29 +03:00
Alexey Milovidov
74f191dfd3
Introduced intExp functions; using it where appropriate; make them available in SQL [#CLICKHOUSE-3].
2017-12-22 02:46:34 +03:00
Alexey Milovidov
5b59a6f4cb
Whitespace [#CLICKHOUSE-2].
2017-12-21 20:43:32 +03:00
proller
9fc417ae15
Fix freebsd build
2017-12-21 16:07:24 +03:00
Alexey Milovidov
b198766dad
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Alexey Milovidov
ec3ec48309
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Alexey Milovidov
bf9c301784
Simplification of aggregate functions: compatibility details [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Alexey Milovidov
ef6d3be53a
Simplification of aggregate functions: compatibility details [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Alexey Milovidov
60d7a9f428
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Alexey Milovidov
ac5433bfbb
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Alexey Milovidov
025041937a
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Alexey Milovidov
c7c868cb99
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00