Commit Graph

10393 Commits

Author SHA1 Message Date
Alexey Milovidov
a4c10f7499 Header in every stream: development [#CLICKHOUSE-2] 2018-02-18 07:17:11 +03:00
Alexey Milovidov
afe09d3138 Removed unused code [#CLICKHOUSE-2] 2018-02-18 06:46:18 +03:00
Alexey Milovidov
754a4296df Header in every stream: fixed non-deterministic test [#CLICKHOUSE-2] 2018-02-18 06:23:48 +03:00
Alexey Milovidov
8a88aeb931 Header in every stream: fixed non-deterministic test [#CLICKHOUSE-2] 2018-02-18 05:58:42 +03:00
Alexey Milovidov
0c0b1f43e9 Header in every stream: fixed non-deterministic test [#CLICKHOUSE-2] 2018-02-18 05:58:07 +03:00
Alexey Milovidov
d6d7b3e7e4 Header in every stream: development [#CLICKHOUSE-2] 2018-02-18 05:46:39 +03:00
Alexey Milovidov
95d2d68c7d Header in every stream: development [#CLICKHOUSE-2] 2018-02-18 05:22:32 +03:00
Alexey Milovidov
df85676c17 Header in every stream: development [#CLICKHOUSE-2] 2018-02-18 04:20:29 +03:00
Alexey Milovidov
8a6cd1d658 Header in every stream: development [#CLICKHOUSE-2] 2018-02-18 04:20:14 +03:00
Alexey Milovidov
df4853a13a Header in every stream: development [#CLICKHOUSE-2] 2018-02-18 03:37:22 +03:00
Alexey Milovidov
2cf73473f7 Added test [#CLICKHOUSE-2754] 2018-02-18 00:26:59 +03:00
Alexey Milovidov
cb7719b062 Added test [#CLICKHOUSE-2754] 2018-02-18 00:26:22 +03:00
Alexey Milovidov
ff235fc506 Header in every stream: development [#CLICKHOUSE-2] 2018-02-18 00:08:21 +03:00
Alexey Milovidov
9e1638e1dd Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 20:09:18 +03:00
Alexey Milovidov
84c110a8ae Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 07:18:29 +03:00
Alexey Milovidov
dba529d674 Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 07:13:49 +03:00
Alexey Milovidov
999d59e5ac Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 06:49:34 +03:00
Alexey Milovidov
d02874bf54 Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 06:06:01 +03:00
Alexey Milovidov
3204b9688c Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 05:35:09 +03:00
Alexey Milovidov
6f96857427 Header in every stream: development [#CLICKHOUSE-2] 2018-02-17 05:27:34 +03:00
Alexey Milovidov
fb0920ff98 Whitespace [#CLICKHOUSE-2] 2018-02-17 01:33:46 +03:00
Alexey Milovidov
a673790748 Header in every stream: development [#CLICKHOUSE-2] 2018-02-16 23:53:47 +03:00
Alexey Milovidov
a074b777da Fixed compatibility with older clients #1918 2018-02-16 22:34:45 +03:00
Alexey Milovidov
a849bb8c04 Fixed compatibility with older clients #1918 2018-02-16 22:34:21 +03:00
Alexey Milovidov
d76feb779c Header in every stream: development [#CLICKHOUSE-2] 2018-02-16 22:04:27 +03:00
Alexey Milovidov
c320b360c6 Merge branch 'master' of github.com:yandex/ClickHouse into header-in-input-streams 2018-02-16 21:23:29 +03:00
robot-metrika-test
63c826788f Auto version update to [54354] 2018-02-16 20:44:58 +03:00
proller
db8ea9205c
LibraryDictionarySource: api v2 with strings (#1915)
* LibraryDictionarySource: Support numeric types, initial support for strings
2018-02-16 20:12:22 +03:00
Alexey Zatelepin
87b72b8e39 rename musl_exp10 -> preciseExp10 for coding style compatibility 2018-02-16 17:51:14 +03:00
Alexey Zatelepin
8fdb68ef79 add musl_ prefix to exp10 functions to avoid confusion with symbols from the system libm 2018-02-16 17:01:50 +03:00
Alexey Milovidov
264e6cbc84 Header in every stream: development [#CLICKHOUSE-2] 2018-02-16 00:31:09 +03:00
proller
d2fcfb3de6 Allow to disable compiling -server or other parts to static binary 2018-02-15 23:57:08 +03:00
Alexey Milovidov
b80a42ec65 Merge branch 'master' of github.com:yandex/ClickHouse into header-in-input-streams 2018-02-15 22:50:21 +03:00
Alexey Milovidov
69a9723ce2 Header in every stream: development [#CLICKHOUSE-2] 2018-02-15 22:48:41 +03:00
Alexey Milovidov
30b657a0da Header in every stream: development [#CLICKHOUSE-2] 2018-02-15 21:54:12 +03:00
Alexey Milovidov
0cdfadeb5a Removed useless method [#CLICKHOUSE-2] 2018-02-15 19:54:14 +03:00
Alexey Milovidov
e658741ccf Removed useless methods [#CLICKHOUSE-2] 2018-02-15 19:29:34 +03:00
robot-metrika-test
2f59713143 Auto version update to [54353] 2018-02-15 19:27:50 +03:00
Alexey Milovidov
921e09b5f8 Merge branch 'master' into header-in-input-streams 2018-02-15 19:20:36 +03:00
Alexey Milovidov
6b9b8c1f83 Merge branch 'master' of github.com:yandex/ClickHouse 2018-02-15 19:10:43 +03:00
Alexey Milovidov
4b2cff20ea Whitespace [#CLICKHOUSE-2] 2018-02-15 19:10:25 +03:00
Vitaliy Lyudvichenko
ca0cdc35eb A test was enhanced. [#CLICKHOUSE-2] 2018-02-15 18:48:26 +03:00
javi
e08199c81a removed extra line break 2018-02-15 16:53:55 +03:00
javi
e69421e7a6 fixed function and added test and doc 2018-02-15 16:53:55 +03:00
javi santana
c810db2a01 tests wip 2018-02-15 16:53:55 +03:00
javi santana
0297a598b9 function working 2018-02-15 16:53:55 +03:00
javi
95211cde25 added basic cumsum impl 2018-02-15 16:53:55 +03:00
Alexey Milovidov
e37aad9111 Merge branch 'master' of github.com:yandex/ClickHouse 2018-02-15 16:13:58 +03:00
proller
10803568ad
Macos shared build fix (#1906) 2018-02-15 00:01:40 +03:00
robot-metrika-test
d7511761cf Auto version update to [54352] 2018-02-14 21:24:50 +03:00
Vitaliy Lyudvichenko
a4177287b1 Fixed too deep AST traversal. [#CLICKHOUSE-2] 2018-02-14 20:39:16 +03:00
proller
d2f1ef686e
Misc build and test fixes (#1905)
* Misc build fixes

* Fix apple tests
2018-02-14 20:27:14 +03:00
proller
7c7bdc5115
LibraryDictionarySource: Support numeric types, initial support for strings (#1903) 2018-02-14 18:03:48 +03:00
Kirill Shvakov
ddb618b1d7 Use custom expr for query log 2018-02-14 10:01:41 +02:00
Kirill Shvakov
034566fff3 Use custom partition key for the query logs table 2018-02-14 09:24:26 +02:00
proller
38343f7649 Internal compiler: write versions in header version mismatch message (using magic)
use same debug/release flags
2018-02-13 21:09:45 +03:00
proller
971df7b853 Try fix travis. Use less travis tests (#1897)
* Try fix travis. Use less travis tests

* Disable capnp heavy test

* Travis: add gcc in pbuilder

* Fix

* fix
2018-02-13 21:00:06 +03:00
robot-metrika-test
f30ab52834 Auto version update to [54351] 2018-02-13 16:17:02 +03:00
Vitaliy Lyudvichenko
075a3cd811 Use absoulte paths in Compiler. [#CLICKHOUSE-3573] 2018-02-13 13:32:14 +03:00
Alexey Milovidov
d8ac2382c4 Added performance test #1889 2018-02-13 00:19:56 +03:00
Nikolai Kochetov
7c69ecb3ef fix test [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
90d67d4e8a added test for moving partition from collapsing to versioned collapsing merge tree [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
36de8a2911 added secondary sort expression [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
64b3a8baa7 added secondary sort expression [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
cd7a5290b2 added tests for ReplicatedVersionedCollapsingMergeTree creation [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
67db049297 moved tests for vertical merge into autotests [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
4040e156b5 added checks and comments for FixedSizeDequeWithGaps; review fixes [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
beb866150d added checks and comments for FixedSizeDequeWithGaps; review fixes [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
40ef753992 added VersionedCollapsingMergeTree to help message [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
32bdf7c38c renamed MultiversionMergeTree to VersionedCollapsingMergeTree [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
81c61c9aa9 added test for vertical merge in MultiversionMergeTree [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
e997db55ef fix for vertical merge in MultiversionMergeTree [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
db0692eb7c added test for MultiversionMergeTree [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Nikolai Kochetov
66b94d481a added MultiversionMergeTree [#CLICKHOUSE-3479] 2018-02-13 00:13:50 +03:00
Alexey Milovidov
3656aa0606 Improved performance of function arrayElement with constant array when one of element is an empty array #1889 2018-02-13 00:06:13 +03:00
Vitaliy Lyudvichenko
ac0d1f8fba Addition to prev revision. [#CLICKHOUSE-2]
Add cluster(cluster_name, db, table) table function.
2018-02-12 23:44:59 +03:00
Vitaliy Lyudvichenko
40ac028e21 remote() table function accepts cluster name identifier as the 1st argument. [#CLICKHOUSE-2]
Add cluster(cluster_name, db, table) table function.
2018-02-12 23:35:56 +03:00
Vitaliy Lyudvichenko
d5fd8b9b5f Fix DROP MV with max_table_size_to_drop. [#CLICKHOUSE-3]
Resolves #1863
2018-02-12 23:35:56 +03:00
Vitaliy Lyudvichenko
56add902d4 Removed superfluous FORMAT statements in .sql files. [#CLICKHOUSE-3] 2018-02-12 23:35:56 +03:00
Vitaliy Lyudvichenko
56bc773249 Fixed exception catching thrown from compiled .so files. [#CLICKHOUSE-3573] 2018-02-12 23:33:31 +03:00
Alexey Milovidov
c104566eb8 Fixed performance regression in usage of COWPtr in complex cases [#CLICKHOUSE-3584]. 2018-02-12 23:10:24 +03:00
proller
2d9f66115f listen_try config option (#1892)
* Docker wip

* no tests

* fixes

* No tests

* Fixes

* Clean

* listen_try config option

* listen_try for tests
2018-02-12 22:36:18 +03:00
Alexey Milovidov
f68600973f Fixed build [#CLICKHOUSE-2] 2018-02-12 04:11:28 +03:00
Alexey Milovidov
55c969d073 Added test [#CLICKHOUSE-2] 2018-02-12 03:55:46 +03:00
Alexey Milovidov
95bc1ffd2e Added functions parseDateTimeBestEffort, parseDateTimeBestEffortOrZero, parseDateTimeBestEffortOrNull [#CLICKHOUSE-2] 2018-02-12 02:57:07 +03:00
Alexey Milovidov
b5430b3885 Function "parseDateTimeBestEffort": development [#CLICKHOUSE-2] 2018-02-11 07:09:02 +03:00
Alexey Milovidov
c704f8b10c Fixed build #1879 2018-02-09 22:32:12 +03:00
alexey-milovidov
8fb9967903
Merge pull request #1879 from yandex/lambdas-without-prerequisites
Lambdas without prerequisites
2018-02-09 22:22:58 +03:00
alexey-milovidov
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
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