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
4e36616729
ISSUES-180 add test
2018-02-09 19:38:24 +08: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
robot-metrika-test
3bb75a9b6e
Auto version update to [54350]
2018-02-08 19:59:51 +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
robot-metrika-test
cbda6c2b21
Auto version update to [54349]
2018-02-08 14:37:41 +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
robot-metrika-test
df6ed74388
Auto version update to [54348]
2018-02-07 20:18:35 +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
robot-metrika-test
124822e250
Auto version update to [54347]
2018-02-07 18:27:54 +03:00
Alexey Zatelepin
c379f56a75
add failover in getStructureOfRemoteTable() function [#CLICKHOUSE-3566]
2018-02-07 17:55:23 +03:00
robot-metrika-test
2e1d90915d
Auto version update to [54346]
2018-02-07 17:54:16 +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
robot-metrika-test
20af4d45a9
Auto version update to [54345]
2018-02-07 00:00:52 +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
5e37021c18
Added another test [#CLICKHOUSE-3559].
2018-02-05 21:17:02 +03:00
Alexey Milovidov
4c46a89196
Added another test [#CLICKHOUSE-3559].
2018-02-05 21:15:47 +03:00
Alexey Milovidov
8b010428a5
Added test [#CLICKHOUSE-3559].
2018-02-05 21:06:16 +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
9f66acaec5
ISSUES-117 add show temporary table test
2018-02-03 16:00:18 +08: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
zhang2014
551910d1e2
ISSUES-67 add test
2018-02-03 14:49:49 +08:00
robot-metrika-test
3c607171d2
Auto version update to [54344]
2018-02-02 21:25:45 +03: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
8e4007fb4e
Renamed the failed test. [#CLICKHOUSE-2]
2018-01-30 13:51:21 +03:00
Vitaliy Lyudvichenko
a4248ad45c
Resolves #1560 . Fixed DROP DATABASE. [#CLICKHOUSE-3]
2018-01-30 13:51:19 +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
robot-metrika-test
76629e99ae
Auto version update to [54343]
2018-01-24 03:11:30 +03:00
Alexey Milovidov
6066f3b8d2
Removed flappy test [#CLICKHOUSE-2]
2018-01-24 03:10:06 +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
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
49101fb0a6
added test for macro for cluster name in Distributerd table and DDL [#CLICKHOUSE-3409]
2018-01-22 21:49:21 +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
robot-metrika-test
220ae501fb
Auto version update to [54342]
2018-01-22 20:51:44 +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
proller
ee8272561a
More builder fixes ( #1801 )
...
* fix boost
* Fix gtest
* fix gtest
* fix
* fix gtest
* fix
2018-01-20 05:35:16 +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
robot-metrika-test
e77e8a838f
Auto version update to [54341]
2018-01-19 23:07:33 +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