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
zhang2014
079223b89d
ISSUES-369 add test
2018-02-16 16:07:34 +08:00
zhang2014
5f0ecd7fbd
ISSUES-369 fix restart error
2018-02-16 15:47:35 +08:00
zhang2014
cfb2efbaa6
ISSUES-369 add default database when create materialize view
2018-02-16 15:10:42 +08: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
Arsen Hakobyan
7a77b8abf0
Improvements done according to requested changes
2018-02-15 17:08:23 +04:00
Arsen Hakobyan
8b8c7a64b4
Merge branch 'master' of https://github.com/yandex/ClickHouse into dictionary-update
2018-02-15 12:07:58 +04: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
zhang2014
92b27e7b79
ISSUES-117 define error code in InterpreterShowCreateQuery
2018-02-14 15:15:44 +08:00
zhang2014
f88f4567d0
ISSUES-117 add test
2018-02-14 12:37:39 +08:00
zhang2014
b89268ceb8
ISSUES-117 add show create & exist temporary table
2018-02-14 12:00:37 +08:00
zhang2014
eeae014a42
ISSUES-1885 use movemask & popcnt
2018-02-14 08:11:12 +08: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
zhang2014
6033096fd1
ISSUES-1885 add performance test
2018-02-13 16:19:57 +08:00
zhang2014
0d8730c687
ISSUES-1885 fix signed problem
2018-02-13 13:46:16 +08: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
238eba25c9
Merge branch 'master' into lz4_experiments
2018-02-12 20:05:48 +03:00
zhang2014
acb5b99195
ISSUES-1885 fix align bound
2018-02-12 16:05:24 +08:00
zhang2014
5f9292ac30
ISSUES-1885 resolve some opinions
2018-02-12 15:58:04 +08:00
zhang2014
73077e0245
ISSUES-1885 fix failed test
2018-02-12 15:31:54 +08:00
zhang2014
0f20952f2c
ISSUES-1885 UTF8 countCodePoints use simd
2018-02-12 15:31:22 +08: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
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
KochetovNicolai
71f43d9219
Update server-test.xml
2018-01-29 20:49:45 +03:00
KochetovNicolai
901c00f477
Rename 00563_insert_into_remote.sql to 00563_shard_insert_into_remote.sql
2018-01-29 20:48:52 +03:00
KochetovNicolai
66a5680ab9
Rename 00563_insert_into_remote.reference to 00563_shard_insert_into_remote.reference
2018-01-29 20:48:14 +03:00
KochetovNicolai
4a2582315b
Update server-test.xml
2018-01-29 20:09:14 +03:00
KochetovNicolai
1a7119a1c8
Update server-test.xml
2018-01-29 18:31:55 +03:00
Nikolai Kochetov
97d6c81b55
added <listen_host>::</listen_host> into server-test.xml
2018-01-29 16:35:30 +03:00
Nikolai Kochetov
21935dc53e
removed remote(127.0.0.1) from tests
2018-01-29 14:40:28 +03:00
Nikolai Kochetov
277e3b8364
test for insert into remote table function
2018-01-29 13:08:25 +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
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
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
60465df20c
fixed arrayPushBack, arrayPushFront tests [#CLICKHOUSE-2998]
2018-01-19 17:03:35 +03:00
Nikolai Kochetov
ea7ccda006
added ValueSourceVisitor, simplified concat for multiple arguments [#CLICKHOUSE-2998]
2018-01-19 16:48:18 +03:00
Alexey Milovidov
ba4a07c739
Added test [#CLICKHOUSE-2]
2018-01-19 05:21:38 +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
robot-metrika-test
d1acf9d772
Auto version update to [54340]
2018-01-18 22:54:15 +03:00
proller
c4c57e0ae2
Fix test 00532_pager_sigpipe
2018-01-18 21:51:10 +03:00
Nikolai Kochetov
de274b317a
added ArraySourceVisitor and ArraySinkVisitor [#CLICKHOUSE-2998]
2018-01-18 18:50:35 +03:00
robot-metrika-test
316a5a1d48
Auto version update to [54339]
2018-01-18 17:58:10 +03:00
proller
c3287caf47
Fix test 281 under asan
2018-01-18 17:49:19 +03:00
robot-metrika-test
17570a42d5
Auto version update to [54338]
2018-01-18 04:25:30 +03:00
robot-metrika-test
e303fa8982
Auto version update to [54337]
2018-01-17 21:16:35 +03:00
Vitaliy Lyudvichenko
69a3c81866
Fix incorrect delayed max_result_bytes check. [#CLICKHOUSE-2]
...
Resolves #1724
2018-01-17 21:15:25 +03:00
proller
ed80378a43
Split too long test
2018-01-17 16:43:29 +03:00
Nikolai Kochetov
694b305036
added arrayIntersect [#CLICKHOUSE-3504]
2018-01-17 14:36:02 +03:00
robot-metrika-test
0580eb1441
Auto version update to [54336]
2018-01-16 23:36:53 +03:00
Alexey Milovidov
947c979537
Added test #1665
2018-01-16 23:35:10 +03:00
Alexey Milovidov
e7adc34aeb
Merge branch 'master' of github.com:yandex/ClickHouse
2018-01-16 23:33:10 +03:00
Alexey Milovidov
906c79d991
Added support for floating point numbers with leading + in exponent #1665
2018-01-16 23:32:31 +03:00
proller
087474ba3d
Fix tests
2018-01-16 23:17: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
robot-metrika-test
dc6127f672
Auto version update to [54335]
2018-01-16 21:06:14 +03:00
proller
e8f2bb2d3b
Travis optimize ( #1775 )
...
* Travis optimize
2018-01-16 16:44:45 +03:00
Vitaliy Lyudvichenko
3f9f1f7f4c
Add forgoten file. [#CLICKHOUSE-2]
2018-01-16 15:12:21 +03:00
Vitaliy Lyudvichenko
b68b60fb38
More detailed test. [#CLICKHOUSE-3]
...
Resolves #1553 .
2018-01-16 15:05:01 +03:00
Alexey Milovidov
eb8f41a3e3
Continued experiments [#CLICKHOUSE-2]
2018-01-16 05:04:53 +03:00
Alexey Milovidov
846de85799
Continued experiments [#CLICKHOUSE-2]
2018-01-16 05:04:02 +03:00
Alexey Milovidov
2fa8992e2c
Continued experiments [#CLICKHOUSE-2]
2018-01-16 04:59:51 +03:00
Alexey Milovidov
6d1e68baf9
Experiments continued [#CLICKHOUSE-2]
2018-01-16 00:52:24 +03:00
Alexey Milovidov
9e1e079a34
Experiments continued [#CLICKHOUSE-2]
2018-01-16 00:00:26 +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
Alexey Milovidov
53ab52f95c
Experiments with LZ4 [#CLICKHOUSE-2]
2018-01-15 08:54:28 +03:00
Amos Bird
00c35897fa
Get rid of unnecessary check
2018-01-15 11:18:52 +08:00
robot-metrika-test
1b82615be6
Auto version update to [54334]
2018-01-14 12:43:52 +03: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
ca588c7c95
Added performance test #1665 .
2018-01-13 04:41:10 +03:00
Alexey Milovidov
74d73af3c4
Addition to prev. revision [#CLICKHOUSE-2].
2018-01-13 04:37:51 +03:00
Alexey Milovidov
9283c38854
Fixed error [#CLICKHOUSE-2].
2018-01-13 04:33:55 +03:00
alexey-milovidov
d7d7b210e5
Merge pull request #1760 from proller/fix15
...
clickhouse-test: print number passed and skipped tests
2018-01-12 22:36:21 +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
e31aaadc20
clickhouse-test: print number passed and skipped tests
2018-01-12 21:30:15 +03:00
Alexey Milovidov
7a865af32a
Integration tests: added clarification [#CLICKHOUSE-2].
2018-01-12 21:14:54 +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
proller
bf2fb5f2cc
clickhouse-test: early exit if server died (more than 20 queries failed in chain). Auto use system queries dir.
2018-01-12 16:56:02 +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
proller
ebcf462fd6
Fix test reference
2018-01-12 15:25:28 +03:00
robot-metrika-test
00cc4639a9
Auto version update to [54333]
2018-01-12 12:43:30 +03:00
Alexey Milovidov
5bb8fe6f03
Added performance test #1665 .
2018-01-12 04:32:13 +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
ef8e1dc9f7
Added test #1665
2018-01-12 00:33:19 +03:00
Alexey Milovidov
6ed8c9481c
Fixed test [#CLICKHOUSE-2]
2018-01-12 00:31:53 +03:00
Alexey Milovidov
f7235476d7
Fixed test [#CLICKHOUSE-2]
2018-01-12 00:30:34 +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
43ae5a6932
Fixed test. [#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
proller
68b752bf02
Add broken test remote('host:port')
2018-01-11 20:28:49 +03:00
Nikolai Kochetov
ca085a7e47
added getMostCommonType(...) [#CLICKHOUSE-3504]
2018-01-11 17:10:43 +03:00
proller
dea5dcd85d
Fix tests (sudo params on precise, deleted engine)
2018-01-11 15:26:25 +03:00
robot-metrika-test
ffff9320cd
Auto version update to [54332]
2018-01-11 10:25:25 +03:00
Nikolai Kochetov
0d3ba65e0e
fixed cast for arrays [#CLICKHOUSE-3504]
2018-01-10 22:52:39 +03:00
Nikolai Kochetov
f0f6343a39
added tests for hasAll and hasAny [#CLICKHOUSE-3504]
2018-01-10 22:00:00 +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
8f0cf29a56
Miscellaneous [#CLICKHOUSE-2].
2018-01-10 04:45:28 +03: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
aefc9210fa
added perftest [#CLICKHOUSE-3503]
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
f630e4b0a6
Revert "Update gen-compiler-includes.sh"
...
This reverts commit 6b758edbbc
.
2018-01-09 20:49:22 +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
Alexey Milovidov
c4e5f8a500
Added test for RIGHT JOIN #1731
2018-01-09 20:31:52 +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
proller
694c6ed243
Cmake: move all gtest stuff to one place in dbms/CMakeLists.txt
2018-01-09 20:29:17 +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
alexey-milovidov
6b758edbbc
Update gen-compiler-includes.sh
2018-01-09 20:24:25 +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
Roman Tsisyk
5cea83a98d
Unbundle contrib/googletest
...
Allow to use system libgtest-dev/gtest-devel when -DUNBUNDLED is ON.
2018-01-09 20:15:31 +03:00
proller
e505e87bb4
Fix format_schema_path in default config
2018-01-09 20:02:52 +03:00
robot-metrika-test
ee2ea696ba
Auto version update to [54331]
2018-01-09 10:46:57 +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
fffad2bb3b
Added test [#CLICKHOUSE-2].
2018-01-02 08:56:26 +03:00
Alexey Milovidov
c4687b5fb9
Unification of Nested: development [#CLICKHOUSE-2].
2018-01-02 08:54:34 +03:00
zhang2014
b7639c2324
ISSUES-957 update 00553_buff_exists_materlized_column.sql
2018-01-01 19:56:52 +08: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
proller
1610abdd5c
Tests: Dont eat my cpu!
2017-12-29 16:59:01 +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
robot-metrika-test
f998b0c859
Auto version update to [54330]
2017-12-28 18:27:14 +03:00
proller
7a813002aa
Build fixes
2017-12-28 15:58:39 +03:00
robot-metrika-test
5baa388708
Auto version update to [54329]
2017-12-28 13:55:24 +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
Alexey Milovidov
7e6a6df99e
Merge branch 'master' into aavdonkin-master
2017-12-27 23:13:02 +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
proller
f9d3c01a01
Add package clickhouse-test, allow testing in pbuilder ( #1709 )
...
* Allow 32bit build (with warning)
* Add package clickhouse-test
* Test fixes
* fix
* fix
* clickhouse-test: aloow work in read-only queries dir (--tmp)
* Fix test
2017-12-27 22:01:57 +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
proller
8c01852dc6
Fix test
2017-12-27 19:18:51 +03:00
proller
015a6c469b
clickhouse-test: aloow work in read-only queries dir (--tmp)
2017-12-27 19:04:15 +03:00
robot-metrika-test
becb843d18
Auto version update to [54328]
2017-12-27 11:09:36 +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
a629039b08
Revert "Disable failed test."
...
This reverts commit e9b3d45c06
.
2017-12-26 20:40:30 +03:00
alexey-milovidov
06bc58bb7c
Merge pull request #1705 from ekonkov/master
...
Allow tests to be excluded from execution
2017-12-26 20:40:07 +03:00
alexey-milovidov
7a0281dd20
Update RangeHashedDictionary.cpp
2017-12-26 20:37:21 +03:00
Evgeny Konkov
e9b3d45c06
Disable failed test.
2017-12-26 17:43:00 +03:00
Evgeny Konkov
2f5ae0766e
Disable tests with additional message.
...
By default disabled tests not running.
Add command line switch to force execution of disabled tests.
2017-12-26 17:42:41 +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
64fd3fe35a
added test for Dictionary(range_hashed) [#CLICKHOUSE-3521]
2017-12-25 23:55:45 +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
alexey-milovidov
94cd6fc061
Update 00544_insert_with_select.sql
2017-12-25 19:02:02 +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-milovidov
c1701e3a0e
Update 00542_access_to_temporary_table_in_readonly_mode.sql
2017-12-25 18:59:35 +03:00
Kirill Shvakov
4099907d51
Add test readonly and temporary tables
2017-12-25 18:59:35 +03:00
alexey-milovidov
9ed28abdb4
Update 00541_to_start_of_fifteen_minutes.sql
2017-12-25 18:58:37 +03:00
Kirill Shvakov
d87aad45e6
add test toStartOfFifteenMinutes
2017-12-25 18:58:37 +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
4e2764c2af
Added test #1683
2017-12-25 04:38:51 +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
9d60bcf3f9
Added test for unrestricted aggregate function combinators [#CLICKHOUSE-3511].
2017-12-24 02:30:20 +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
334e349d75
Fixed test [#CLICKHOUSE-2].
2017-12-23 07:25:01 +03:00
Alexey Milovidov
e5a33e6332
Added test for the case when Nullable condition is optimized to PREWHERE #1626
2017-12-23 05:52:13 +03:00
Alexey Milovidov
bd14d22d22
Added test from Marek #1650
2017-12-23 05:06:25 +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
62bccc4eef
Updated test [#CLICKHOUSE-2].
2017-12-23 04:28:50 +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
22ef87b763
Fixed bad test [#CLICKHOUSE-2].
2017-12-23 01:11:08 +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
daab7adf6f
client --ignore-error option (useful with --multiquery) ( #1652 )
...
* client --ignore-error option (useful with --multiquery)
* --ignore_error via lexer
2017-12-22 21:29:37 +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
b9ca36e5ad
Added test [#CLICKHOUSE-2].
2017-12-22 06:59:48 +03: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
46c733ec11
Added test for the issue found by StarWix [#CLICKHOUSE-3].
2017-12-22 02:00:32 +03:00
Alexey Milovidov
fca5d5f2c7
Use better implementation for exp10 [#CLICKHOUSE-2].
2017-12-22 02:00:32 +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
6e691269ad
Updated instruction [#CLICKHOUSE-2].
2017-12-21 05:31:32 +03:00
Alexey Milovidov
0744b9118f
Fixed test [#CLICKHOUSE-2].
2017-12-21 05:18:21 +03:00
Alexey Milovidov
128c4a38d6
Merge branch 'fix_aggregate_functions' of https://github.com/silviucpp/ClickHouse into silviucpp-fix_aggregate_functions
2017-12-21 05:14:21 +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
Alexey Milovidov
de3f1ee629
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Alexey Milovidov
e316ea67af
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Alexey Milovidov
6fe1b175a0
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Alexey Milovidov
d7a36519da
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Alexey Milovidov
b3f4d439fb
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Alexey Milovidov
178deea21c
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Alexey Milovidov
36cbd50842
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Alexey Milovidov
584a263d79
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Alexey Milovidov
c990740b33
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
Roman Tsisyk
0e556c2b03
Fix compilation without SSE 4.2
...
Fixes "'hash64' was not declared in this scope" on aarch64.
2017-12-21 00:48:17 +03:00
Marek Vavruša
fd260c31ba
CapnpProtoRowInputStream: fixed build in current master, added docs
2017-12-21 00:46:50 +03:00
Marek Vavruša
3e1ce9bf26
StorageKafka: nicer interface for claiming consumers
2017-12-21 00:46:50 +03:00
Marek Vavruša
9c57def8df
StorageKafka: update comments
2017-12-21 00:46:50 +03:00
Marek Vavruša
c6e959d1e9
StorageKafka: extended configuration, parallel consumers, offset tracking
...
This contains many fixes and corrections for the Kafka engine.
Most notably it now supports extended configuration similarly to GraphiteMergeTree.
Now it also allows specification of consumer count to parallelize consumption of
multiple partitions both in materialized views and in SELECT queries.
The offsets are now committed in the insertSuffix() method after all rows
are successfully read. If an exception is thrown during reading, affected consumer
unsubscribes from all assignments and rejoins the consumer group to rewind offsets.
This means that the consumer won't lose messages in case of write failures.
2017-12-21 00:46:50 +03:00
Marek Vavruša
6d4f106f11
StorageMaterializedView: update dependencies on DETACH TABLE
...
Previously the dependencies were updated only on DROP TABLE, so
detaching a materialized view and inserting to source table thrown an exception.
2017-12-21 00:46:50 +03:00
Marek Vavruša
fb1aa84973
Fixed clang build on macOS
...
- Make sure to use dynamic linking on macOS to avoid OpenSSL static linking bug
- Use -std=c++17 in CFLAGS for files in contrib
- Avoid bad support for thread_local on macOS with clang altogether
2017-12-21 00:46:50 +03:00
Amos Bird
e7af27c4e0
Better iostream debugger with adl.
...
This patch fixes some issues related to DUMP() debugging. Opening std and
placing all Core related classed inside DB namespace enable proper adl support.
It also adds better sfinae guards to Field constructor which somehow breaks <<
overloads.
2017-12-20 21:44:42 +03:00
Alexey Zatelepin
c422b5b2e4
take PreCommitted parts into account when calculating total merge size [#CLICKHOUSE-3508]
2017-12-20 20:52:28 +03:00
Alexey Zatelepin
835b957e95
add comments [#CLICKHOUSE-3508]
2017-12-20 20:40:36 +03:00
Alexey Zatelepin
d35baafde8
check PreCommitted parts when executing log entries and in PartChecker [#CLICKHOUSE-3508]
2017-12-20 20:04:14 +03:00
Alexey Zatelepin
2340e55d0e
revert to old behaviour of getPartIfExists() [#CLICKHOUSE-3508]
2017-12-20 20:04:14 +03:00
Silviu Caragea
d60dfc9f0a
Fix potential memory leak
2017-12-20 12:46:29 +02:00
Kirill Shvakov
d40d0657e0
Merge branch 'master' of https://github.com/yandex/ClickHouse
2017-12-20 10:21:25 +02:00
Kirill Shvakov
59aa1359c8
Access to TEMPORARY TABLES for read-only users
2017-12-20 09:52:06 +02:00
Alexey Milovidov
3124ffea67
Fixed error in prev. revision [#CLICKHOUSE-2].
2017-12-20 02:14:37 +03:00
Alexey Milovidov
6c8a0e70fd
Additions after merge [#CLICKHOUSE-2].
2017-12-19 23:09:15 +03:00
alexey-milovidov
7a97d08b04
Merge branch 'master' into CLICKHOUSE-3361
2017-12-19 23:03:17 +03:00
Alexey Milovidov
c8d8016bbb
Fixed bad code [#CLICKHOUSE-2].
2017-12-19 22:56:48 +03:00
Nikolai Kochetov
39ec3f7d74
changed exception message, added comments
2017-12-19 22:51:59 +03:00
Alexey Milovidov
b48d934c3d
Merge branch 'master' of github.com:yandex/ClickHouse
2017-12-19 22:46:11 +03:00
Alexey Milovidov
548cb4e658
Fixed bad code in Client.cpp [#CLICKHOUSE-2].
2017-12-19 22:46:02 +03:00
Silviu Caragea
b08463ed7b
Fix for https://github.com/yandex/ClickHouse/issues/1648
2017-12-19 22:41:05 +03:00
Alexey Milovidov
0d1a285b23
Removed ignoring of EPIPE in WriteBufferFromFileDescriptor [#CLICKHOUSE-2].
2017-12-19 21:04:14 +03:00
Alexey Milovidov
2ac61adfec
Merge branch 'master' into ks1322-master
2017-12-19 20:49:02 +03:00
Alexey Milovidov
1029b2a5ef
Fixed warning in SpecializedAggregator.h [#CLICKHOUSE-2].
2017-12-19 20:48:08 +03:00
alexey-milovidov
34d54ea349
Update CMakeLists.txt
2017-12-19 20:42:35 +03:00
proller
631f307b9f
Copy more platform-specific headers
2017-12-19 20:42:35 +03:00
Alexey Milovidov
1a6f38b27f
Merge branch 'master' into ks1322-master
2017-12-19 20:38:29 +03:00
Alexey Milovidov
e25514d28a
Addition to the fix of generic variant of topK aggregate function [#CLICKHOUSE-2].
2017-12-19 20:21:47 +03:00
Alexey Milovidov
089e78dc16
Clarification [#CLICKHOUSE-2].
2017-12-19 04:57:06 +03:00
Alexey Milovidov
aba63cc76f
Better semantic of sharing columns: fixed error [#CLICKHOUSE-2].
2017-12-19 04:53:54 +03:00
Alexey Milovidov
50d09f08f5
Updated test [#CLICKHOUSE-2].
2017-12-19 04:44:05 +03:00
Alexey Milovidov
80e48cc899
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-19 04:42:24 +03:00
Alexey Milovidov
4e8a70a29f
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-19 04:13:20 +03:00
Alexey Milovidov
d9732198ac
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-19 03:51:12 +03:00
Alexey Milovidov
61c2b55a57
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-19 03:43:04 +03:00
Alexey Milovidov
02821f4861
Fixed error [#CLICKHOUSE-2].
2017-12-19 03:26:16 +03:00
Alexey Milovidov
93a300bea4
Miscellaneous [#CLICKHOUSE-2].
2017-12-19 00:49:34 +03:00
Alexey Milovidov
521b3aee84
Fixed error found by M.Filimonov (equality of array sizes are not checked in n-ary version of aggregate functions with -Array combinator) [#CLICKHOUSE-2].
2017-12-19 00:44:18 +03:00
Alexey Milovidov
6c28c72fdc
Added test [#CLICKHOUSE-2].
2017-12-19 00:16:20 +03:00
Alexey Milovidov
b83142ea62
Fixed error found by M.Filimonov (generic implementation of topK aggregate function was totally wrong) [#CLICKHOUSE-2].
2017-12-19 00:12:15 +03:00
Alexey Milovidov
339e22d014
Fixed error found by M.Filimonov [#CLICKHOUSE-2].
2017-12-19 00:04:19 +03:00
Alexey Milovidov
d84ef5d8e2
Merge branch 'master' of github.com:yandex/ClickHouse
2017-12-18 23:43:19 +03:00
Alexey Milovidov
09fa34c764
Fixed error found by M.Filimonov (missing check for maximum size of FixedString leading to overflow in arithmetic) [#CLICKHOUSE-2].
2017-12-18 23:43:10 +03:00
proller
ab5cbcc627
Try fix internal compiler [tests run] ( #1651 )
...
* Try fic interal compiler
* Debian: depend on tzdata package
* fix order
* Try fix
* fix
* try
* fix
* fix
* fix
* fix
2017-12-18 23:30:19 +03:00
proller
bee53d483f
Allow run tests without extract-from-config
2017-12-18 15:26:34 +03:00
Alexey Milovidov
bc160f5e4d
Fixed error [#CLICKHOUSE-2].
2017-12-18 09:49:38 +03:00
Alexey Milovidov
84016cc96f
Fixed error [#CLICKHOUSE-2].
2017-12-18 09:39:07 +03:00
alexey-milovidov
adfc743e06
Merge pull request #1658 from yandex/cow_columns
...
Better semantic of sharing columns.
2017-12-18 09:26:27 +03:00
Alexey Milovidov
32fcc7b3f0
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-18 09:23:19 +03:00
Alexey Milovidov
27301ac380
Updated test [#CLICKHOUSE-2].
2017-12-18 08:43:41 +03:00
Alexey Milovidov
816169a3be
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-18 08:38:42 +03:00
Alexey Milovidov
11d3b9c710
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-18 08:37:20 +03:00
Alexey Milovidov
f9170190c6
Miscellaneous [#CLICKHOUSE-2].
2017-12-18 07:17:56 +03:00
Alexey Milovidov
c5d5296889
Miscellaneous [#CLICKHOUSE-2].
2017-12-18 07:07:26 +03:00
Alexey Milovidov
88384bad05
Removed duplicate test [#CLICKHOUSE-2].
2017-12-18 05:46:34 +03:00
Alexey Milovidov
280b88454b
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-18 05:43:40 +03:00
Alexey Milovidov
7c802ee3de
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-18 05:37:08 +03:00
Alexey Milovidov
f95ddfce10
Make DataTypes totally immutable [#CLICKHOUSE-2].
2017-12-18 04:11:48 +03:00
ks1322
2fd62ccd9f
added expect test
2017-12-17 23:46:52 +03:00
Alexey Milovidov
32bc1df714
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-17 13:51:19 +03:00
Alexey Milovidov
6bad555b9d
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-17 13:39:22 +03:00
Alexey Milovidov
f501f6990e
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-17 13:20:48 +03:00
Alexey Milovidov
6f7d2b99ea
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-17 13:14:12 +03:00
Alexey Milovidov
75c0ad10ab
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-17 12:01:12 +03:00
Alexey Milovidov
c0670435ab
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-17 11:44:06 +03:00
Alexey Milovidov
8484f086a5
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-17 10:59:14 +03:00
Alexey Milovidov
6ad5be5eee
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-17 10:15:13 +03:00
Alexey Milovidov
d497d010d7
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-17 08:21:04 +03:00
ks1322
62a2932299
ignore EPIPE write error for custom pagers in client
2017-12-16 16:06:30 +03:00
ks1322
2a42fe8f3f
ignore SIGPIPE signal for custom pagers
2017-12-16 16:06:30 +03:00
Alexey Milovidov
5f4a536f75
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 09:33:54 +03:00
Alexey Milovidov
62f7c25522
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 09:19:21 +03:00
Alexey Milovidov
6fe31d257d
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 09:10:05 +03:00
Alexey Milovidov
342f0e431a
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 09:08:33 +03:00
Alexey Milovidov
7d69e041f5
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 09:02:54 +03:00
Alexey Milovidov
278f8b9fcb
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 08:52:47 +03:00
Alexey Milovidov
ddfb1fab9e
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 08:46:46 +03:00
Alexey Milovidov
bce801a663
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 08:34:07 +03:00
Alexey Milovidov
14b0397500
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 08:21:04 +03:00
Alexey Milovidov
45805a367f
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 07:59:32 +03:00
Alexey Milovidov
5b32914089
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 07:29:34 +03:00
Alexey Milovidov
3f0c4bf61c
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 05:34:02 +03:00
Alexey Milovidov
30639dea0f
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 05:24:02 +03:00
Alexey Milovidov
3e3042f01a
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 04:21:59 +03:00
Alexey Milovidov
8302769563
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 03:49:03 +03:00
Alexey Milovidov
645f620873
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 00:46:56 +03:00
Alexey Milovidov
afec433d6f
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 00:33:05 +03:00
Alexey Milovidov
7284a64740
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 00:32:25 +03:00
Alexey Milovidov
ecd56de6a8
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 00:11:24 +03:00
Alexey Milovidov
c4bbc1c963
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 23:48:46 +03:00
Alexey Milovidov
8ce60e3af0
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 22:53:11 +03:00
Alexey Milovidov
0b76b61c73
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 22:46:24 +03:00
proller
e7f82b6a8c
Allow run test without package install and on custom ports. ( #1643 )
...
* ExtractFromConfig --try
* Add symlinks to package
* clickhouse-test --order option
2017-12-15 22:34:19 +03:00
Alexey Milovidov
9c9896c1a9
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 22:17:15 +03:00
Alexey Milovidov
d0ca8b2533
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 21:23:05 +03:00
proller
254cced2cd
Add internal compiler include dir (to fix missing stddef.h)
2017-12-15 18:43:47 +03:00
Alexey Milovidov
b2aff7521b
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 06:47:43 +03:00
Alexey Milovidov
7e685c383b
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 06:19:14 +03:00
Alexey Milovidov
e3d931d7fc
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 06:12:04 +03:00
Alexey Milovidov
96ee187d1a
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 06:04:33 +03:00
Alexey Milovidov
a086e3e6d8
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 05:52:38 +03:00
Alexey Milovidov
401fd2d6d8
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 05:36:40 +03:00
Alexey Milovidov
a92055c768
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 05:04:28 +03:00
Alexey Milovidov
6756b37925
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 04:34:30 +03:00
Alexey Milovidov
4148c6ce81
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 03:06:56 +03:00
Alexey Milovidov
8926af2ced
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 03:01:59 +03:00
Alexey Milovidov
c2985857f8
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 00:51:30 +03:00
Alexey Milovidov
01a0b91c83
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 00:20:14 +03:00
Alexey Milovidov
d164024e3d
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-14 23:58:18 +03:00
Alexey Milovidov
037d304afa
Merge remote-tracking branch 'origin/master' into cow_columns
2017-12-14 22:26:16 +03:00
proller
7b47e102c9
Fix internal compiler option
2017-12-14 21:42:48 +03:00
Alexey Milovidov
54476f3c1e
Removed note about experimental state of ZSTD [#CLICKHOUSE-2].
2017-12-14 20:42:27 +03:00
Nikolai Kochetov
08fed58a25
use columns from left block out of columns with same name at Join [#CLICKHOUSE-3361]
2017-12-14 18:28:30 +03:00
Silviu Caragea
a1104644d9
Add tests
2017-12-14 11:02:12 +02:00
Alexey Milovidov
744c2d3d02
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-14 07:30:01 +03:00
Alexey Milovidov
911d80ab51
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-14 07:25:22 +03:00
Alexey Milovidov
fb38ef9a8e
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-14 06:56:56 +03:00
Alexey Milovidov
bed2d644e6
Merge remote-tracking branch 'origin/master' into cow_columns
2017-12-14 04:44:35 +03:00
Alexey Milovidov
f3bb24a3bf
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-14 04:43:19 +03:00
Silviu Caragea
10156f1f56
Fix for topK and groupUniqArray over Nullable columns
2017-12-13 23:48:35 +02:00
Alexey Milovidov
aea1d0ce4a
Fixed error [#CLICKHOUSE-2].
2017-12-14 00:26:17 +03:00
Alexey Milovidov
1172e6559d
Reverted Client.cpp [#CLICKHOUSE-2].
2017-12-14 00:12:21 +03:00
Alexey Milovidov
cfedf4d5b1
Merge branch 'fix14' of https://github.com/proller/ClickHouse into proller-fix14
2017-12-14 00:10:37 +03:00
Alexey Milovidov
9cfd3da183
Merge branch 'master' of github.com:yandex/ClickHouse
2017-12-14 00:09:41 +03:00
Alexey Milovidov
0dd0d76b19
Added changes from proller [#CLICKHOUSE-2].
2017-12-14 00:09:31 +03:00
alexey-milovidov
58cb0ab57d
Merge pull request #1602 from kshvakov/master
...
client #1600 : add network-bandwidth option
2017-12-13 23:54:03 +03:00
alexey-milovidov
7908818ac1
Update Client.cpp
2017-12-13 23:53:53 +03:00
alexey-milovidov
1612aab3c5
Merge pull request #1636 from bocharov/master
...
Fix mark cache settings initialization.
2017-12-13 23:45:45 +03:00
Alexey Milovidov
b3277408c4
Added fix from proller [#CLICKHOUSE-2].
2017-12-13 23:43:51 +03:00
Alexey Milovidov
4d40879135
Proper fix for external dictionaries with complex keys [#CLICKHOUSE-2].
2017-12-13 23:40:03 +03:00
Alex Bocharov
3a320733f3
Fix mark cache settings initialization.
...
Before this change setting mark_cache_min_lifetime wasn't applied from the user settings, but only from the default.
There reason was that corresponding Settings initialization was after creation of the MarkCache.
This fix moves Settings initialization above creation of the MarkCache.
2017-12-13 20:32:26 +00:00
Alexey Milovidov
9cc424b4b5
Fixed error: loading "preprocessed" files if dictionary/model config was specified with glob [#CLICKHOUSE-3501].
2017-12-13 23:21:03 +03:00
Alexey Milovidov
f68cf599e6
Removed unused method [#CLICKHOUSE-2]
2017-12-13 22:55:16 +03:00
Alexey Milovidov
0b8688e89b
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-13 22:14:12 +03:00
proller
4f83806a9e
Merge remote-tracking branch 'upstream/master' into fix14
2017-12-13 22:08:53 +03:00
proller
741117a390
Fix freebsd build. Little cmake fixes. ( #1634 )
2017-12-13 22:07:12 +03:00
Alexander Avdonkin
331c5c3db8
Merge branch 'master' of github.com:aavdonkin/ClickHouse
2017-12-13 19:48:27 +03:00
Alexander Avdonkin
d1ee8c5358
Fixed issues
2017-12-13 19:46:57 +03:00
proller
5453a41208
fix
2017-12-13 19:41:29 +03:00
proller
b911b03eed
Print error
2017-12-13 19:40:25 +03:00
Silviu Caragea
c5fedfc82d
Fix the way we read the request body.
...
Current implementation it's not working properly. This can be tested with any select query that's large than max_query_size. Only up to max_query_size size is read and sent to the parser which leads to an invalid query.
2017-12-13 16:13:30 +02:00
proller
4076e14b6b
Merge remote-tracking branch 'upstream/master' into fix14
2017-12-13 16:10:02 +03:00
robot-metrika-test
cbb02b580c
Auto version update to [54326]
2017-12-13 12:55:19 +03:00
Alexey Milovidov
819287b697
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-13 04:27:53 +03:00
Nikolai Kochetov
cd0eb53e36
added StorageSystemPartsBase [#CLICKHOUSE-3328]
2017-12-12 21:38:56 +03:00
Nikolai Kochetov
97917098a0
added system.parts_columns as a copy of system.parts [#CLICKHOUSE-3328]
2017-12-12 21:38:41 +03:00
alexey-milovidov
62fb610e4e
Merge pull request #1447 from yandex/support-table-functions-for-desc-and-insert
...
Support table functions for desc and insert
2017-12-11 23:28:10 +03:00
proller
cbea7bdeb7
Add options to internal compiler: -nostdinc -nostdinc++ -Bprefix= --isysroot=
2017-12-11 23:27:17 +03:00
Nikolai Kochetov
cee84e1120
fix build [#CLICKHOUSE-3397]
2017-12-11 21:40:28 +03:00
Nikolai Kochetov
6c8e5594f9
fix build [#CLICKHOUSE-3397]
2017-12-11 21:38:43 +03:00
Alexey Milovidov
7d04e67262
Merge branch 'write-buffer-from-arena'
2017-12-11 21:25:03 +03:00
Alexey Milovidov
90848adc6b
Fixed translation [#CLICKHOUSE-2].
2017-12-11 21:19:35 +03:00
Nikolai Kochetov
f71b8bf58f
merged with master
2017-12-11 21:13:24 +03:00
Nikolai Kochetov
68ccadfc6c
removed owned_cluster_for_insertion from StorageDistributed [#CLICKHOUSE-3397]
2017-12-11 21:09:20 +03:00
Alexey Milovidov
3b65d95525
Translated comments and by the way made code better [#CLICKHOUSE-2].
2017-12-11 21:05:16 +03:00
Nikolai Kochetov
1ba891f3fc
removed owned_cluster_for_insertion from StorageDistributed [#CLICKHOUSE-3397]
2017-12-11 20:29:24 +03:00
proller
426c0cc1da
Fix debian package build
2017-12-11 20:27:22 +03:00
proller
a1b4605314
Merge remote-tracking branch 'upstream/master' into fix14
2017-12-11 19:05:17 +03:00
proller
92ecbea75a
Cmake: fix spaces
2017-12-11 15:38:34 +03:00
Alexey Milovidov
524d98c7fc
More strict semantic on sharing columns (development) [#CLICKHOUSE-2].
2017-12-11 05:59:56 +03:00
Alexey Milovidov
c3015bece3
Miscellaneous [#CLICKHOUSE-2].
2017-12-11 01:44:04 +03:00
Alexey Milovidov
de75e40528
Clarifications [#CLICKHOUSE-2].
2017-12-11 00:05:21 +03:00
proller
cc895f4698
Allow to build several binaries
2017-12-10 22:44:24 +03:00
artpaul
b46ce4eca9
silence unused parameters
2017-12-10 00:31:05 +03:00
proller
0a83bde143
Comment <listen_host> in default config (allows start server with default config in ipv6 disabled)
2017-12-10 00:30:36 +03:00
Alexey Milovidov
6a568ab692
Technically allowed empty arrays of unspecified type [#CLICKHOUSE-2].
2017-12-09 23:56:53 +03:00
Alexey Milovidov
ae2e250bc2
Modified comment [#CLICKHOUSE-2].
2017-12-09 20:40:31 +03:00
Alexey Milovidov
abf53189bb
More strict checks on compositions of columns [#CLICKHOUSE-2].
2017-12-09 20:32:18 +03:00
Alexey Milovidov
ddd475ec68
Merge branch 'master' of github.com:yandex/ClickHouse
2017-12-09 20:16:34 +03:00
Alexey Milovidov
71116c4d82
Fixed error [#CLICKHOUSE-2].
2017-12-09 20:16:24 +03:00
proller
759914b578
Cmake: Make symlinks as targets (allow "make clickhouse-server") ( #1605 )
...
* Use internal clang to copy headers
* Cmake: Make symlinks as targets (allow "make clickhouse-server")
* clean
* note
* fix
* fix
* Change lib names to *-lib
* rename
2017-12-09 19:36:03 +03:00
Alexey Milovidov
8758d9b28c
Returned back order in clickhouse-test [#CLICKHOUSE-2]
2017-12-09 19:17:37 +03:00
Alexey Milovidov
b34cdeec79
Fixed error [#CLICKHOUSE-2]
2017-12-09 19:17:37 +03:00
Alexey Milovidov
6ecc93e607
Fixed error [#CLICKHOUSE-2]
2017-12-09 19:17:37 +03:00
Alexey Milovidov
dd40e00f86
Fixed error [#CLICKHOUSE-2]
2017-12-09 19:17:37 +03:00
Alexey Milovidov
02d00253e2
Fixed error [#CLICKHOUSE-2]
2017-12-09 19:17:37 +03:00
Alexey Milovidov
6cf5c63f4e
Fixed error [#CLICKHOUSE-2]
2017-12-09 19:17:37 +03:00
Alexey Milovidov
642d7c2ff2
Added test [#CLICKHOUSE-2]
2017-12-09 19:17:37 +03:00
Alexey Milovidov
52088c9c07
Various fixes [#CLICKHOUSE-2]
2017-12-09 19:17:37 +03:00
Alexey Milovidov
291467647a
Cleanup semantics of data types [#CLICKHOUSE-2].
2017-12-09 19:17:37 +03:00
Alexey Milovidov
be70e6282e
Added test [#CLICKHOUSE-3431].
2017-12-09 19:17:37 +03:00
Alexey Milovidov
b00bb5c348
Added support for nullable types in HAVING section in presence of WITH TOTALS [#CLICKHOUSE-3431].
2017-12-09 19:17:37 +03:00
Alexey Milovidov
44bcae8cce
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-09 19:17:37 +03:00
Alexey Milovidov
ae3d44f30f
Cleanup semantics of data types [#CLICKHOUSE-2].
2017-12-09 19:17:37 +03:00
Alexey Milovidov
254030d6c3
Cleanup semantics of data types [#CLICKHOUSE-2].
2017-12-09 19:17:37 +03:00
Alexey Milovidov
3def5f03f5
Cleanup semantics of data types [#CLICKHOUSE-2].
2017-12-09 19:17:37 +03:00
Alexey Milovidov
7f6c48d5de
Cleanup semantics of data types [#CLICKHOUSE-2].
2017-12-09 19:17:37 +03:00
Alexey Milovidov
d2cfda4d9b
Cleanup semantics of data types [#CLICKHOUSE-2].
2017-12-09 19:17:37 +03:00
Kirill Shvakov
da39514071
client #1600 : add network-bandwidth option
2017-12-08 17:02:17 +02:00
proller
2bdc2c8900
Merge remote-tracking branch 'upstream/master' into fix14
2017-12-08 17:21:03 +03:00
Alexey Milovidov
7ef7ff9ae3
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 12:45:07 +03:00
Alexey Milovidov
f50c432ff3
Merge branch 'master' of github.com:yandex/ClickHouse
2017-12-08 12:08:07 +03:00
Alexey Milovidov
e2cd0272a4
Added support for aggregate functions of Nullable arguments in cases when they return non-Nullable result [#CLICKHOUSE-2].
2017-12-08 12:07:52 +03:00
alexey-milovidov
1d0df29e0f
Merge branch 'master' into master
2017-12-08 11:29:01 +03:00
proller
46fb94a3e4
Internal compiler: Use libclang-5.0 ( #1597 )
...
* Fix std::numeric_limits<__uint128_t>
* clean
* Better fix of std::numeric_limits<__uint128_t>
* Use clang 5.0 (release) as internal compiler
* message
* Fix werror
* fix
* fix
* fixing..
* note
* fix
* fix
* fix
* fix
* multi version
* fix
* fix
2017-12-08 11:28:08 +03:00
Alexey Milovidov
16b06bd544
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 11:25:28 +03:00
Alexey Milovidov
413e828cde
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 10:46:09 +03:00
Alexey Milovidov
bd6d69ba7d
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 10:42:35 +03:00
Alexey Milovidov
384d03d4ce
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 10:41:08 +03:00
Alexey Milovidov
42d1cbd6c7
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 10:34:24 +03:00
Alexey Milovidov
09ddf5e21d
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 10:12:00 +03:00
Alexey Milovidov
1b60106333
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 09:58:48 +03:00
Alexey Milovidov
f85afb3986
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 09:46:35 +03:00
Alexey Milovidov
9962035ef4
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 08:09:08 +03:00
Alexey Milovidov
fcf371a930
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 07:52:38 +03:00
Alexey Milovidov
4c67c3b171
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 07:09:32 +03:00
Alexey Milovidov
c4a09a11f4
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 06:52:33 +03:00
Alexey Milovidov
aefeee5697
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 05:00:11 +03:00
Alexey Milovidov
3edb76c08f
Merge remote-tracking branch 'origin' into nullable-simplification
2017-12-08 04:35:16 +03:00
Alexey Milovidov
00a7209607
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 04:34:52 +03:00
Alexey Milovidov
741a6e0066
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 03:50:25 +03:00
Alexey Milovidov
8cc0bae1bc
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 02:07:41 +03:00
Alexey Milovidov
d9c87bf4df
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 01:11:51 +03:00
robot-metrika-test
24f07c8711
Auto version update to [54325]
2017-12-07 16:08:12 +03:00
Alexey Milovidov
be72c247fe
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-07 15:09:55 +03:00
alexey-milovidov
9ede5c3517
Merge pull request #1592 from rlipovsky/regions_names_realloc
...
restore allocation size check in RegionsNames
2017-12-07 14:20:11 +03:00
alexey-milovidov
40322b8e21
Merge pull request #1593 from flowbehappy/patch-1
...
Remove unused parameter from InterruptListener.h
2017-12-07 14:19:48 +03:00
robot-metrika-test
ea7cbfedc2
Auto version update to [54324]
2017-12-07 11:58:41 +03:00
Alexey Milovidov
f5a06cee5b
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-07 11:47:13 +03:00
Alexey Milovidov
0ea105f639
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-07 11:31:47 +03:00
Alexey Milovidov
20151285e0
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-07 08:53:23 +03:00
Alexey Milovidov
f63b511c83
Fixed tests [#CLICKHOUSE-2].
2017-12-07 07:44:33 +03:00
Alexey Milovidov
2299a1749b
Fixed tests [#CLICKHOUSE-2].
2017-12-07 07:43:35 +03:00
Alexey Milovidov
f696e35ed8
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-07 07:34:13 +03:00
Alexey Milovidov
e776a4fc67
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-07 07:26:30 +03:00
Alexey Milovidov
8f248dd718
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-07 07:12:40 +03:00
Alexey Milovidov
8204d2cdfd
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-07 06:50:43 +03:00
Alexey Milovidov
283e1995ab
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-07 06:35:19 +03:00
Alexey Milovidov
06f99aa25c
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-07 04:57:26 +03:00
Alexey Milovidov
ad10cb35bd
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-07 04:43:06 +03:00
Alexey Milovidov
2c1d7ad343
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-07 03:31:46 +03:00
Flowyi
b60d9d1b78
Remove unused parameter from InterruptListener.h
...
This should fix the compile error:
```
ClickHouse/dbms/src/Server/InterruptListener.h:20:86: error: unused parameter 'timeout' [-Werror,-Wunused-parameter]
static int sigtimedwait(const sigset_t *set, siginfo_t *info, const struct timespec *timeout) {
^
1 error generated.
```
2017-12-06 23:29:26 +08:00
Roman Lipovsky
6ff1d56a3b
check correctness of data size estimation made by regions names data source
2017-12-06 16:03:02 +03:00
robot-metrika-test
6f53eb2b9a
Auto version update to [54323]
2017-12-06 11:59:46 +03:00
Alexey Milovidov
4a04537d44
Added tests [#CLICKHOUSE-3486].
2017-12-06 07:16:16 +03:00
Alexey Milovidov
9996e15458
Allow to use values of AggregateFunction data type in groupArray aggregate function [#CLICKHOUSE-3485].
2017-12-06 06:10:32 +03:00
Alexey Milovidov
5bb326de61
Allow to use values of AggregateFunction data type in groupArray aggregate function (incomplete) [#CLICKHOUSE-3485].
2017-12-06 00:25:01 +03:00
Alexander Avdonkin
89db5040df
Implemented MySQL and ODBC storages and table functions
2017-12-05 16:32:02 +03:00
robot-metrika-test
c6ad1682e8
Auto version update to [54322]
2017-12-05 14:26:32 +03:00
alexey-milovidov
6c86bc2506
Merge pull request #1584 from yandex/table-system-models
...
added system.models
2017-12-05 00:25:04 +03:00
alexey-milovidov
20a8812eba
Merge pull request #1587 from rlipovsky/geodata_readers
...
[clickhouse-yt] separate geoexport format readers from data files
2017-12-05 00:18:54 +03:00
alexey-milovidov
b7f656d289
Merge pull request #1541 from yandex/fix-replica-queue-load
...
Add idempotent retries of updating the replica queue in ZooKeeper
2017-12-05 00:16:03 +03:00
alexey-milovidov
c860223146
Merge pull request #1523 from amosbird/patch-4
...
Make malformed `array join` statement fail early
2017-12-05 00:02:41 +03:00
Alexey Milovidov
7e2100d7f7
Fixed exception message [#CLICKHOUSE-2].
2017-12-04 23:37:28 +03:00
alexey-milovidov
575a67b5d2
Merge branch 'master' into support-table-functions-for-desc-and-insert
2017-12-04 23:34:27 +03:00
Alexey Milovidov
344f861adb
Clarifications [#CLICKHOUSE-2].
2017-12-04 23:29:13 +03:00
alexey-milovidov
1aaeaf653d
Merge pull request #1551 from amosbird/patch-5
...
Propagate readPrefix in ParallelInputsProcessor (take 2)
2017-12-04 23:16:11 +03:00
alexey-milovidov
521e6181c1
Update ParallelInputsProcessor.h
2017-12-04 23:15:40 +03:00
Alexey Zatelepin
fb9c7ab81d
remove experimental_allow_extended_storage_definition_syntax Setting (turn on by default) [#CLICKHOUSE-3000]
2017-12-04 22:45:18 +03:00
alexey-milovidov
b7096daed9
Merge pull request #1586 from rlipovsky/geodata_fix
...
fix broken geo dictionaries
2017-12-04 21:50:27 +03:00
proller
e38f3e0cb8
Silent test
2017-12-04 19:36:26 +03:00
proller
66ff90c025
client ignore-error option
2017-12-04 19:17:49 +03:00
proller
38cc78300d
Merge remote-tracking branch 'upstream/master' into fix14
2017-12-04 19:16:08 +03:00
proller
826936cf9b
Better fix of std::numeric_limits<__uint128_t> ( #1585 )
...
* Fix std::numeric_limits<__uint128_t>
* clean
* Better fix of std::numeric_limits<__uint128_t>
2017-12-04 19:12:56 +03:00
Nikolai Kochetov
de62ae6b1b
added system.parts_columns as a copy of system.parts [#CLICKHOUSE-3328]
2017-12-04 18:44:31 +03:00
Roman Lipovsky
8bd45a544b
add comments
2017-12-04 17:48:07 +03:00
Roman Lipovsky
e0e60d6dfa
fix broken geo dictionaries
2017-12-04 17:35:03 +03:00
Nikolai Kochetov
d2710bd0f4
added system.models [#CLICKHOUSE-3477]
2017-12-04 16:32:49 +03:00
proller
c8b66c3c39
Merge remote-tracking branch 'upstream/master' into fix14
2017-12-04 16:05:21 +03:00
proller
4c3dfb97df
Clang: Fix std::numeric_limits<__uint128_t> ( #1583 )
...
Fix std::numeric_limits<__uint128_t>
2017-12-04 16:03:40 +03:00
Roman Lipovsky
c18934f454
separate format readers from files, move readers to separate headers
2017-12-04 15:30:21 +03:00
proller
67765264c2
Merge remote-tracking branch 'upstream/master' into fix14
2017-12-04 14:27:19 +03:00
Alexey Milovidov
73d65ec4d4
Added another test for multidimensional columns [#CLICKHOUSE-2838].
2017-12-03 11:35:08 +03:00
Alexey Milovidov
7b447bc1e4
Added test for multidimensional columns [#CLICKHOUSE-2838].
2017-12-03 11:23:34 +03:00
Alexey Milovidov
903dc680bb
Fixed parsing and interpreting of tuples [#CLICKHOUSE-2].
2017-12-03 11:16:49 +03:00
Alexey Milovidov
22f69f5c5f
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 09:55:56 +03:00
Alexey Milovidov
06dfe7f562
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 08:55:49 +03:00
Alexey Milovidov
35f98609e0
Updated test [#CLICKHOUSE-2].
2017-12-03 08:38:14 +03:00
Alexey Milovidov
0c89ad0269
Updated test [#CLICKHOUSE-2].
2017-12-03 08:34:37 +03:00
Alexey Milovidov
a80259d0cb
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 07:57:33 +03:00
Alexey Milovidov
418e5012e7
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 07:43:38 +03:00
Alexey Milovidov
3717d80017
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 07:40:21 +03:00
Alexey Milovidov
c472172fa8
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 07:25:41 +03:00
Alexey Milovidov
a597f3e7d9
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 07:23:03 +03:00
Alexey Milovidov
3786786aeb
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 07:19:46 +03:00
Alexey Milovidov
294c0ba5cf
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 06:43:48 +03:00
Alexey Milovidov
e71a6df79c
Fixed warnings [#CLICKHOUSE-2].
2017-12-03 06:22:25 +03:00
Alexey Milovidov
ab022d0882
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 05:59:59 +03:00
Alexey Milovidov
1aa99092c3
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 05:15:35 +03:00
Alexey Milovidov
a9ddaa2b19
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 04:49:54 +03:00
Alexey Milovidov
a813287afd
Rewrite MergeTreePartChecker [#CLICKHOUSE-2838].
2017-12-03 03:48:19 +03:00
Alexey Milovidov
464d962010
Rewrite MergeTreePartChecker [#CLICKHOUSE-2838].
2017-12-03 03:46:34 +03:00
Alexey Milovidov
5510bea3f8
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-12-03 01:12:27 +03:00
Alexey Milovidov
de775e9a3e
Better [#CLICKHOUSE-2].
2017-12-02 06:49:26 +03:00
Alexey Milovidov
d36d7170ed
Better [#CLICKHOUSE-2].
2017-12-02 06:42:21 +03:00
Alexey Milovidov
28d40e2c9a
Enabled -Wextra [#CLICKHOUSE-2].
2017-12-02 06:39:38 +03:00
Alexey Milovidov
10c605042a
Better [#CLICKHOUSE-2].
2017-12-02 06:36:52 +03:00
Alexey Milovidov
db9b46ed72
Better [#CLICKHOUSE-2].
2017-12-02 06:34:45 +03:00
Alexey Milovidov
ce8352b9cc
Better [#CLICKHOUSE-2].
2017-12-02 06:33:15 +03:00
Alexey Milovidov
7b3ce9085a
Better [#CLICKHOUSE-2].
2017-12-02 06:31:40 +03:00
Alexey Milovidov
3076b2c0eb
Better [#CLICKHOUSE-2].
2017-12-02 06:29:35 +03:00
Alexey Milovidov
2e652ffa1e
Removed hopscotch hash (was used only in single test) [#CLICKHOUSE-2].
2017-12-02 06:28:00 +03:00
Alexey Milovidov
b932a193e2
Better [#CLICKHOUSE-2].
2017-12-02 06:25:52 +03:00
Alexey Milovidov
668d88a359
Better [#CLICKHOUSE-2].
2017-12-02 06:22:51 +03:00
Alexey Milovidov
1090cf2596
Better [#CLICKHOUSE-2].
2017-12-02 06:11:15 +03:00
Alexey Milovidov
d091789a09
Better [#CLICKHOUSE-2].
2017-12-02 05:58:25 +03:00
Alexey Milovidov
c748493a86
Better [#CLICKHOUSE-2].
2017-12-02 05:47:12 +03:00
Alexey Milovidov
d932d615e7
Merge branch 'master' of github.com:yandex/ClickHouse
2017-12-02 02:14:59 +03:00
Alexey Milovidov
790bda3b9a
Whitespace [#CLICKHOUSE-2].
2017-12-02 02:14:53 +03:00
Alexey Milovidov
7196602e12
Better [#CLICKHOUSE-2].
2017-12-02 00:51:50 +03:00
Alexey Milovidov
739b7e0e37
Removed BlockTabSeparated format as it was totally useless [#CLICKHOUSE-2].
2017-12-02 00:44:12 +03:00
Alexey Milovidov
54e601019c
Better [#CLICKHOUSE-2].
2017-12-02 00:40:58 +03:00
Alexey Milovidov
a85773bdbc
Fixed error [#CLICKHOUSE-2838].
2017-12-02 00:30:43 +03:00
Alexey Milovidov
acd78e4891
Better [#CLICKHOUSE-2].
2017-12-02 00:13:25 +03:00
Alexey Milovidov
1efef27af9
Better [#CLICKHOUSE-2]
2017-12-01 23:38:50 +03:00
Alexey Milovidov
431da20d99
Better [#CLICKHOUSE-2].
2017-12-01 23:21:35 +03:00
Alexey Milovidov
bdd25b15bd
Better [#CLICKHOUSE-2].
2017-12-01 22:34:51 +03:00
proller
71b9fa3a9c
Fix test
2017-12-01 21:40:57 +03:00
proller
c516b37d93
Merge remote-tracking branch 'upstream/master' into fix14
2017-12-01 21:40:42 +03:00
Alexey Milovidov
1a6cb2989b
Better [#CLICKHOUSE-2].
2017-12-01 21:36:55 +03:00
Nikolai Kochetov
5cbacbc2d7
fixed test [#CLICKHOUSE-3397]
2017-12-01 21:21:37 +03:00
proller
2663871717
Fix some server crashes on incorrect functions usage. Add test.
2017-12-01 21:03:56 +03:00
Alexey Milovidov
f5ecb2db5d
Better [#CLICKHOUSE-2].
2017-12-01 20:49:12 +03:00
alexey-milovidov
0ac2f5b479
Merge pull request #1559 from rlipovsky/geodata
...
[clickhouse-yt] separate geo dictionaries from data providers
2017-12-01 19:54:08 +03:00
alexey-milovidov
09f030a3ee
Merge branch 'master' into data_parts_multi_index
2017-12-01 19:53:04 +03:00
alexey-milovidov
ac25fc2eef
Merge pull request #1547 from proller/fix8
...
googletest as submodule
2017-12-01 19:44:56 +03:00
alexey-milovidov
493e7a4976
Merge pull request #1571 from rlipovsky/get_user_by_ptr
...
[clickhouse-yt] more consistent ISecurityManager interface
2017-12-01 19:43:00 +03:00
alexey-milovidov
66fdecf6ec
Merge branch 'master' into geodata
2017-12-01 19:25:27 +03:00
alexey-milovidov
96695b54fa
Merge pull request #1555 from rlipovsky/external_dicts_repo
...
[clickhouse-yt] abstract config repository for user-defined objects (dictionaries, etc)
2017-12-01 19:23:08 +03:00
alexey-milovidov
6a3c824056
Update ExternalLoaderConfigRepository.cpp
2017-12-01 19:22:19 +03:00
alexey-milovidov
a48a519c8d
Update ExternalLoaderConfigRepository.cpp
2017-12-01 19:20:01 +03:00
Alexey Milovidov
98291f1a24
Cleanups [#CLICKHOUSE-2838].
2017-12-01 17:21:24 +03:00
Alexey Milovidov
6fb18a7dc2
Added comments [#CLICKHOUSE-2838].
2017-12-01 17:15:38 +03:00
Nikolai Kochetov
470c633e09
merged with master
2017-12-01 16:33:47 +03:00
Alexey Milovidov
d4089695ad
Cleanups [#CLICKHOUSE-2838].
2017-12-01 16:32:37 +03:00
Nikolai Kochetov
f025f22007
Merge branch 'master' into support-table-functions-for-desc-and-insert
2017-12-01 16:24:50 +03:00
Nikolai Kochetov
ec6619e3c9
added INSERT INTO TABLE syntax [#CLICKHOUSE-3397]
2017-12-01 16:23:10 +03:00
Alexey Milovidov
241e0638b7
Merge branch 'master' of github.com:yandex/ClickHouse into unify-data-types-that-serialized-with-multiple-streams
2017-12-01 15:36:15 +03:00
Nikolai Kochetov
c60a1820a8
reverted changes in Cluster.cpp
2017-12-01 14:47:23 +03:00
robot-metrika-test
f76587faa2
Auto version update to [54319]
2017-12-01 09:36:28 +03:00
Alexey Milovidov
304acb9a8e
Merge branch 'unify-data-types-that-serialized-with-multiple-streams' of github.com:yandex/ClickHouse into unify-data-types-that-serialized-with-multiple-streams
2017-12-01 00:42:09 +03:00
Alexey Milovidov
dbc1b76ab1
Normalized tests: use /clickhouse/tables/test/ as prefix for tables in ZooKeeper [#CLICKHOUSE-2].
2017-12-01 00:41:29 +03:00
Alexey Milovidov
da795a6fb3
Normalized tests: use /clickhouse/tables/test/ as prefix for tables in ZooKeeper [#CLICKHOUSE-2].
2017-12-01 00:41:19 +03:00
proller
a520d30a5e
zlib fix flags in headers
2017-11-30 20:52:09 +03:00
Roman Lipovsky
430837706c
more consistent ISecurityManager interface: return shared pointer to User to prevent race conditions with loadFromConfig
2017-11-30 17:53:12 +03:00
alexey-milovidov
62cfe39b9d
Merge pull request #1570 from kshvakov/master
...
Добавил колонку с описанием настройки в system.settings
2017-11-30 17:08:25 +03:00
Kirill Shvakov
cd7f7b076e
Merge branch 'add-description-to-settings-table'
2017-11-30 13:55:42 +02:00
Kirill Shvakov
4d73516508
Add description to system.settings table
2017-11-30 13:50:02 +02:00
robot-metrika-test
82bdb77dac
Auto version update to [54317]
2017-11-30 08:52:07 +03:00
Alexey Milovidov
9b75c88a0f
Added instruction for heap profiler [#CLICKHOUSE-3453].
2017-11-29 22:42:09 +03:00
Alexey Milovidov
de37ced469
Added instruction for heap profiler [#CLICKHOUSE-3453].
2017-11-29 22:41:57 +03:00
Roman Lipovsky
44f8fcaf0d
fix indentation
2017-11-29 15:48:28 +03:00
Roman Lipovsky
db0fc481d7
do not rely on total size estimation from data source
2017-11-29 15:45:17 +03:00
Roman Lipovsky
45637ddee8
fix indentation
2017-11-29 15:41:42 +03:00
Vitaliy Lyudvichenko
ddb02d8ccf
Small enhancements. [#CLICKHOUSE-3452]
2017-11-29 14:54:37 +03:00
Vitaliy Lyudvichenko
b738d1baed
Add multi index for data_parts storage. And fixed bugs. [#CLICKHOUSE-3452]
...
Fixed handling of obsolete parts.
Fixed conflict resolution between simultaneous PreCommitted covering parts.
Fixed memory leak caused by ordinary MergeTree parts stucked in Deleting state.
Added hidden _state column into system.parts.
2017-11-29 14:25:11 +03:00
Alexey Milovidov
fb4951b679
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-29 02:50:17 +03:00
Alexey Milovidov
37a22bceba
Merge branch 'master' of github.com:yandex/ClickHouse into unify-data-types-that-serialized-with-multiple-streams
2017-11-29 02:31:38 +03:00
Alexey Milovidov
7b4bffe088
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-29 02:31:21 +03:00
Roman Lipovsky
845b4e0cac
use types from Dictionaries/Embedded/GeodataProviders/Types.h
2017-11-29 01:27:32 +03:00
Roman Lipovsky
e37b13dfef
update comment
2017-11-29 01:18:38 +03:00
Roman Lipovsky
9ed1ba2441
separate geo dictionaries from geo data providers
2017-11-29 01:15:06 +03:00
alexey-milovidov
2ab73565b2
Fixed terrible translation.
2017-11-28 19:30:24 +03:00
Alexey Zatelepin
01d42242b1
mark queue as dirty if status of ZK operation is unknown [#CLICKHOUSE-3405]
2017-11-28 17:09:53 +03:00
Roman Lipovsky
639d850d97
abstract config repository of user-defined objects (dictionaries, models)
2017-11-28 14:00:07 +03:00
robot-metrika-test
149b9bd4e2
Auto version update to [54314]
2017-11-28 13:25:48 +03:00
Amos Bird
b516e5e087
Propagate readPrefix in ParallelInputsProcessor (take 2)
...
Both UnionBlockInputStream and ParallelAggregatingBlockInputStream rely on ParallelInputsProcessor to do stream preparation in parallel, which seems to be absent. This patch fixes it.
Fix thread unsafty issue in https://github.com/yandex/ClickHouse/pull/1516
Here is a list of inputstreams with meaningful work in readPrefix
```
IProfilingBlockInputStream
AsynchronousBlockInputStream
BlockInputStreamFromRowInputStream
CatBoostDatasetBlockInputStream
CreatingSetsBlockInputStream
CSVRowInputStream
DictionaryBlockInputStreamBase
InputStreamFromASTInsertQuery
KafkaBlockInputStream
MergingAggregatedMemoryEfficientBlockInputStream
RemoteBlockInputStream
StorageFileBlockInputStream
```
2017-11-28 16:52:00 +08:00
Alexey Milovidov
cccf8aa8a8
Fixed test [#CLICKHOUSE-2].
2017-11-28 05:21:32 +03:00
Alexey Milovidov
6713069aef
Fixed test [#CLICKHOUSE-2].
2017-11-28 05:20:28 +03:00
Alexey Milovidov
c05cf01a9b
SummingSortedBlockInputStream: miscellaneous [#CLICKHOUSE-2].
2017-11-28 05:14:50 +03:00
Alexey Milovidov
06a65168ac
SummingSortedBlockInputStream: miscellaneous [#CLICKHOUSE-2].
2017-11-28 05:14:06 +03:00
Alexey Milovidov
36d4f89c7a
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-28 05:13:46 +03:00
Roman Lipovsky
ae6e9a870f
edit comment
2017-11-28 04:12:57 +03:00
Roman Lipovsky
4eda095654
add comments
2017-11-28 04:12:57 +03:00
alexey-milovidov
1879fe93f1
Update Context.h
2017-11-28 04:12:57 +03:00
alexey-milovidov
7819424e2a
Update Context.h
2017-11-28 04:12:57 +03:00
Roman Lipovsky
dd22bf2179
fix include
2017-11-28 04:12:57 +03:00
Roman Lipovsky
af6c6f0afa
mark ISecurityManager::getUser as const
2017-11-28 04:12:57 +03:00
Roman Lipovsky
cf6dd4e73b
abstractions: runtime components factory + security manager
2017-11-28 04:12:57 +03:00
Alexey Milovidov
71378d329c
Merge branch 'unify-data-types-that-serialized-with-multiple-streams' of github.com:yandex/ClickHouse into unify-data-types-that-serialized-with-multiple-streams
2017-11-28 02:47:21 +03:00
Alexey Milovidov
719d2654f8
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-28 02:47:14 +03:00
Alexey Milovidov
55971073fc
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-28 00:21:09 +03:00
proller
2ade0a92d2
Cmake fix
2017-11-27 23:40:19 +03:00
proller
4b63d9a4c3
Cmake: fix link of some tests (missing pthread)
2017-11-27 23:39:06 +03:00
Alexey Milovidov
95d33b3e65
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-27 22:33:38 +03:00
Alexey Milovidov
7e5bab971d
Fixed build [#CLICKHOUSE-2].
2017-11-27 22:12:18 +03:00
alexey-milovidov
5dd7279e15
Update DictionarySourceFactory.cpp
2017-11-27 22:08:40 +03:00
alexey-milovidov
d6766a8ef4
Update DictionarySourceFactory.h
2017-11-27 22:08:40 +03:00
alexey-milovidov
1a28e785af
Update DictionarySourceFactory.cpp
2017-11-27 22:08:40 +03:00
Roman Lipovsky
b218dfab1c
[clickhouse-yt] support external dictionaries registration in DictionarySourceFactory
2017-11-27 22:08:40 +03:00
proller
e190cb383c
Merge remote-tracking branch 'upstream/master' into fix8
2017-11-27 16:46:23 +03:00
Alexey Milovidov
42cc689474
Miscellaneous [#CLICKHOUSE-2].
2017-11-26 22:22:33 +03:00
Alexey Milovidov
6266ecc5ed
Miscellaneous [#CLICKHOUSE-2].
2017-11-25 02:03:58 +03:00
alexey-milovidov
33ddc5e0f5
Update ConfigProcessor.cpp
2017-11-25 02:00:10 +03:00
Alexey Vasiliev
a6ee2125a4
ConfigProcessor: explicit ctor [#MOBMET-7044]
2017-11-25 02:00:10 +03:00
Alexey Vasiliev
bc3b20edac
fixed one more ConfigProcessor usage [#MOBMET-7044]
2017-11-25 02:00:10 +03:00
Alexey Vasiliev
1114a749e3
fixed one more ConfigProcessor usage [#MOBMET-7044]
2017-11-25 02:00:10 +03:00
Alexey Vasiliev
592f892821
fixed one more ConfigProcessor usage [#MOBMET-7044]
2017-11-25 02:00:10 +03:00
Alexey Vasiliev
6cb97b9221
ConfigProcessor: do not create config-preprocessed before setting umask [#MOBMET-7044]
2017-11-25 02:00:10 +03:00
alexey-milovidov
3a0e0173ab
Merge pull request #1545 from samael500/master
...
Fix integer overflow
2017-11-25 01:43:48 +03:00
proller
91cddb511a
googletest as submodule
2017-11-25 00:15:24 +03:00
proller
827a5d0612
Fix warnings-errors in gtest
2017-11-24 23:40:14 +03:00
proller
6ff1968196
Compile and likk optimize and fixes
2017-11-24 21:08:01 +03:00
proller
0d3c4f4d67
Core/FieldVisitors.h -> Common/FieldVisitors.h
...
Core/Progress.h -> IO/Progress.h
tests: sudo --non-interactive
Fix freebsd link
2017-11-24 16:55:31 +03:00
Maks Skorokhod
d5cdfa6a48
🔧 fix typeowerflow on gcd and modulo functions
2017-11-24 11:17:49 +03:00
Maks Skorokhod
66bbc737d4
✅ add test for gcd and modulo functions
2017-11-24 11:17:17 +03:00
Alexey Milovidov
859bf86a43
Fixed error found by ASan with debug libc++ (actually not dangerous) [#CLICKHOUSE-2].
2017-11-23 18:24:55 +03:00
Alexey Zatelepin
78aaa42ddd
add idempotent retries of updating the replica queue in ZooKeeper [#CLICKHOUSE-3405]
2017-11-23 16:19:29 +03:00
Maks Skorokhod
a06ca9cb82
:octocat: merge with master
2017-11-23 11:57:10 +03:00
Maks Skorokhod
c4ee8b93e3
✅ add test for gcd/lcm functions
2017-11-23 11:47:34 +03:00
Maks Skorokhod
e0f981f48c
🔧 correct type cast for LCM result
2017-11-23 11:40:06 +03:00
Alexey Milovidov
e15d637714
Miscellaneous [#CLICKHOUSE-2].
2017-11-23 05:12:09 +03:00
Alexey Milovidov
4bf120b285
Miscellaneous [#CLICKHOUSE-2].
2017-11-23 05:11:16 +03:00
Alexey Milovidov
562cfe9f9f
Fixed error (static initializers became too complex) [#CLICKHOUSE-2].
2017-11-23 00:09:23 +03:00
Alexey Milovidov
d2c900cdcc
Fixed error (static initializers became too complex) [#CLICKHOUSE-2].
2017-11-23 00:08:14 +03:00
Alexey Milovidov
1872f6ad6d
Fixed error (static initializers became too complex) [#CLICKHOUSE-2].
2017-11-22 23:54:55 +03:00
Alexey Milovidov
df95b81196
Fixed error (static initializers became too complex) [#CLICKHOUSE-2].
2017-11-22 23:53:47 +03:00
Alexey Milovidov
11afd41f5e
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-22 22:42:49 +03:00
Maks Skorokhod
6b5fafbf73
🔁 add gcd and lcm to generate functions
2017-11-22 22:42:16 +03:00
Maks Skorokhod
f4489f17fc
🔧 use correct result types
2017-11-22 22:42:16 +03:00
Maks Skorokhod
25509e2ee2
🔁 add GCD and LCM functions support
2017-11-22 22:42:16 +03:00
Alexey Milovidov
f3b0f17d50
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-22 22:02:24 +03:00
proller
875ef9b5cf
Fix allocator test
2017-11-22 17:54:12 +03:00
Maks Skorokhod
a6f1707158
🔁 add gcd and lcm to generate functions
2017-11-22 13:48:59 +03:00
Maks Skorokhod
f09855e6f8
🔧 use correct result types
2017-11-22 12:50:23 +03:00
Maks Skorokhod
c31fd8ba88
🔁 add GCD and LCM functions support
2017-11-22 12:25:36 +03:00
Alexey Milovidov
c13872450f
Whitespace [#CLICKHOUSE-2].
2017-11-22 05:42:53 +03:00
Alexey Milovidov
d50511b8e1
Whitespace [#CLICKHOUSE-2].
2017-11-22 05:42:02 +03:00
Alexey Milovidov
2d98a33dd0
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-22 05:40:07 +03:00
alexey-milovidov
35ce63a762
Revert "Propagate readPrefix in ParallelInputsProcessor"
2017-11-22 05:17:42 +03:00
Alexey Zatelepin
7775216c3d
do not save query output options to the ATTACH query [#CLICKHOUSE-3439]
2017-11-22 00:39:03 +03:00
Alexey Zatelepin
d6816c6f22
add test [#CLICKHOUSE-3448]
2017-11-22 00:39:03 +03:00
Alexey Zatelepin
b2963d4c60
add current database to a CREATE SELECT query only for views [#CLICKHOUSE-3448]
2017-11-22 00:39:03 +03:00
proller
e448f4a73a
Always make symlink to clickhouse-clang and clickhouse-lld (debian package fix)
2017-11-22 00:22:18 +03:00
proller
411202d5ad
Zlib: as submodule, fix compile options; config: add logger options: logger.flush logger.rotateOnOpen
2017-11-21 23:10:37 +03:00
Alexey Milovidov
4aa520e7be
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-21 22:40:59 +03:00
alexey-milovidov
44b8cc2292
Update parseIdentifierOrStringLiteral.h
2017-11-21 22:35:54 +03:00
proller
2778f35e48
Lib Parsers
2017-11-21 22:35:54 +03:00
Amos Bird
92811ca5f2
Make malformed array join
statement fail early
...
Currently array join clause that have no parent table can go through the parser and generates some confusing error.
```
create table aa (a Array(UInt64)) Engine=Memory;
select * from array join aa;
Received exception from server (version 1.1.54311):
Code: 208. DB::Exception: Received from localhost:9000, ::1. DB::Exception: No columns in nested table aa.
```
This patch makes it fail at client side.
```
Syntax error: failed at position 21:
select * from array join aa;
Expected one of: SAMPLE, INNER, WITH, HAVING, SETTINGS, identifier, Dot, ORDER BY, AS, GROUP BY, INTO OUTFILE, UNION ALL, LEFT ARRAY JOIN, ARRAY JOIN, table, table function, subquery or list of joined tables, array join, alias, FINAL, PREWHERE, WHERE, token, FORMAT, LIMIT
```
However I'm not sure if `ParserCompoundIdentifier` should be stricter so that `array` wouldn't be consider as a table name.
2017-11-21 15:16:15 +08:00
Alexey Milovidov
4bc98c9253
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-21 05:25:36 +03:00
Alexey Milovidov
63f79b7b4f
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-21 05:23:41 +03:00
alexey-milovidov
2350a73b8a
Merge pull request #1519 from amosbird/patch-3
...
Fixes StorageJoin's sample block order.
2017-11-20 23:16:45 +03:00
Vitaliy Lyudvichenko
2cf6e20fef
Fixed a vague error message in integration tests. [#CLICKHOUSE-2]
2017-11-20 23:15:30 +03:00
Amos Bird
dc6847d5c6
Fixes StorageJoin's sample block order.
...
Here is a reproducible test case.
```
create table e (s UInt64, t UInt64) Engine = Memory;
create table v (s UInt64, w Float64, c UInt64) Engine = Join(Any, Inner, s);
insert into e values (1, 2), (1, 3), (1, 4), (2, 1), (2, 4), (3, 1), (4, 2), (4, 3);
insert into v values (1, 0.5, 3), (2, 0.5, 2), (3, 1, 1), (4, 0.5, 2);
select *, w, c from e any inner join v using (s);
```
# before this patch
```
┌─s─┬─t─┬─────w─┬──────────c─┐
│ 1 │ 2 │ 4e-45 │ 1051372192 │
│ 1 │ 3 │ 4e-45 │ 1051372192 │
│ 1 │ 4 │ 4e-45 │ 1051372192 │
│ 2 │ 1 │ 3e-45 │ 1056964608 │
│ 2 │ 4 │ 3e-45 │ 1056964608 │
│ 3 │ 1 │ 1e-45 │ 1065353216 │
│ 4 │ 2 │ 3e-45 │ 1056964608 │
│ 4 │ 3 │ 3e-45 │ 1056964608 │
└───┴───┴───────┴────────────┘
```
# after this patch
```
┌─s─┬─t─┬───w─┬─c─┐
│ 1 │ 2 │ 0.5 │ 3 │
│ 1 │ 3 │ 0.5 │ 3 │
│ 1 │ 4 │ 0.5 │ 3 │
│ 2 │ 1 │ 0.5 │ 2 │
│ 2 │ 4 │ 0.5 │ 2 │
│ 3 │ 1 │ 1 │ 1 │
│ 4 │ 2 │ 0.5 │ 2 │
│ 4 │ 3 │ 0.5 │ 2 │
└───┴───┴─────┴───┘
```
2017-11-20 19:46:24 +08:00
Alexey Milovidov
2fd17a3072
Fixed linking [#CLICKHOUSE-2].
2017-11-20 09:01:05 +03:00
Alexey Milovidov
07d594c505
Fixed linking [#CLICKHOUSE-2].
2017-11-20 08:59:58 +03:00
Alexey Milovidov
3b5f82000c
Fixed linking [#CLICKHOUSE-2].
2017-11-20 08:22:54 +03:00
Alexey Milovidov
3403f68c3f
Fixed linking [#CLICKHOUSE-2].
2017-11-20 08:21:50 +03:00
Alexey Milovidov
7cce063d00
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-20 07:50:52 +03:00
Alexey Milovidov
feea8996d5
Miscellaneous [#CLICKHOUSE-2].
2017-11-20 07:46:00 +03:00
Alexey Milovidov
02a991a49c
Miscellaneous [#CLICKHOUSE-2].
2017-11-20 07:45:33 +03:00
Alexey Milovidov
fbab976e09
Merge branch 'master' of github.com:yandex/ClickHouse
2017-11-20 07:44:53 +03:00
alexey-milovidov
c88855873d
Merge pull request #1516 from amosbird/patch-1
...
Propagate readPrefix in ParallelInputsProcessor
2017-11-20 07:45:40 +03:00
Alexey Milovidov
87ff2f35ec
Miscellaneous [#CLICKHOUSE-2].
2017-11-20 07:41:56 +03:00
Alexey Milovidov
2106849ec2
Miscellaneous [#CLICKHOUSE-2].
2017-11-20 07:40:51 +03:00
Alexey Milovidov
380fc668dc
Miscellaneous [#CLICKHOUSE-2].
2017-11-20 07:37:54 +03:00
Alexey Milovidov
725bd4046f
Miscellaneous [#CLICKHOUSE-2].
2017-11-20 07:36:46 +03:00
Alexey Milovidov
e340511931
Removed useless code [#CLICKHOUSE-2].
2017-11-20 07:22:21 +03:00
Alexey Milovidov
a7d4fef0d2
Removed useless code [#CLICKHOUSE-2].
2017-11-20 07:21:14 +03:00
Alexey Milovidov
b3f6844171
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-20 07:18:37 +03:00
Alexey Milovidov
fd3239dd46
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-20 07:18:27 +03:00
Alexey Milovidov
01e8adbfff
Removed "experimental" namespace [#CLICKHOUSE-2].
2017-11-20 07:15:43 +03:00
Amos Bird
22e9772593
Propagate readPrefix in ParallelInputsProcessor
...
UnionBlockInputStream relies on ParallelInputsProcessor to do stream preparation in parallel, which seems to be absent. This patch fixes it.
2017-11-20 10:53:48 +08:00
Alexey Milovidov
5d57e014a1
Returned serialization of zero Date and DateTime as zeros [#CLICKHOUSE-2].
2017-11-20 05:45:37 +03:00
Alexey Milovidov
31fc79b809
Returned serialization of zero Date and DateTime as zeros [#CLICKHOUSE-2].
2017-11-20 05:44:39 +03:00
Alexey Milovidov
8e6466454a
Unification of serde of data types: development [#CLICKHOUSE-2838].
2017-11-20 05:15:15 +03:00
Alexey Milovidov
2ca6952deb
Merge branch 'master' into unify-data-types-that-serialized-with-multiple-streams
2017-11-20 02:16:18 +03:00
Alexey Milovidov
6c8b5e29d8
Additions after merge [#CLICKHOUSE-2].
2017-11-20 00:17:58 +03:00
alexey-milovidov
fc0a51f1b9
Merge branch 'master' into fix4
2017-11-19 23:57:44 +03:00
alexey-milovidov
942e59d459
Merge pull request #1455 from yandex/fix-mv-populate
...
Fix applying WHERE clause in MATERIALIZED VIEW with POPULATE
2017-11-19 23:01:23 +03:00
Alexey Milovidov
60825748d4
Merge branch 'fix11' of https://github.com/proller/ClickHouse into proller-fix11
2017-11-19 22:57:28 +03:00
Pavel Yakunin
bb967007ff
merged master
2017-11-19 10:55:46 +03:00
Pavel Yakunin
bd62ea2535
To support "incl" directive in the dictionaries config ConfigProcessor is now used to parse external modules configuration.
...
"include_from" directive also works if the config has "<yandex>" as the root element. Otherwise default include file will be used.
To enable substitutions in a dictionary config one needs to have it in the following form:
<yandex>
<include_from>...</include_from>
<dictionary>
<name incl="dict_name"></name>
...
</dictionary>
</yandex>
instead of
<dictionaries>
<include_from>...</include_from>
<dictionary>
...
</dictionary>
</dictionaries>
The latter form will still work if no substitutions are used or if the default includes file exist. So no outright configuration change is necessary on the existing installations.
2017-11-19 09:33:20 +03:00
Alexey Milovidov
c0321ce752
BackgroundSchedulePool: miscellaneous [#CLICKHOUSE-2].
2017-11-19 03:59:57 +03:00
Alexey Milovidov
94d3b49e99
BackgroundSchedulePool: miscellaneous [#CLICKHOUSE-2].
2017-11-19 03:27:43 +03:00
Alexey Milovidov
9b92c0fecd
BackgroundSchedulePool: miscellaneous [#CLICKHOUSE-2].
2017-11-19 03:22:13 +03:00
Alexey Milovidov
f497b0c63c
BackgroundSchedulePool: miscellaneous; added TODO [#CLICKHOUSE-2].
2017-11-19 03:08:37 +03:00
Alexey Milovidov
69714f0671
BackgroundSchedulePool: miscellaneous [#CLICKHOUSE-2].
2017-11-19 02:55:53 +03:00
Alexey Milovidov
dfb4a92f5a
BackgroundSchedulePool: miscellaneous [#CLICKHOUSE-2].
2017-11-19 02:47:39 +03:00
Silviu Caragea
dfecd0b2f2
Merge with master
2017-11-18 10:16:06 +02:00
Alexey Milovidov
14e069f748
Allow to extract empty matches in "extractAll" function #1493 .
2017-11-18 05:48:11 +03:00
Alexey Milovidov
729b114c15
Removed unsupported functionality [#CLICKHOUSE-2].
2017-11-18 05:34:00 +03:00
Alexey Milovidov
8517251ebd
Improved performance of toString function of Date and DateTime arguments [#CLICKHOUSE-2].
2017-11-18 02:45:49 +03:00
Alexey Milovidov
655565466c
Merge remote-tracking branch 'origin/master' into better-date-parsing-formatting
2017-11-18 02:45:17 +03:00
Alexey Milovidov
076e0ae014
More clear [#CLICKHOUSE-2].
2017-11-18 00:20:28 +03:00
Alexey Milovidov
8425c56c0f
Fixed wrong logic [#CLICKHOUSE-2].
2017-11-18 00:00:29 +03:00
Alexey Milovidov
7cf5eaddc0
Fixed wrong logic [#CLICKHOUSE-2].
2017-11-17 23:59:31 +03:00
Alexey Milovidov
4f8009517c
Thread name can be 15 bytes max [#CLICKHOUSE-2].
2017-11-17 23:57:07 +03:00
Alexey Milovidov
f54e99490f
Merge branch 'master' into silviucpp-replicated_merge_tree_thread_pool
2017-11-17 23:48:16 +03:00
Alexey Milovidov
8e362ba641
Fixed build [#CLICKHOUSE-2].
2017-11-17 23:48:00 +03:00
Alexey Milovidov
7c9ba15ba1
Style [#CLICKHOUSE-2].
2017-11-17 23:42:03 +03:00
Alexey Milovidov
18be706127
Merge remote-tracking branch 'origin/master' into silviucpp-replicated_merge_tree_thread_pool
2017-11-17 23:30:51 +03:00
proller
5190325275
Allocator fix: nothing do when sizes equal, allow reallocate to smaller size ( #1512 )
...
* PerformanceTest fixes.
* format
* Allocator fix: nothing do when sizes equal, allow reallocate to smaller size
* Update Allocator.cpp
2017-11-17 23:27:12 +03:00
Alexey Milovidov
9264bc4013
Style [#CLICKHOUSE-2].
2017-11-17 23:18:06 +03:00
proller
19d102cc4f
fix
2017-11-17 22:53:02 +03:00
Alexey Milovidov
4ab2d4bc31
Added comment [#CLICKHOUSE-2].
2017-11-17 22:49:17 +03:00
Alexey Milovidov
263e262413
Style [#CLICKHOUSE-2].
2017-11-17 22:43:25 +03:00
proller
5ba7e20c03
fixes
2017-11-17 22:40:27 +03:00
proller
aa3dd03389
Split lib dbms to dbms + dbms_common_io
2017-11-17 22:19:49 +03:00
proller
79b3ef2f57
Merge remote-tracking branch 'upstream/master' into fix4
2017-11-17 15:31:13 +03:00
Silviu Caragea
64619c614f
Basic idea is :
...
- We add BackgroundSchedulePool which can execute a function at a specific point in time. Basically all tasks are added in a queue and precessed by worker threads.
- The most important difference between this and BackgroundProcessingPool is that we have the guarantee that the same function is not executed from many workers in the same time
- Each of the following classes instead starting a thread will register a task in BackgroundSchedulePool and when they need to run will call schedule or scheduleAfter(duration) functions
This commit is moving all threads created by ReplicatedMergeTree to BackgroundSchedulePool tasks
NOTE: I did a minimum number of changes to be much simple to review the code
2017-11-17 10:58:35 +02:00
proller
7b417de0c7
format
2017-11-17 00:01:00 +03:00
proller
cf35323fc4
PerformanceTest fixes.
2017-11-17 00:01:00 +03:00
alexey-milovidov
e6f1262409
Update SummingSortedBlockInputStream.h
2017-11-16 23:48:39 +03:00
alexey-milovidov
ff93d38add
Update SummingSortedBlockInputStream.h
2017-11-16 23:48:39 +03:00
Vitaliy Lyudvichenko
ab0aff8709
Fixed SummingMergeTree. [#CLICKHOUSE-2]
2017-11-16 23:48:39 +03:00
proller
fa65bdcf48
Fix realloc on freebsd and macos ( #1494 )
2017-11-16 22:17:09 +03:00
Alexey Milovidov
28b5bd8821
Removed useless code [#CLICKHOUSE-3431].
2017-11-16 22:04:07 +03:00
Alexey Milovidov
c0c3f3115e
RegionsHierarchy: read hidden regions [#CLICKHOUSE-3427].
2017-11-16 21:50:01 +03:00
Alexey Milovidov
5ef829c5f3
RegionsHierarchy: minor modification [#CLICKHOUSE-3427].
2017-11-16 21:47:59 +03:00
Alexey Milovidov
edcbf791fb
Miscellaneous [#CLICKHOUSE-2].
2017-11-16 20:40:54 +03:00
Alexey Milovidov
ee48dea0d3
Attempt to improve performance of formatting Date and DateTime [#CLICKHOUSE-2].
2017-11-16 05:07:19 +03:00
Marek Vavruša
ba82b20cbe
MemoryTracker: fixed build with clang 9.0.0 not properly supporting thread_local
...
This fixes #1488 .
XCode 9.0 added support for C++11 thread_local:
https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html
The 443088ce31
replaced __thread with C++11 thread_local, which
broke the compilation for this platform with an error on link time.
I can't reproduce this with a minimal example yet.
2017-11-15 23:32:31 +03:00
Иванов Евгений
48636ac601
Added support UUID type for dictionaries
2017-11-15 23:31:53 +03:00
Marek Vavruša
c07b48075b
StorageKafka: fixed messages not showing when EOF is reached in current batch
...
This prevents messages from being read if there's less than 16 messages to read in Kafka.
Updated documentation with more detailed description.
2017-11-15 23:17:22 +03:00
Marek Vavruša
64a892c0e6
DataStreams: CapnProto uses <format_schema_path> config option
...
This addresses one of the remarks in the PR.
All format schemas are required to be in the <format_schema_path> directory.
This makes loading schema files less tedious, as the path can be omitted.
2017-11-15 23:17:22 +03:00
alexey-milovidov
dbee90ba5b
Update ReplicatedMergeTreeBlockOutputStream.cpp
2017-11-15 23:13:10 +03:00
Alexey Zatelepin
99b2d135df
clear deduplication blocks when doing DROP PARTITION [#CLICKHOUSE-3208]
2017-11-15 23:13:10 +03:00
Alexey Zatelepin
3ffb239185
add ZooKeeper::asyncTryRemove() [#CLICKHOUSE-3208]
2017-11-15 23:13:10 +03:00
Alexey Zatelepin
0342d785c9
add failing test [#CLICKHOUSE-3208]
2017-11-15 23:13:10 +03:00
Alexey Milovidov
2846c7560f
Fixed wording [#CLICKHOUSE-2].
2017-11-15 22:47:49 +03:00
Alexander Makarov
5b113df16c
Rewrote pieces of code with ambiguous '&pointer[offset]' semantics
2017-11-15 22:22:32 +03:00
Alexander Makarov
84b2f16913
fixed several UB-abusing places
2017-11-15 22:22:32 +03:00
robot-metrika-test
ebec370fa5
Auto version update to [54312]
2017-11-15 16:12:02 +03:00
Alexey Milovidov
1a50e733b2
Merge branch 'master' of github.com:yandex/ClickHouse
2017-11-15 05:24:22 +03:00
Alexey Milovidov
8d3da74aae
Fixed error [#CLICKHOUSE-2].
2017-11-15 05:24:05 +03:00
alexey-milovidov
19e0cd879d
Extended date parsing ( #1495 )
...
* Allowed to parse Date in YYYY-mM-dD format [#CLICKHOUSE-3].
* Allowed to parse Date in YYYY-mM-dD format [#CLICKHOUSE-3].
2017-11-15 05:08:55 +03:00
Alexey Milovidov
dfdc3ba680
Revert "Enable YYYY-mM-dD parsing."
...
This reverts commit e1fb55cc99
.
2017-11-15 05:08:12 +03:00
Amos Bird
e1fb55cc99
Enable YYYY-mM-dD parsing.
...
This patch makes ClickHouse be able to parse DateTime string like '2017-2-3',
'2017-02-3' and '2017-2-03' correctly.
2017-11-15 05:07:52 +03:00
Alexey Milovidov
fb2d2d36e0
Merge branch 'master' of github.com:yandex/ClickHouse
2017-11-14 20:08:55 +03:00
Alexey Milovidov
e6ccb9b662
Renamed function "runningIncome" to "runningDifferenceStartingWithFirstValue" for clarity [#CLICKHOUSE-2].
2017-11-14 20:08:51 +03:00
proller
468e2ab044
Merge remote-tracking branch 'upstream/master' into fix4
2017-11-14 14:50:19 +03:00
Alexey Milovidov
c4b4764a0a
Fixed error after merge [#CLICKHOUSE-2].
2017-11-14 03:11:33 +03:00
Alexey Milovidov
18cdec38bd
Added comment [#CLICKHOUSE-2].
2017-11-14 01:53:14 +03:00
Alexey Milovidov
c58ef28b60
Added test [#CLICKHOUSE-2].
2017-11-14 01:34:14 +03:00
Alexey Milovidov
4c2ffbb315
Better implementations of isInfinite, isFinite, isNaN [#CLICKHOUSE-2].
2017-11-14 00:47:49 +03:00
alexey-milovidov
855742ba4e
Merge pull request #1426 from yandex/catboost-models
...
Catboost models
2017-11-13 22:06:22 +03:00
Alexey Milovidov
dcd8355b81
Addition to prev. revision [#CLICKHOUSE-3396].
2017-11-12 20:26:49 +03:00
Alexey Milovidov
0298243b46
Fixed build [#CLICKHOUSE-3396].
2017-11-12 20:08:52 +03:00
Alexey Milovidov
2029b38527
Fixed build [#CLICKHOUSE-3396].
2017-11-12 19:45:30 +03:00
Alexey Milovidov
1dd7568fc1
Embedded compiler: development [#CLICKHOUSE-3396].
2017-11-12 16:19:48 +03:00
Alexey Milovidov
c8dbea9d36
Merge branch 'embedded-compiler'
2017-11-12 16:09:56 +03:00
Alexey Milovidov
fd8c418416
Embedded compiler: development [#CLICKHOUSE-3396].
2017-11-12 16:09:08 +03:00
alexey-milovidov
9b18c6cb76
Embedded compiler ( #1484 )
...
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
* Embedded compiler: development [#CLICKHOUSE-3396].
2017-11-12 15:58:40 +03:00
Alexey Milovidov
22f06f3f7a
Embedded compiler: development [#CLICKHOUSE-3396].
2017-11-12 14:40:27 +03:00
Alexey Milovidov
cd25ecafb7
Embedded compiler: development [#CLICKHOUSE-3396].
2017-11-12 13:29:52 +03:00
Alexey Milovidov
07650e02c4
Embedded compiler: development [#CLICKHOUSE-3396].
2017-11-12 12:10:59 +03:00
Alexey Milovidov
037b7da2ae
Embedded compiler: development [#CLICKHOUSE-3396].
2017-11-12 11:44:22 +03:00
Alexey Milovidov
6d84a88629
Embedded compiler: development [#CLICKHOUSE-3396].
2017-11-12 09:46:42 +03:00
Alexey Milovidov
5074301f8d
Embedded compiler: development [#CLICKHOUSE-3396].
2017-11-12 08:14:39 +03:00
Иванов Евгений
e846d62410
Added support UUID type for distinct, uniq* functions and joins
2017-11-12 04:07:05 +03:00
Alexey Milovidov
a3fa44e71a
Miscellaneous [#CLICKHOUSE-2].
2017-11-12 03:46:22 +03:00
Alexey Milovidov
d305f6190e
Merge branch 'master' of github.com:yandex/ClickHouse
2017-11-11 04:04:39 +03:00
Alexey Milovidov
726301572f
Added 'format' mode of operation for clickhouse binary [#CLICKHOUSE-3].
2017-11-11 04:04:14 +03:00
Silviu Caragea
b4f7bfaa02
Remove duplicate code from zookeeper.cpp
2017-11-11 03:36:29 +03:00
Nikolai Kochetov
14d2b830bb
fix build
2017-11-10 14:44:32 +03:00
Nikolai Kochetov
cdd852902d
Merge branch 'master' into catboost-models
2017-11-10 14:40:08 +03:00
Nikolai Kochetov
ad381f90e5
changed column names in catboost pool [#CLICKHOUSE-3305]
2017-11-10 14:31:02 +03:00
Nikolai Kochetov
2ae3f0b3b4
fixed tests [#CLICKHOUSE-3305]
...
added aliases for catboost pool [#CLICKHOUSE-3305]
2017-11-10 14:30:48 +03:00
Alexey Milovidov
afae2d7c67
Fixed incorrect test when no ZooKeeper configured [#CLICKHOUSE-2].
2017-11-09 22:50:28 +03:00
Alexey Milovidov
d52595735d
Renamed test [#CLICKHOUSE-2].
2017-11-09 22:27:30 +03:00
Alexey Milovidov
ac1b69247c
Addition to prev. revision [#CLICKHOUSE-3402].
2017-11-09 22:25:21 +03:00
Alexey Milovidov
ec5720eb66
Auto version update to [54311]
2017-11-09 22:25:21 +03:00
Alexey Milovidov
62a5c882a9
Fixed error [#CLICKHOUSE-3402].
2017-11-09 22:25:21 +03:00
Alexey Milovidov
2d1702f8e6
Added test for enhanced time zones support [#CLICKHOUSE-3402].
2017-11-09 22:25:21 +03:00
Alexey Milovidov
60477a9aaa
Enhanced time zones support: the DateTime data type can track time zone [#CLICKHOUSE-3402].
2017-11-09 22:25:21 +03:00
Alexey Milovidov
90ca758522
Miscellaneous [#CLICKHOUSE-3].
2017-11-09 16:44:08 +03:00
proller
f8032c47cb
Tests: revert shard auto disabling
2017-11-05 23:17:43 +03:00
Alexey Zatelepin
1b6a5ca6ea
add test [#CLICKHOUSE-3412]
2017-11-05 21:11:11 +03:00
Alexey Zatelepin
d6b82a28fd
clone query when populating MaterializedView so that it is not garbled [#CLICKHOUSE-3412]
2017-11-05 20:50:12 +03:00
Alexey Milovidov
8e4253ac73
Fixed error when Date argument can be passed to toStartOfDay function [#CLICKHOUSE-2].
2017-11-05 08:17:48 +03:00
Alexey Milovidov
783e812eb7
Fixed error [#CLICKHOUSE-2]
2017-11-04 19:46:14 +03:00
Alexey Milovidov
1aaff5762c
Attempt to change ext::shared_ptr_helper (incomplete) [#CLICKHOUSE-2].
2017-11-04 06:20:18 +03:00
Alexey Milovidov
f3a43f1954
Merge branch 'master' into yurial-change-shared-ptr-helper
2017-11-04 05:12:18 +03:00
Alexey Milovidov
03b6aa5d21
Fixed bad translation [#CLICKHOUSE-2].
2017-11-04 05:12:05 +03:00
Alexey Milovidov
fa8bcccdb9
Attempt to change ext::shared_ptr_helper (incomplete) [#CLICKHOUSE-2].
2017-11-04 00:50:22 +03:00
Alexey Zatelepin
f0da2a96b8
fix use of uninitialized variable [#CLICKHOUSE-2]
2017-11-03 19:39:06 +03:00
Nikolai Kochetov
913937027b
fix test #CLICKHOUSE-3397]
2017-11-03 18:19:15 +03:00
Nikolai Kochetov
d566621349
insert into table function only with TABLE FUNCTION keywords #CLICKHOUSE-3397]
2017-11-03 18:14:19 +03:00
Nikolai Kochetov
2fca796925
added tests [#CLICKHOUSE-3397]
2017-11-03 16:54:50 +03:00
Nikolai Kochetov
1cee62eb0a
supported table_function in insert query [#CLICKHOUSE-3397]
2017-11-03 16:25:39 +03:00
Nikolai Kochetov
1d01d228a4
removed macro DEFINE_AST_QUERY_WITH_TABLE_AND_OUTPUT
...
supported table_functions in desctibe table query [#CLICKHOUSE-3397]
2017-11-03 16:24:52 +03:00
Vitaliy Lyudvichenko
a4636f8656
Fixed incorrect INSERT into Distributed table in async mode with local replicas in a shard. #1404 [#CLICKHOUSE-2]
...
Resolves #1404
2017-11-03 00:32:59 +03:00
proller
d940d1713c
Cmake: silent poco warnings, use compiler version defenition by cmake ( #1440 )
...
Cmake: silent poco warnings, use compiler version definition by cmake
2017-11-03 00:30:27 +03:00
alexey-milovidov
febfa9f476
Update Client.cpp
2017-11-03 00:27:12 +03:00
proller
542104a9af
Client: Print server version on exception (#CLICKHOUSE-3407)
2017-11-02 17:45:23 +03:00
proller
c974f0e88e
Merge remote-tracking branch 'upstream/master' into fix4
2017-11-02 17:42:36 +03:00
Vitaliy Lyudvichenko
9cf14d2c61
Remove obsolete code. [#CLICKHOUSE-2]
2017-11-02 17:35:12 +03:00
proller
8aafa3b042
Cmake: fix warnings ( #1437 )
...
* Cmake: fix warnings
* Tests: replace 127.0.0.1 -> localhost
2017-11-02 17:14:16 +03:00
proller
e671c48a6e
Merge remote-tracking branch 'upstream/master' into fix4
2017-11-02 14:50:47 +03:00
KochetovNicolai
bfb4e8f3fe
zookeeper chroot fix ( #1430 )
...
* added root and identity section to zookeeper configuration [#CLICKHOUSE-3031]
* added root and identity section to zookeeper configuration [#CLICKHOUSE-3031]
* moved root section in zookeeper configuration [#CLICKHOUSE-3031]
* fixed root section in zookeeper configuration [#CLICKHOUSE-3031]
* added tests [#CLICKHOUSE-3031]
* replaced tabs to spaces in config files [#CLICKHOUSE-3031]
* fix build [#CLICKHOUSE-3031]
* added chech that root starts with '/' in zookeeper config file [#CLICKHOUSE-3031]
* added comments [#CLICKHOUSE-3031]
* Check if zookeeper chroot exists before start. Remove tailing slash form chroot. [#CLICKHOUSE-3400]
* added starting '/' to zookeeper path in ReplicatedMergeTree
2017-11-02 01:59:27 +03:00
proller
6da4f5a661
add locks
2017-11-01 22:56:07 +03:00
proller
3b58e9cd67
Fix atomic usage
2017-11-01 20:15:05 +03:00
proller
c5dcde0c78
fix atomic usage
2017-11-01 16:58:02 +03:00
proller
6e3ca916d9
Fix atomic usage
2017-11-01 16:35:34 +03:00
proller
9fb4e86270
Tests: fix bash usage;
...
Use ${CLICKHOUSE_LOCAL} in tests
add --testname options to tests
2017-11-01 14:46:58 +03:00
proller
9bc029ba17
Merge remote-tracking branch 'upstream/master' into fix4
2017-11-01 14:43:48 +03:00
robot-metrika-test
748f3e796b
Auto version update to [54310]
2017-11-01 08:03:17 +03:00
Alexey Milovidov
d3e3879de1
Fixed test [#CLICKHOUSE-2].
2017-11-01 07:11:01 +03:00
Alexey Milovidov
3a6f42a8bd
Merge branch 'master' of github.com:yandex/ClickHouse
2017-11-01 06:09:15 +03:00
Alexey Milovidov
175af4b2e9
Removed copy-paste [#CLICKHOUSE-2].
2017-11-01 06:09:06 +03:00
robot-metrika-test
e41e71ad8b
Auto version update to [54309]
2017-11-01 04:49:28 +03:00
Alexey Milovidov
6aff58c747
Added backward compatibility for tables created with wrong sampling key; fixed tiny error [#CLICKHOUSE-2].
2017-11-01 04:45:10 +03:00
proller
dadb32d042
Fix freebsd build ( #1428 )
...
* Fix compile with boost 1.65.1+ and clang 3.8 ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222439 )
* Fix compile CallPointInPolygon on clang4 (Thanks to @vavrusa)
* Fix freebsd build
* Fix build with installed system cityhash
2017-10-31 22:45:58 +03:00
alexey-milovidov
3f9d858df4
Merge pull request #1427 from yandex/running-income
...
runningIncome
2017-10-31 22:45:24 +03:00
robot-metrika-test
84d0c5adde
Auto version update to [54308]
2017-10-31 22:32:28 +03:00
proller
47eae26d75
Fix build
2017-10-31 22:19:36 +03:00
proller
2dff8c6207
Tests: fix bash usage
2017-10-31 21:13:32 +03:00
proller
6ee58e1321
use ${CLICKHOUSE_LOCAL} in tests
2017-10-31 21:07:26 +03:00
proller
6debbf819a
Merge remote-tracking branch 'origin/fix4' into fix4
2017-10-31 18:36:04 +03:00
proller
9e73e08269
wip
2017-10-31 17:40:44 +03:00
Nikolai Kochetov
c8d4a92cfb
added runningIncome [#CLICKHOUSE-3395]
2017-10-31 17:27:02 +03:00
Nikolai Kochetov
554bb889ac
merged with master
2017-10-31 15:04:13 +03:00
Nikolai Kochetov
18ef139e9d
load features count from catboost model file [#CLICKHOUSE-3305]
2017-10-31 14:50:24 +03:00
Nikolai Kochetov
2bd2bc6191
renamed feature columns, check CatBoost pool in data directory [#CLICKHOUSE-3305]
...
renamed feature columns, check CatBoost pool in data directory [#CLICKHOUSE-3305]
2017-10-31 14:50:23 +03:00
Nikolai Kochetov
9baa5b9e14
add non-feature columns as materialized to StorageCatBoostPool [#CLICKHOUSE-3305]
2017-10-31 14:50:22 +03:00
Nikolai Kochetov
d54e27cdcb
added TableFunctionCatBoostPool [#CLICKHOUSE-3305]
...
fix column descriptions parsing [#CLICKHOUSE-3305]
2017-10-31 14:50:22 +03:00
Nikolai Kochetov
8ebce6ef5d
StorageCatBoostPool [#CLICKHOUSE-3305]
2017-10-31 14:50:21 +03:00
Nikolai Kochetov
f927491a47
decreased accuracy threshold for catboost python tests [#CLICKHOUSE-3305]
2017-10-31 14:50:21 +03:00
Nikolai Kochetov
cec9f90e1e
added optional features count validation [#CLICKHOUSE-3305]
2017-10-31 14:50:13 +03:00
Nikolai Kochetov
e6d8c7bf31
changed boost::dll to SharedLibrary; removed boost::dll [#CLICKHOUSE-3305]
2017-10-31 14:50:03 +03:00
proller
812ac4a738
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-31 13:57:22 +03:00
robot-metrika-test
67739ffa9b
Auto version update to [54307]
2017-10-30 22:35:37 +03:00
proller
bd1d699441
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-30 22:30:28 +03:00
Alexey Zatelepin
f2ebffb7f0
save TO table of a materialized view to the ATTACH query [#CLICKHOUSE-2]
2017-10-30 21:39:39 +03:00
alexey-milovidov
7a6d31fa63
Update Connection.cpp
2017-10-30 21:22:56 +03:00
proller
723cbb310d
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-30 21:19:28 +03:00
proller
340c66f8e2
Fix build without openssl
2017-10-30 21:10:50 +03:00
alexey-milovidov
56ef2e9196
Merge pull request #1380 from yandex/catboost-models
...
Catboost models
2017-10-30 19:16:41 +03:00
proller
3ad6ea54ea
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-30 17:48:18 +03:00
proller
5d137e22eb
More atomics
2017-10-30 17:38:16 +03:00
Alexey Milovidov
4675e1e747
Merge branch 'master' of github.com:yandex/ClickHouse
2017-10-30 17:01:16 +03:00
Alexey Milovidov
7a876fddb9
Attempt to fix build with gcc 6 [#CLICKHOUSE-2].
2017-10-30 17:00:47 +03:00
proller
cda6473668
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-30 16:45:22 +03:00
Alexey Zatelepin
141b85189e
always allow attaching tables with extended storage definition syntax [#CLICKHOUSE-3000]
2017-10-30 16:44:43 +03:00
proller
8b3d3cf56f
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-30 16:19:19 +03:00
Vitaliy Lyudvichenko
4b9163c3cc
Fix bash warning in the test. [#CLICKHOUSE-3385]
...
Also use 'clickhouse compressor' util instead of clickhouse-compressor binary.
2017-10-30 16:10:22 +03:00
Vitaliy Lyudvichenko
4a55e5f94b
Hotfix of CREATE MATERIALIZED VIEW a TO b. [#CLICKHOUSE-2]
2017-10-30 15:14:36 +03:00
proller
b7dd5cd0ba
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-30 13:42:34 +03:00
proller
956e1513c5
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-30 13:22:20 +03:00
Alexey Milovidov
e29604b7f9
Updated test [#CLICKHOUSE-2099].
2017-10-30 09:27:21 +03:00
Alexey Milovidov
b7e006213b
Removed obsolete test [#CLICKHOUSE-2].
2017-10-30 09:10:57 +03:00
Alexey Milovidov
1c50c65057
Fixed error [#CLICKHOUSE-3331].
2017-10-30 09:02:17 +03:00
Alexey Milovidov
2690c920f9
Added test [#CLICKHOUSE-3393].
2017-10-30 08:39:30 +03:00
Alexey Milovidov
ad8afcc022
Added functions to implement INTERVAL operations [#CLICKHOUSE-3393].
2017-10-30 08:39:30 +03:00
Alexey Milovidov
bed7b531a1
INTERVAL operators: development [#CLICKHOUSE-3393].
2017-10-30 08:39:30 +03:00
Alexey Milovidov
5c8c3bdde0
Fixed build on Mac OS X [#CLICKHOUSE-2].
2017-10-29 08:52:41 +03:00
Alexey Milovidov
7ecc63fe71
Functions for interval arithmetic on DateTime and Date: development [#CLICKHOUSE-2].
2017-10-29 07:18:48 +03:00
Alexey Milovidov
4236bcbfa2
Fixed year 2038 problem. Added support for timezones with fractional offset from UTC. [#CLICKHOUSE-2099] [#CLICKHOUSE-3392].
2017-10-29 03:51:40 +03:00
Alexey Milovidov
c99f82538c
Miscellaneous [#CLICKHOUSE-2].
2017-10-28 08:43:20 +03:00
Alexey Milovidov
e36906cdf5
Fixed build [#CLICKHOUSE-2].
2017-10-28 06:59:42 +03:00
Alexey Milovidov
9c96d5c2ab
Updated cppcheck instruction a little [#CLICKHOUSE-2].
2017-10-28 06:43:26 +03:00
Alexey Milovidov
ef36648f85
Merge branch 'master' of github.com:yandex/ClickHouse
2017-10-28 02:10:00 +03:00
Alexey Milovidov
7949994508
Changed tabs to spaces in test [#CLICKHOUSE-2].
2017-10-28 02:09:50 +03:00
proller
ba49157f84
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-28 01:06:09 +03:00
Alexey Milovidov
9e3daca437
Fixed build [#CLICKHOUSE-2].
2017-10-28 00:36:43 +03:00
Alexey Milovidov
f5d7eb4df0
Merge branch 'master' of github.com:yandex/ClickHouse
2017-10-28 00:31:32 +03:00
Alexey Milovidov
b2892e058a
Fixed bad file name [#CLICKHOUSE-2].
2017-10-28 00:31:10 +03:00
robot-metrika-test
3a5ea17899
Auto version update to [54306]
2017-10-28 00:23:24 +03:00
Alexey Milovidov
5ab78c249d
Fixed build after merge [#CLICKHOUSE-2].
2017-10-28 00:18:06 +03:00
robot-metrika-test
ab490ec1fa
Auto version update to [54305]
2017-10-28 00:00:03 +03:00
Alexey Zatelepin
514a4d4fba
use stale local replica if all remote replicas are unavailable [#CLICKHOUSE-3377]
2017-10-27 23:46:19 +03:00
Alexey Milovidov
14fd5843c9
Merge branch 'materialized-view-to' of https://github.com/vavrusa/ClickHouse into vavrusa-materialized-view-to
2017-10-27 23:43:14 +03:00
Alexey Milovidov
6ca1b84929
Added function getSizeOfEnumType [#CLICKHOUSE-2].
2017-10-27 23:39:49 +03:00
alexey-milovidov
9e200bdfd9
Merge branch 'master' into materialized-view-to
2017-10-27 23:21:27 +03:00
proller
c878af8740
Merge remote-tracking branch 'upstream/master' into fix4
2017-10-27 23:13:35 +03:00
Marek Vavruša
c44e3e76c8
Renamed CapnProtoInputStream to CapnProtoRowInputStream.
2017-10-27 23:03:51 +03:00
Marek Vavruša
0d942a69c5
DataStreams: added Cap’n Proto format support
...
Cap'n Proto is a binary message format.
Like Protocol Buffers and Thrift (but unlike JSON or MessagePack), Cap'n Proto messages are strongly-typed and not self-describing. Due to this, it requires a schema setting to specify schema file and the root object. The schema is parsed on runtime and cached for each SQL statement.
2017-10-27 23:03:51 +03:00
alexey-milovidov
3b99b723d7
Merge pull request #1245 from yandex/CLICKHOUSE-3178
...
Atomic parts addition and removing
2017-10-27 23:03:33 +03:00
alexey-milovidov
b4bb6796c1
Merge pull request #1407 from yandex/CLICKHOUSE-3381
...
Ability to turn off deduplication, smart deduplication for MV
2017-10-27 23:03:25 +03:00
Vitaliy Lyudvichenko
cd5d1d5009
Fixed segfault in compare operators with Nullable types. #1416 [#CLICKHOUSE-3]
2017-10-27 23:03:12 +03:00
proller
4dd1634772
Print sizes in memory errors ( #1413 )
...
* Print sizes in memory errors
* use formatReadableSizeWithBinarySuffix
* Fix
* Requested changes
* fix alignment message
2017-10-27 22:18:39 +03:00
Alexey Milovidov
3a79095274
Merge branch 'master' of github.com:yandex/ClickHouse
2017-10-27 20:24:44 +03:00
Alexey Milovidov
1d8dc11f40
Fixed one of errors that cause abort when no space left on device with logs (now useless, as ClickHouse will instead refuse all connections) [#CLICKHOUSE-2]
2017-10-27 20:24:33 +03:00
proller
07009d5072
Bughunt tsan
2017-10-27 18:34:26 +03:00
proller
1736d7d312
Allow build with system lib rdkafka
2017-10-27 17:40:41 +03:00
Nikolai Kochetov
c1cbfdc2ad
decreased accuracy threshold for catboost python tests [#CLICKHOUSE-3305]
2017-10-27 15:41:08 +03:00
Nikolai Kochetov
8f84d51a5d
added optional features count validation [#CLICKHOUSE-3305]
2017-10-27 15:23:26 +03:00
Nikolai Kochetov
fea2bed3da
added optional features count validation [#CLICKHOUSE-3305]
2017-10-27 11:39:54 +03:00
Nikolai Kochetov
9c3c3231f4
added optional features count validation [#CLICKHOUSE-3305]
2017-10-26 23:12:40 +03:00
Nikolai Kochetov
0d356f9a6a
fix build [#CLICKHOUSE-3305]
2017-10-26 22:14:25 +03:00
Nikolai Kochetov
46dfa7bf8d
changed boost::dll to SharedLibrary; removed boost::dll [#CLICKHOUSE-3305]
2017-10-26 22:00:27 +03:00
Alexey Milovidov
41c05f22be
Removed very old obsolete tests [#CLICKHOUSE-2].
2017-10-26 21:49:48 +03:00
Nikolai Kochetov
3757c9682e
style fixes [#CLICKHOUSE-3305]
2017-10-26 21:49:23 +03:00
Nikolai Kochetov
b66577e38a
changed ExternalLoaderUpdateSettings [#CLICKHOUSE-3305]
2017-10-26 21:39:55 +03:00
Alexey Milovidov
6022201c26
Removed very old obsolete test [#CLICKHOUSE-2].
2017-10-26 21:38:40 +03:00
Alexey Milovidov
a27981b4ef
Get rid of double whitespaces [#CLICKHOUSE-2].
2017-10-26 21:36:23 +03:00
Nikolai Kochetov
10bbf0871b
added comments [#CLICKHOUSE-3305]
2017-10-26 21:30:28 +03:00
Alexey Milovidov
1f81797adc
Don't use direct IO in test as it doesn't work in encrypted FS and is irrelevant for the test [#CLICKHOUSE-2].
2017-10-26 21:11:09 +03:00
Alexey Milovidov
ac5062d592
Fixed incorrect usage of "toRelative" family of functions in tests [#CLICKHOUSE-2].
2017-10-26 21:09:02 +03:00
Vitaliy Lyudvichenko
51265506f8
Convey session setting up to inner table creation for MV. [#CLICKHOUSE-3381]
2017-10-26 18:39:56 +03:00
Vitaliy Lyudvichenko
3b466ec57b
Add deduplication test. [#CLICKHOUSE-3381]
2017-10-26 18:22:34 +03:00
Vitaliy Lyudvichenko
a0d06c5ee0
Don't deduplicate a block inserted from MV if the source block is Ok. [#CLICKHOUSE-3381]
2017-10-26 17:58:00 +03:00
Nikolai Kochetov
371e234f01
changed ExternalLoader::getObjectsMap return type [#CLICKHOUSE-3305]
2017-10-26 17:26:03 +03:00
Vitaliy Lyudvichenko
602560cb2e
Update system.parts table. [#CLICKHOUSE-3178]
2017-10-26 17:20:21 +03:00
Vitaliy Lyudvichenko
483dfd1b44
Fixed "No part error" in replicated sender. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
397b8bcf92
Smarter parts deletion. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
a5e29f2166
Add integration test. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
d6ea9c3dcf
Fixed awful copypaste. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
b5c7eaa80e
Force data parts cleanup before repeat fetch. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
71833a7f0f
More correct procedure of parts deleting. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
db3a67a421
Add clearer RangeFiltered implementation. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
e2a12d1088
Introduced logic for MergeTree parts states. [#CLICKHOUSE-3178]
2017-10-26 17:16:06 +03:00
Vitaliy Lyudvichenko
5787e8b257
Add state for MergeTree parts. [#CLICKHOUSE-3178]
...
And Removed obsolete code.
2017-10-26 17:16:06 +03:00
Nikolai Kochetov
092567af39
changed CatBoost model evaluate signature [#CLICKHOUSE-3305]
2017-10-26 17:10:51 +03:00
Nikolai Kochetov
4204a94b20
changed CatBoost model evaluate signature [#CLICKHOUSE-3305]
2017-10-26 17:08:05 +03:00
Alexey Zatelepin
ec963e3397
save evaluated storage parameters in ATTACH queries [#CLICKHOUSE-3000]
2017-10-26 17:07:15 +03:00
Nikolai Kochetov
2e6b1dfd92
renamed cloneObject to clone in IExternalLoadable [#CLICKHOUSE-3305]
2017-10-26 16:42:14 +03:00
Nikolai Kochetov
c3d104f53b
changed IDictionary clone [#CLICKHOUSE-3305]
2017-10-26 16:41:51 +03:00
Alexey Zatelepin
f130d2df65
fix creation of system log tables [#CLICKHOUSE-2]
2017-10-26 15:44:47 +03:00
Nikolai Kochetov
fd8eb13dcc
refactoring [#CLICKHOUSE-3305]
2017-10-26 15:18:37 +03:00
Alexey Zatelepin
88c4ea1ac3
allow specifying ENGINE for CREATE TEMPORARY TABLE (but only if it is Memory) [#CLICKHOUSE-2]
2017-10-26 15:15:33 +03:00
proller
9ccba5fad1
Fix includes
2017-10-26 14:46:57 +03:00
Alexey Zatelepin
6ada6d9aa5
remove dead code [#CLICKHOUSE-2]
2017-10-26 07:53:52 +03:00
Alexey Zatelepin
01c39dcf1c
fix CREATE TABLE bugs and idiosyncrasies: [#CLICKHOUSE-3000]
...
* fix segfault on ATTACH MATERIALIZED VIEW
* allow only TEMPORARY TABLEs (not databases or views)
* forbid choosing ENGINE for TEMPORARY tables
* fix segfault on CREATE TABLE t1 AS t2 where t2 is a View
2017-10-26 07:53:52 +03:00
Alexey Milovidov
2cc3fdae9b
Useless modifications for cppcheck [#CLICKHOUSE-2].
2017-10-26 04:47:03 +03:00
Marek Vavruša
ee22253857
tests: added tests for sumWithOverflow(x) preserving input type
2017-10-25 22:21:59 +03:00
Marek Vavruša
c0458999f9
SummingSortedBlockInputStream: fix summing of multiple blocks
...
Previously the destination columns were only computed for the first
block, so that subsequently written blocks failed to write
aggregation results to corrent columns.
2017-10-25 22:21:59 +03:00
Marek Vavruša
e936c4d066
AggregateFunctionSum: implemented sumWithOverflow(x)
...
By default sum(x) promotes the result type to
largest possible integral type to avoid
arithmetic overflow when summing values from
smaller data types.
This is generally desirable behaviour, but it doesn’t
work with summing merge tree, as the result is
expected to be of same type as the input.
2017-10-25 22:21:59 +03:00
Marek Vavruša
5c87a91aaf
SummingSortedBlockInputStream: fix explicitly configured columns to sum
...
This fixes a variant of SummingMergeTree() in which
the columns to sum are explicitly configured.
Previously columns not in that list were ignored,
instead of writing last value.
This also fixes summation of invalid maps with
with only one key column and no value columns.
Modified test to work around compaction limitation
in which a zero-value column isn’t compacted
immediately if the inputs are non-zero but the
output is zero (+1 -1).
2017-10-25 22:21:59 +03:00
Marek Vavruša
fa098b469c
AggregateFunctionSumMap: compact keys with zero value
...
This allows `sumMap(k, v)` to compact all keys
for which the values are all zero.
2017-10-25 22:21:59 +03:00
Alexey Milovidov
65982a1642
Fixed exception messages [#CLICKHOUSE-2].
2017-10-25 22:17:37 +03:00
proller
4ffbca2d8c
Fix warnings ( #1406 )
...
* Log query id in executeQuery; Better type mismatch error; change format in report tool
* Better log query_id
* fix message
* Use c++11 thread_local instaed of gcc's __thread
* lock mutex before notifying waiting thread in sync insertion into distributed [#CLICKHOUSE-3379]
* Cmake: fix build without downloaded submodules (#1379 )
* fix
* ZooKeeper: fixed stack smashing with tryGet()
The tryGet() operation creates a 1MB buffer on stack. This may or
may not work depending on the default stack size for threads,
whether the stack protector is enabled or not, recursion depth,
and the actual value size.
This is probably going to slow down some ZK operations, but I don't
see how else this could work reliably with the existing API.
* increased timeout for test_insertion_sync_fails_with_timeout
* Update CHANGELOG_RU.md
* Update ZooKeeper.cpp
* Fix warnings
* Fixes
* Dont strip debug info from asan, tsan and other builds except releases
* Fix asan error causd by test 00144
* Fix empty log message (#CLICKHOUSE-3378)
2017-10-25 21:39:10 +03:00
Nikolai Kochetov
54786902c3
added test [#CLICKHOUSE-3305]
...
added test [#CLICKHOUSE-3305]
added test [#CLICKHOUSE-3305]
added test [#CLICKHOUSE-3305]
added test [#CLICKHOUSE-3305]
added test [#CLICKHOUSE-3305]
added test [#CLICKHOUSE-3305]
added test [#CLICKHOUSE-3305]
2017-10-25 20:08:46 +03:00
Marek Vavruša
d942ca0c0b
Updated exceptions and added comments.
2017-10-24 17:57:03 -07:00
alexey-milovidov
b5155916a8
Merge branch 'master' into materialized-view-to
2017-10-24 22:39:24 +03:00
alexey-milovidov
8c327e9378
Revert "Make gperftools (libtcmalloc) as submodule and update. ( #1381 )"
...
This reverts commit fa2484ea90
.
2017-10-24 22:18:15 +03:00
proller
fa2484ea90
Make gperftools (libtcmalloc) as submodule and update. ( #1381 )
...
* Update tcmalloc and make submodule
* wip
* wip
* wip
* wip
* clean
* fix
* fix
* fix
* Fix tests
2017-10-24 22:11:42 +03:00
alexey-milovidov
6d62a117a1
Merge pull request #1395 from proller/fix4
...
Fix stripping debug info from huge .o (-g0)
2017-10-24 22:04:21 +03:00
Alexey Zatelepin
6bb34a4494
Merge branch 'master' into arbitrary-partitioning
...
Conflicts:
dbms/src/Storages/StorageFactory.cpp
2017-10-24 17:23:18 +03:00
Alexey Zatelepin
b6b5d1cf25
store rows count for part on disk to allow tables without fixed size columns [#CLICKHOUSE-3000]
2017-10-24 17:11:53 +03:00
proller
2d2a4afa3f
Fix stripping debug info from huge .o (-g0)
2017-10-24 16:30:44 +03:00
proller
82134e44cb
Split ComplexKeyCacheDictionary to faster compile (part2)
2017-10-24 00:26:42 +03:00
proller
86a587e482
Fix test (supress stderr)
2017-10-23 21:40:07 +03:00
alexey-milovidov
3c2155df0b
Update StorageKafka.cpp
2017-10-23 20:47:33 +03:00
alexey-milovidov
139e2080ae
Update StorageKafka.cpp
2017-10-23 20:47:33 +03:00
alexey-milovidov
5bfb4c213c
Update JSONEachRowRowInputStream.cpp
2017-10-23 20:47:33 +03:00
Marek Vavruša
3926851343
StorageKafka: use config string instead of just server name
2017-10-23 20:47:33 +03:00
Marek Vavruša
a7c391fbf7
StorageKafka: use std::vector instead of stack array for error string buffers
2017-10-23 20:47:33 +03:00
Marek Vavruša
f4c1149606
Settings: renamed schema to format_schema
2017-10-23 20:47:33 +03:00
Marek Vavruša
6be0ffd943
DataStreams/JSONEachRow: read exact number of rows
...
When using a LIMIT to reduce the number of rows
read, JSONEachRow format would always read an
extra row as it triggered a scan to seek the
EOF or beginning of the next row. This is not
an issue with physical tables, but it is
for streaming tables as an extra row is
unintentionally consumed on each read.
2017-10-23 20:47:33 +03:00
Alexey Milovidov
c57a62611b
Removed StorageTrivialBuffer because it is underdeveloped [#CLICKHOUSE-2].
2017-10-23 20:38:56 +03:00
proller
c66228a746
Log query id in executeQuery; Better type mismatch error; change format in report tool ( #1372 )
...
* Log query id in executeQuery; Better type mismatch error; change format in report tool
* Better log query_id
* fix message
* Use c++11 thread_local instaed of gcc's __thread
* lock mutex before notifying waiting thread in sync insertion into distributed [#CLICKHOUSE-3379]
* Cmake: fix build without downloaded submodules (#1379 )
* fix
2017-10-23 20:32:39 +03:00
Alexey Zatelepin
8ccebefae6
add tests for extended storage definition syntax [#CLICKHOUSE-3000]
2017-10-23 18:21:44 +03:00
alexey-milovidov
6555d08782
Merge pull request #1390 from proller/fix6
...
Fix: An Error SQL will make server down (#1388 )
2017-10-23 18:10:42 +03:00
Alexey Milovidov
d77686685a
Using PODArray instead of std::vector in ZooKeeper library [#CLICKHOUSE-2].
2017-10-23 18:08:31 +03:00
alexey-milovidov
91aa0713e5
Merge pull request #1371 from vavrusa/fix-zookeeper-stack-smashing
...
ZooKeeper: fixed stack smashing with tryGet()
2017-10-23 17:40:12 +03:00
alexey-milovidov
4f86ec9d58
Update ZooKeeper.cpp
2017-10-23 17:39:29 +03:00
proller
d8038cf746
Fix: An Error SQL will make server down ( #1388 )
2017-10-23 17:37:46 +03:00
Nikolai Kochetov
adae8205a7
increased timeout for test_insertion_sync_fails_with_timeout
2017-10-23 16:56:42 +03:00
Nikolai Kochetov
5966574405
fix timeout lock in DistributedBlockOutputStream
2017-10-23 16:47:00 +03:00
Nikolai Kochetov
3317251e2f
fix jobs flags in DistributedBlockOutputStream
2017-10-23 15:00:56 +03:00
alexey-milovidov
a7189820a1
Merge pull request #1375 from yandex/fix-hangup-in-sync-writing
...
lock mutex before notifying waiting thread in sync insertion
2017-10-22 12:45:54 +03:00
alexey-milovidov
c5b5f2b4f8
Merge pull request #1374 from proller/fix4
...
Use c++11 thread_local instead of gcc's __thread
2017-10-22 12:43:11 +03:00
Marek Vavruša
5f53df7dbe
ParserCreateQuery: allow ATTACH TABLE x shorthand statement
...
Allow `ATTACH TABLE [db.]name` if the table was previously detached,
an the table structure can be read from disk. This makes reattaching
tables less cumbersome:
```
CREATE TABLE test.t (x UInt8) ENGINE = Null;
DETACH TABLE test.t;
ATTACH TABLE test.t;
```
2017-10-21 13:38:39 -07:00
Marek Vavruša
975a7ada42
StorageMaterializedView: allow CREATE MATERIALIZED VIEW x TO y
...
This allows creation of materialized views without inner tables,
using an existing table for materialized rows instead.
This is useful for cases when you want to detach the materializing
view, but keep the already materialized data readable, especially
when the inner table is replicated.
2017-10-21 13:34:59 -07:00
Alexey Zatelepin
dd42d53856
additional help messages for extended syntax [#CLICKHOUSE-3000]
2017-10-20 23:02:55 +03:00
Alexey Zatelepin
c61d4106e8
allow loading all MergeTree settings from a query [#CLICKHOUSE-3000]
2017-10-20 21:28:45 +03:00
Alexey Zatelepin
a7c85e0c89
save index_granularity to ATTACH query if it wasn't set explicitly [#CLICKHOUSE-3000]
2017-10-20 21:28:44 +03:00
Alexey Zatelepin
1f76900500
move CREATE query rewriting for views to Interpreter [#CLICKHOUSE-2]
2017-10-20 21:28:43 +03:00
Alexey Zatelepin
75c65c7b59
use extended storage definition syntax for MergeTree engines [#CLICKHOUSE-3000]
2017-10-20 21:28:42 +03:00
Alexey Zatelepin
6b9ead4bd8
parse PARTITION BY, ORDER BY, SAMPLE BY, SETTINGS clauses in a storage definition [#CLICKHOUSE-3000]
2017-10-20 21:28:42 +03:00
Alexey Zatelepin
48dea685d0
use more typesafe AST objects in ASTCreateQuery [#CLICKHOUSE-3000]
2017-10-20 21:28:41 +03:00
proller
8dd5c9dac2
Cmake: fix build without downloaded submodules ( #1379 )
2017-10-20 20:59:44 +03:00
Nikolai Kochetov
74a4c7508a
merged with master
2017-10-20 19:18:09 +03:00
Nikolai Kochetov
d5d53da01b
added comments [#CLICKHOUSE-3305]
2017-10-20 19:13:35 +03:00
Nikolai Kochetov
4efee71114
fix hash index in CatBoostModel [#CLICKHOUSE-3305]
...
fix hash index in CatBoostModel [#CLICKHOUSE-3305]
fix hash index in CatBoostModel [#CLICKHOUSE-3305]
fix hash index in CatBoostModel [#CLICKHOUSE-3305]
fix string features in CatBoostModel [#CLICKHOUSE-3305]
2017-10-20 19:13:32 +03:00
Nikolai Kochetov
e23e15dba8
fix arguments count in FunctionModelEvaluate [#CLICKHOUSE-3305]
2017-10-20 19:13:29 +03:00
Nikolai Kochetov
9384bfdc28
fix invalid catboost model handle [#CLICKHOUSE-3305]
2017-10-20 19:13:29 +03:00
Nikolai Kochetov
ce602387d4
fixed extermal models lifetime in config [#CLICKHOUSE-3305]
2017-10-20 19:13:29 +03:00
Nikolai Kochetov
48de8de6e0
added registerFunctionsExternalModels [#CLICKHOUSE-3305]
2017-10-20 19:13:28 +03:00
Nikolai Kochetov
fdf258f8ed
added ExternalModels to Context [#CLICKHOUSE-3305]
...
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
2017-10-20 19:13:25 +03:00
Nikolai Kochetov
bb4547140b
added ExternalModels, applyModel [#CLICKHOUSE-3305]
2017-10-20 19:13:21 +03:00
Nikolai Kochetov
ff088b4a1d
modified CatBoostModel [#CLICKHOUSE-3305]
2017-10-20 19:13:21 +03:00
Nikolai Kochetov
e817de7e21
added CatBoostModel [#CLICKHOUSE-3305]
2017-10-20 19:13:21 +03:00
robot-metrika-test
93e1401b35
Auto version update to [54297]
2017-10-20 19:13:20 +03:00
proller
b60c5fb097
Try fix work with not connected sockets ( #1320 )
...
* Lazy fd_to_replica_state_idx init; Fix work with not connected sockets
* Style
* const
2017-10-20 19:13:20 +03:00
Vitaliy Lyudvichenko
cbd03af500
Fixed integration tests after introduction of 'clickhouse server' commands. [#CLICKHOUSE-2]
2017-10-20 19:13:19 +03:00
Nikolai Kochetov
24fc661f00
added boost::dll [#CLICKHOUSE-3305]
2017-10-20 19:13:19 +03:00
Nikolai Kochetov
99e9c0c486
fix build [#CLICKHOUSE-3305]
...
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
2017-10-20 18:45:16 +03:00
Nikolai Kochetov
4262c00122
lock mutex before notifying waiting thread in sync insertion into distributed [#CLICKHOUSE-3379]
2017-10-19 22:52:45 +03:00
proller
443088ce31
Use c++11 thread_local instaed of gcc's __thread
2017-10-19 22:36:37 +03:00
Alexey Zatelepin
e51f95872f
fix backward compatibility for new part format: [#CLICKHOUSE-3000]
...
* do not write out partition and minmax index files for old MergeTreeData format
* download the part from another replica if there are missing or extra files
2017-10-19 21:24:30 +03:00
Marek Vavruša
e2a8526990
ZooKeeper: fixed stack smashing with tryGet()
...
The tryGet() operation creates a 1MB buffer on stack. This may or
may not work depending on the default stack size for threads,
whether the stack protector is enabled or not, recursion depth,
and the actual value size.
This is probably going to slow down some ZK operations, but I don't
see how else this could work reliably with the existing API.
2017-10-18 15:13:42 -07:00
robot-metrika-test
8a2b7cf0b6
Auto version update to [54300]
2017-10-16 13:49:50 +03:00
Marek Vavruša
927c0f7b74
dbms: Partially revert previous change
...
Instead of trying to convert long/unsigned long to Poco types, just
don't use them.
2017-10-13 23:46:10 -07:00
Marek Vavruša
8a0571af24
dbms: Better fix for missing unsigned long to Poco::UInt64 alias
2017-10-13 21:39:14 -07:00
Marek Vavruša
70543200be
dbms: Fix build with clang after Poco update
...
In the current version of Poco, unsigned long no longer aliases to
UInt64 with LP64. The size_t aliases to unsigned long with clang,
so all the uses of size_t instead of UInt64 when interacting with
Poco interfaces are gone. I replaced uses with UInt64 where it makes
sense, and added an overloaded function for readVarUInt() to support size_t.
2017-10-13 18:26:24 -07:00
Marek Vavruša
2ac5a743cc
dbms: fix build with OS X built-in clang
...
The built-in clang doesn’t support value() for
`std::experimental::optional`. It however supports
dereference operator, which is basically the
same thing:
```
/clickhouse/dbms/src/DataStreams/NullableAdapterBlockInputStream.cpp:83:67: error: call to unavailable member function 'value':
res.insert({elem.column, elem.type, rename[i].value()});
~~~~~~~~~~^~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/experimental/optional:547:17: note: candidate function has been explicitly made unavailable
value_type& value()
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/experimental/optional:539:33: note: candidate function has been explicitly made unavailable
constexpr value_type const& value() const
```
2017-10-13 18:12:29 -07:00
proller
4c7850fdc2
Optional kafka ( #1355 )
...
* Zookeeper include fix
* Update submodule contrib/poco
* Fix zookeeper submodule ho-to-make doc
* Update zookeeper submodule
* Update submodule zookeeper
* Fix compile with external zookeeper
* Optional kafka
* fix
* Fix
* fix
2017-10-14 03:53:01 +03:00
Alexey Milovidov
f42c6014ce
Merge branch 'master' of github.com:yandex/ClickHouse
2017-10-14 02:06:11 +03:00
alexey-milovidov
9ccdb5420b
Merge branch 'master' into upstream-add-kafka
2017-10-13 23:52:42 +03:00
proller
20329ce794
Zookeeper include fix ( #1353 )
2017-10-13 23:30:55 +03:00
alexey-milovidov
adedf47715
Update StorageKafka.cpp
2017-10-13 23:18:43 +03:00
proller
fd072b58bb
zstd, lz4 as submodule ( #1214 )
...
* Contrib: use zstd, lz4 as submodule
* fix shared build
* re-test me.
* wip
* Update CHANGELOG_RU.md
* Update CHANGELOG.md
* Update CHANGELOG_RU.md
* Whitespaces [#CLICKHOUSE-2].
* Implemented TODO [#CLICKHOUSE-2].
* Whitespaces [#CLICKHOUSE-2].
* Remove wrong test
* Implemented TODO [#CLICKHOUSE-2].
* Moved chown to correct place [#CLICKHOUSE-2].
* Resolves #1273 . Exception safe users update. [#CLICKHOUSE-3]
* Less noisy logging. [#CLICKHOSUE-2]
* Add metrics for RWLockFIFO. [#CLICKHOUSE-3246]
* Executable dictionaries: fail if program returns non zero exit code (#CLICKHOUSE-3171)
* Add better logging if OPTIMIZE cannot be executed. [#CLICKHOUSE-2]
* test me
* Fixing documentation fragment about "default" user. It is not mandatory anymore.
* append yurial/clickhouse-client to docs/interfaces
* Fixed FREEZE PARTITION: using only active data parts; acquire snapshot of parts [#CLICKHOUSE-3369].
* Removed tcp_ssl_port by default [#CLICKHOUSE-2].
* Update MergeTreeDataMerger.cpp
* Update ShellCommand.cpp
* Disable part sendings and fetches before ALTER. [#CLICKHOUSE-3343]
* Update ExecutableDictionarySource.cpp
* Update ExecutableDictionarySource.cpp
* Miscellaneous changes after merge [#CLICKHOUSE-2].
* Improve tests: allow redefine some values (clickhouse path, ports, ...)
* Received signal Segmentation fault (#1300 ) (#1302 )
* Received signal Segmentation fault (#1300 )
* Add test
* Tests: Use new possibly redefined values from env (in 2 tests)
* Proper fix for the issue: better exception message [#CLICKHOUSE-2].
* Split GatherUtils.cpp for faster compile (#1312 )
* Split GatherUtils.cpp for faster compile
* remove GatherUtils.cpp
* Fix array writing (#1314 )
* changed MergedBlockOutputStream [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* disabled checkNoMultidimensionalArrays [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* added test [#CLICKHOUSE-3341]
* fixed test [#CLICKHOUSE-3341]
* refactoring and comments [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* Update ColumnArray.h
* Update ActionBlocker.h
* Fix section tabulation
* Fixed infinite recursion in expression analyzer. [#CLICKHOUSE-3125]
* Update ActionBlocker.h
* Improvement [#CLICKHOUSE-2].
* Try fix strange terminate (#1329 )
* Tests: External: rename --use_http => --no_http and fix
* Try fix strange terminate
* Misc [#CLICKHOUSE-2].
* Fix compile CallPointInPolygon on clang4 (Thanks to @vavrusa) (#1333 )
* Fix compile with boost 1.65.1+ and clang 3.8 ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222439 )
* Fix compile CallPointInPolygon on clang4 (Thanks to @vavrusa)
* Fix complex queries with GLOBAL IN and UNION ALL (#CLICKHOUSE-3356) (#1339 )
* TEST only: why initQueryAnalyzer ?
* Better tests
* missing file
* Missing file
* Add test
* Test fixes
* Fixed FREEZE PARTITION: using only active data parts; acquire snapshot of parts [#CLICKHOUSE-3369].
* Removed tcp_ssl_port by default [#CLICKHOUSE-2].
* Better tests
* comment
* clean
* REmove wrong code
* clean
* dbms: Added compression level for ZSTD. [#METR-26742]
* dbms: CompressionSettingsSelector. [#METR-21516]
* dbms: Minor fix. [#METR-21516]
* Fix SummingMergeTree argument checking logic.
This patch fixes the Nested Column Name checking logic, which allows nested
columns be explicitly specified in SummingMergeTree engine.
2017-10-13 21:52:23 +03:00
Marek Vavruša
41b0bea84c
SummingSortedBlockInputStream: use a separate structure for MapDescription
2017-10-13 21:51:03 +03:00
Marek Vavruša
39a5ae97c9
SummingSortedBlockInputStream: added comments, destructor for state
2017-10-13 21:51:03 +03:00
alexey-milovidov
d561d8d701
Update SummingSortedBlockInputStream.cpp
2017-10-13 21:51:03 +03:00
alexey-milovidov
a2fa58a2e4
Update SummingSortedBlockInputStream.cpp
2017-10-13 21:51:03 +03:00
alexey-milovidov
fee883d7c5
Update SummingSortedBlockInputStream.cpp
2017-10-13 21:51:03 +03:00
alexey-milovidov
6405620dfb
Update AggregateFunctionSumMap.h
2017-10-13 21:51:03 +03:00
alexey-milovidov
a5955d527d
Update AggregateFunctionSumMap.h
2017-10-13 21:51:03 +03:00
alexey-milovidov
4124465d0b
Update AggregateFunctionSumMap.h
2017-10-13 21:51:03 +03:00
alexey-milovidov
725379e23d
Update AggregateFunctionSumMap.h
2017-10-13 21:51:03 +03:00
alexey-milovidov
9eca78273f
Update AggregateFunctionSumMap.h
2017-10-13 21:51:03 +03:00
alexey-milovidov
1984782321
Update AggregateFunctionSumMap.h
2017-10-13 21:51:03 +03:00
Marek Vavruša
2edf5492d0
AggregateFunctionSumMap: support variardic arguments, specialized keys
...
The function is rewritten to avoid allocations on every insert with
Field deserialising each array. The key type is now specialized,
so it can be accessed directly. The value type is variant type,
but only individual values are deserialised (which is cheap, since they're PODs).
The function also support summing of multiple columns by the same key.
The SummingSortedBlockInputStream uses the function in case of
Nested structure with one numeric key and many values to sum.
2017-10-13 21:51:03 +03:00
Marek Vavruša
be2faa82ff
DataStreams/test: test case for nested field with two arrays for summing
2017-10-13 21:51:03 +03:00
Marek Vavruša
c09a43a7b2
DataStreams/SummingSortedBlockInputStream: use builtin aggregated functions
...
This replaces custom summation function implementations with an implementation
using built-in aggregation functions (sum and sumMap). The goal is to be able to
use specialized variants of aggregation functions, and to have a single
efficient implementation.
2017-10-13 21:51:03 +03:00
Marek Vavruša
c9be3719bc
DataStreams/tests: add SummingSortedBlockInputStream test variant
...
This is basically useful for testing SummingSortedBlockInputStream
against the AggregatingBlockInputStream, which are used in the
{Summing,Aggregating}MergeTree table engines respectively.
2017-10-13 21:51:03 +03:00
alexey-milovidov
3a1ce26764
Update Context.cpp
2017-10-13 21:46:32 +03:00
proller
c0e9813b90
Fix access for inserting into temporary table (#CLICKHOUSE-3360)
2017-10-13 21:46:32 +03:00
proller
49f8080e52
Small debud improvement
2017-10-13 21:44:26 +03:00
Amos Bird
f30841d5ab
Fix SummingMergeTree argument checking logic.
...
This patch fixes the Nested Column Name checking logic, which allows nested
columns be explicitly specified in SummingMergeTree engine.
2017-10-13 15:42:32 +03:00
Alexey Milovidov
03dd341804
Merge branch 'master' of github.com:yandex/ClickHouse
2017-10-13 04:24:14 +03:00
Vladimir Chebotarev
c05dfc201f
dbms: Minor fix. [#METR-21516]
2017-10-13 04:14:57 +03:00
Alexey Milovidov
0ec218a853
Merge branch 'master' of github.com:yandex/ClickHouse
2017-10-13 04:09:51 +03:00
Vladimir Chebotarev
1e0241e262
dbms: CompressionSettingsSelector. [#METR-21516]
2017-10-13 04:08:23 +03:00
Vladimir Chebotarev
4e313f3732
dbms: Added compression level for ZSTD. [#METR-26742]
2017-10-13 04:08:23 +03:00
proller
1e961cc69d
Fix complex queries with GLOBAL IN and UNION ALL (#CLICKHOUSE-3356) ( #1339 )
...
* TEST only: why initQueryAnalyzer ?
* Better tests
* missing file
* Missing file
* Add test
* Test fixes
* Fixed FREEZE PARTITION: using only active data parts; acquire snapshot of parts [#CLICKHOUSE-3369].
* Removed tcp_ssl_port by default [#CLICKHOUSE-2].
* Better tests
* comment
* clean
* REmove wrong code
* clean
2017-10-13 00:28:24 +03:00
Vitaliy Lyudvichenko
7bc58340b0
Fixed infinite recursion in expression analyzer. [#CLICKHOUSE-3125]
2017-10-13 00:27:25 +03:00
proller
fd85fffa0d
Fix compile CallPointInPolygon on clang4 (Thanks to @vavrusa) ( #1333 )
...
* Fix compile with boost 1.65.1+ and clang 3.8 ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222439 )
* Fix compile CallPointInPolygon on clang4 (Thanks to @vavrusa)
2017-10-13 00:22:04 +03:00
Alexey Milovidov
d3d976a6fb
Misc [#CLICKHOUSE-2].
2017-10-12 23:45:55 +03:00
proller
b993667156
Try fix strange terminate ( #1329 )
...
* Tests: External: rename --use_http => --no_http and fix
* Try fix strange terminate
2017-10-12 23:42:58 +03:00
Alexey Milovidov
3a6705af0f
Improvement [#CLICKHOUSE-2].
2017-10-12 23:34:01 +03:00
alexey-milovidov
b7c1076df2
Update ActionBlocker.h
2017-10-12 23:26:54 +03:00
alexey-milovidov
96b603a023
Update ActionBlocker.h
2017-10-12 23:26:54 +03:00
Vitaliy Lyudvichenko
62ea1133dd
Disable part sendings and fetches before ALTER. [#CLICKHOUSE-3343]
2017-10-12 23:26:54 +03:00
KochetovNicolai
83925f1d5e
Fix array writing ( #1314 )
...
* changed MergedBlockOutputStream [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* disabled checkNoMultidimensionalArrays [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* added test [#CLICKHOUSE-3341]
* fixed test [#CLICKHOUSE-3341]
* refactoring and comments [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* Update ColumnArray.h
2017-10-12 23:13:26 +03:00
proller
3de5e465d0
Split GatherUtils.cpp for faster compile ( #1312 )
...
* Split GatherUtils.cpp for faster compile
* remove GatherUtils.cpp
2017-10-12 22:58:39 +03:00
Alexey Milovidov
b93f9ba686
Merge branch 'master' of github.com:yandex/ClickHouse
2017-10-12 22:56:55 +03:00
Alexey Milovidov
e57e79a5ff
Proper fix for the issue: better exception message [#CLICKHOUSE-2].
2017-10-12 22:56:47 +03:00
proller
26c44d5993
Tests: Use new possibly redefined values from env (in 2 tests)
2017-10-12 22:54:56 +03:00
proller
f8548156a0
Improve tests: allow redefine some values (clickhouse path, ports, ...)
2017-10-12 22:48:39 +03:00
proller
cbc81a6a9f
Received signal Segmentation fault ( #1300 ) ( #1302 )
...
* Received signal Segmentation fault (#1300 )
* Add test
2017-10-12 22:46:40 +03:00
Alexey Milovidov
54eb2bbb0a
Miscellaneous changes after merge [#CLICKHOUSE-2].
2017-10-12 22:40:42 +03:00
alexey-milovidov
c2647e0c60
Update ExecutableDictionarySource.cpp
2017-10-12 22:36:27 +03:00
alexey-milovidov
beb93bb9d6
Update ExecutableDictionarySource.cpp
2017-10-12 22:36:27 +03:00
alexey-milovidov
44e6ecfe78
Update ShellCommand.cpp
2017-10-12 22:36:27 +03:00
proller
4969038865
test me
2017-10-12 22:36:27 +03:00
proller
1505ad6bac
Executable dictionaries: fail if program returns non zero exit code (#CLICKHOUSE-3171)
2017-10-12 22:36:27 +03:00
Vitaliy Lyudvichenko
18af75a4f1
Add metrics for RWLockFIFO. [#CLICKHOUSE-3246]
2017-10-12 22:32:31 +03:00
alexey-milovidov
c1285c7d6b
Update MergeTreeDataMerger.cpp
2017-10-12 22:28:24 +03:00
Vitaliy Lyudvichenko
cabf6d7799
Add better logging if OPTIMIZE cannot be executed. [#CLICKHOUSE-2]
2017-10-12 22:28:24 +03:00
Vitaliy Lyudvichenko
a65e8d9ffc
Less noisy logging. [#CLICKHOSUE-2]
2017-10-12 22:28:24 +03:00
Vitaliy Lyudvichenko
c0716da718
Resolves #1273 . Exception safe users update. [#CLICKHOUSE-3]
2017-10-12 22:28:24 +03:00
Alexey Milovidov
d880762e0a
Removed tcp_ssl_port by default [#CLICKHOUSE-2].
2017-10-12 21:30:45 +03:00
Alexey Milovidov
d468473d62
Fixed FREEZE PARTITION: using only active data parts; acquire snapshot of parts [#CLICKHOUSE-3369].
2017-10-12 21:21:17 +03:00
proller
f42ae974d1
Remove wrong test
2017-10-11 21:22:28 +03:00
Alexey Milovidov
4814eb7072
Whitespaces [#CLICKHOUSE-2].
2017-10-11 17:41:49 +03:00
Marek Vavruša
7fc08389c9
Storages: added Kafka table engine (read-only)
...
Added a new table engine backed by Apache Kafka,
it allows near real-time ingestion or ETL with
exactly-once semantics.
It doesn’t store any data on disk, so data must
be materialized into a physical table to allow
random access.
Currently it only supports reading, no insertion.
2017-10-10 08:33:00 -07:00
Marek Vavruša
4fb570fa5e
IStorage: allow notification on dependency change
...
This allows sending notifications to supported
table engines when their dependencies change.
For example, a table can be notified when a
MATERIALIZED VIEW is attached to it.
This is a building block for building pipelines.
2017-10-10 08:33:00 -07:00
Marek Vavruša
011658bb02
contrib: include librdkafka as submodule
2017-10-10 08:33:00 -07:00
Marek Vavruša
cbf9aaca95
dbms: fixed minor mistakes with build
...
* Use std::abs instead of abs() to properly support floats
2017-10-10 08:32:42 -07:00
proller
47798f0b8a
Fix PerformanceTest runs
2017-10-10 16:32:31 +03:00
proller
975e8575c7
Add test (failed on version 1.1.54292) ( #1328 )
...
* Tests: External: rename --use_http => --no_http and fix
* Add test (failed on version 1.1.54292)
2017-10-09 20:22:15 +03:00
Alexey Milovidov
1405415f94
Miscellaneous [#CLICKHOUSE-3].
2017-10-09 01:53:38 +03:00
alexey-milovidov
2dfb3fa463
Update AggregateFunctionTopK.h
2017-10-09 01:12:38 +03:00
alexey-milovidov
6e5ea5cc10
Update AggregateFunctionTopK.h
2017-10-09 01:12:38 +03:00
Marek Vavruša
28bb5e25cf
AggregateFunctionTopK: read alphaMap for generic
...
* the alpha_map vector always (de)serialises
the actual version (could empty sometimes)
* AggregateFunctionTopK generic variant deserialises
it as well instead of ignoring it
* AggregateFunctionTopK generic variant clears the
array before deserialising
refs #1283
2017-10-09 01:12:38 +03:00
robot-metrika-test
6628b5d308
Auto version update to [54299]
2017-10-09 00:39:00 +03:00
proller
19042816c4
Fix compile with boost 1.65.1+ and clang 3.8 ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222439 ) ( #1325 )
2017-10-06 19:26:32 +03:00
proller
704fee8750
Tests: External: rename --use_http => --no_http and fix ( #1324 )
2017-10-06 18:58:24 +03:00
Nikolai Kochetov
61bef2adf1
added ExternalLoader [#CLICKHOUSE-3305]
2017-10-06 13:31:06 +03:00
robot-metrika-test
95ebdd53c0
Auto version update to [54297]
2017-10-05 12:22:56 +03:00
proller
d498e8e152
Try fix work with not connected sockets ( #1320 )
...
* Lazy fd_to_replica_state_idx init; Fix work with not connected sockets
* Style
* const
2017-10-04 18:18:05 +03:00
Vitaliy Lyudvichenko
723f36ec6d
Fixed integration tests after introduction of 'clickhouse server' commands. [#CLICKHOUSE-2]
2017-10-04 18:15:40 +03:00
alexey-milovidov
96d1ab89da
Update Server.cpp
2017-10-03 22:12:44 +03:00
proller
88c88c3f4a
Fix
2017-10-03 22:12:44 +03:00
proller
7feb94357b
use enum class
2017-10-03 22:12:44 +03:00
proller
a4191614ed
fixes
2017-10-03 22:12:44 +03:00
proller
add13f233e
requested changes
2017-10-03 22:12:44 +03:00
proller
b289e0027d
fix
2017-10-03 22:12:44 +03:00
proller
dc50ea2788
fix
2017-10-03 22:12:44 +03:00
proller
2db34a606a
clean
2017-10-03 22:12:44 +03:00
proller
b7780aa6c4
Better ports
2017-10-03 22:12:44 +03:00
proller
2467530583
Works!
2017-10-03 22:12:44 +03:00
proller
ebb4a6a0ed
Start ssl'ing (#CLICKHOUSE-3032)
2017-10-03 22:12:44 +03:00
proller
097357799d
Tests: --random option; set some env variables for .sh tests
2017-10-03 21:31:32 +03:00
Vitaliy Lyudvichenko
f08545b9b8
Stop tests execution on KeyboardInterrupt. [#CLICKHOUSE-2]
2017-10-03 19:21:25 +03:00
alexey-milovidov
3382a730b8
Merge pull request #1315 from yandex/libunwind-fix
...
Libunwind fix
2017-10-03 17:06:37 +03:00
Vitaliy Lyudvichenko
97277ed691
Return 411 code in case of empty body without Content-Length head. [#CLICKHOUSE-3333]
2017-09-30 14:06:50 +03:00
robot-metrika-test
5fdede6d85
Auto version update to [54294]
2017-09-29 01:08:47 +03:00
proller
8f3a244d26
Fix internal compiler with some new clang packages
2017-09-27 17:52:24 +03:00
proller
d469e5eddd
Fix no-shard tests
2017-09-26 23:55:22 +03:00
proller
c46ce859a1
Fix tests on clean storage
2017-09-26 23:37:03 +03:00
proller
5250650f65
Fixes ( #1286 )
...
* Revert "Simplification [#CLICKHOUSE-2]."
This reverts commit 98ad6a5db3
.
* Fix error: comparison of unsigned expression < 0 is always false
* Fix float division by zero
* Fix float division by zero
* Disable PointInPolygon function if compiling with old clang
* Fix warning:
dbms/src/Functions/FunctionsCoding.h:336:21: error: comparison of constant -1 with expression of type 'const char' is always true [-Werror,-Wtautological-constant-out-of-range-compare]
if (num != -1)
* Fix
2017-09-26 23:29:34 +03:00
Alexey Zatelepin
6e57272052
don't use partition value as a prefix for FREEZE PARTITION [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
bfd87add7d
improve getExremes(), fix for ColumnNullable [#CLICKHOUSE-2]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
f1a8b9bfa1
add comments [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
61f0b32757
forbid ALTER of partition key columns for now [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
4160bcfdf5
add custom partitioning tests [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
1be62b567e
safeguards to protect against distinct partition values with the same partition_id [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
728a23f60e
allow creation of custom-partitioned tables with experimental syntax [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
a10ba0cd91
serialize partition key in Replicated tables metadata [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
909b46de0f
add MergeTreeDataFormatVersion constant [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
ceddecbc10
implement missing getExtremes() functions [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
68cb592277
allow arbitrary partition literals in ALTER PARTITION queries [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
f0995f2741
partition serialization into id and text [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
25bb444d5a
absence of partitioning works [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
71ebf67f2e
encapsulate partition and minmax_idx load/store code [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
6906921932
load partition and minmax index from disk [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
e9f93028b8
serialize partition and minmax index values [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
2f80c150db
save MergeTree data format version and parse part names depending on it [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Nikolai Kochetov
937d3f3883
added test [#CLICKHOUSE-3339]
2017-09-26 20:34:48 +03:00
Nikolai Kochetov
1592691e47
fixed defalut Nullable implementation for Const(Nullable) columns
2017-09-26 20:34:48 +03:00
Nikolai Kochetov
c8ffca746e
fixed defalut Nullable implementation for Const(Nullable) columns [#CLICKHOUSE-3339]
2017-09-26 20:34:48 +03:00
Nikolai Kochetov
c8dc25815f
fixed pointinPolygon test, clang build
2017-09-26 19:07:00 +03:00
proller
ed848a7186
Fix warning on arm
2017-09-24 16:59:18 +03:00
Vitaliy Lyudvichenko
56884c1b0d
A small enhancement. CLICKHOUSE-3333.
2017-09-24 02:52:49 +03:00
KochetovNicolai
6096227cb2
Point in polygon ( #1269 )
...
* added FunctionPointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added test for PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added test for PointInPolygonWithGrid with holes [#CLICKHOUSE-3201]
* added arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added test for arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fixed shifted grid for PointInPolygonWithGrid, added test [CLICKHOUSE-3201]
* expand box for complex polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fix expand box for complex polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added pool to PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* changed FunctionPointInPolygonWithGrid signature [#CLICKHOUSE-3201]
* changed FunctionPointInPolygonWithGrid signature [#CLICKHOUSE-3201]
* fixed test [#CLICKHOUSE-3201]
* unified signature for PointInPolygon [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* supported Float64 for pointInPolygon [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fixed check for numeric tuple in PointInPolygon function [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* added profile events polygons pool [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* Update FunctionsGeo.cpp
* made grid_size argument of PointInPolygon; style fixes [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* renamed pointInPolygon functions [#CLICKHOUSE-3201]
2017-09-24 02:47:43 +03:00
Vitaliy Lyudvichenko
9d3f28f52d
Fix an error for POST queries with empty body. [#CLICKHOUSE-3333]
2017-09-24 02:38:12 +03:00
alexey-milovidov
b205a2b970
Update HTTPHandler.cpp
2017-09-24 02:21:09 +03:00
alexey-milovidov
e3694e479b
Update HTTPHandler.cpp
2017-09-24 02:21:09 +03:00
Vadim Skipin
7e51a06794
Do not allow to mix authorization schemes
2017-09-24 02:21:09 +03:00
Nikolai Kochetov
9a19cdb617
added test
2017-09-24 02:16:30 +03:00
Nikolai Kochetov
322e56c692
fix reading with preferred_block_size_bytes = 0
2017-09-24 02:16:30 +03:00
Vitaliy Lyudvichenko
48c5382c92
Add 'clickhouse compressor' command. [#CLICKHOUSE-2]
2017-09-24 02:15:56 +03:00
Vitaliy Lyudvichenko
7ee2c52328
Use clickhouse extract-from-config intead of clickhouse --extract-from-config and so on. [#CLICKHOUSE-2928]
2017-09-24 02:15:56 +03:00
robot-metrika-test
037a2a378d
Auto version update to [54292]
2017-09-20 21:05:46 +03:00
Alexey Milovidov
1331dc0b1c
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-20 20:14:53 +03:00
Alexey Milovidov
ac2b615890
Fixed test on Ubuntu Precise [#CLICKHOUSE-2].
2017-09-20 20:14:45 +03:00
robot-metrika-test
d44c2c1924
Auto version update to [54291]
2017-09-20 19:34:05 +03:00
Alexey Milovidov
045675be20
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-20 19:32:07 +03:00
Alexey Milovidov
3d219b220b
Fixed test [#CLICKHOUSE-3].
2017-09-20 19:31:44 +03:00
Alexey Zatelepin
df58949a68
make exit out of the loop possible when ZooKeeper is unavailable [#CLICKHOUSE-3259]
2017-09-20 06:05:20 +03:00
Alexey Zatelepin
ba87fa395c
be more conservative when deleting replication queue items in PartCheckThread [#CLICKHOUSE-3258]
2017-09-20 06:05:20 +03:00
robot-metrika-test
40b2fc4e30
Auto version update to [54290]
2017-09-20 05:58:20 +03:00
KochetovNicolai
e0efb7e8c1
Point in polygon ( #1264 )
...
* added FunctionPointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added test for PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added test for PointInPolygonWithGrid with holes [#CLICKHOUSE-3201]
* added arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added test for arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fixed shifted grid for PointInPolygonWithGrid, added test [CLICKHOUSE-3201]
* expand box for complex polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fix expand box for complex polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added pool to PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* changed FunctionPointInPolygonWithGrid signature [#CLICKHOUSE-3201]
* changed FunctionPointInPolygonWithGrid signature [#CLICKHOUSE-3201]
* fixed test [#CLICKHOUSE-3201]
* unified signature for PointInPolygon [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* supported Float64 for pointInPolygon [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fixed check for numeric tuple in PointInPolygon function [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* added profile events polygons pool [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* Update FunctionsGeo.cpp
2017-09-20 05:30:44 +03:00
alexey-milovidov
76e3f7ac0c
Merge pull request #1250 from bocharov/master
...
Add new aggregate function sumMap(key, value).
2017-09-19 21:31:24 +03:00
Alex Bocharov
e99c969a1c
Aggregate function sumMap: improve insertResultInto method and change return type to Tuple(Array(K), Array(V)).
2017-09-19 13:35:25 +01:00
proller
0a0e04f1a5
Fix includes
2017-09-18 21:52:47 +03:00
Alex Bocharov
07cd6829d0
Aggregate function sumMap: fix compilation error regarding getHeaderFilePath after merge with master.
2017-09-18 19:37:44 +01:00
Alex Bocharov
55e1559733
Resolve conflict in SummingSortedBlockInputStream when moving FieldVisitorSum.
2017-09-18 18:46:10 +01:00
Alex Bocharov
1f70d0e163
Resolve conflict in SummingSortedBlockInputStream when moving FieldVisitorSum.
2017-09-18 18:43:47 +01:00
Alex Bocharov
c1feea159e
Aggregate function sumMap: optimize serialize/deserialize.
2017-09-18 18:11:16 +01:00
Alex Bocharov
6e74602e45
Aggregate function sumMap: use FieldVisitorSum instead of += operator.
2017-09-18 16:41:07 +01:00
alexey-milovidov
edb66bfffe
Merge branch 'master' into master
2017-09-18 10:31:31 +03:00
Alexey Milovidov
ff1598c8d1
Improved performance of dynamic compilation [#CLICKHOUSE-2].
2017-09-17 23:22:39 +03:00
Alexey Milovidov
156d48f3ee
Removed aggregate function "debug" [#CLICKHOUSE-2].
2017-09-17 23:12:02 +03:00
Alexey Milovidov
dd3e74c0eb
Fixed weird translation [#CLICKHOUSE-2].
2017-09-17 21:17:04 +03:00
Alexey Milovidov
4df44cfeb4
Modified comment [#CLICKHOUSE-2].
2017-09-17 21:00:27 +03:00
Alexey Milovidov
565902fc4d
Added comment; fixed test [#CLICKHOUSE-2].
2017-09-17 20:58:30 +03:00
Alexey Milovidov
bc622c4c45
Better [#CLICKHOUSE-2].
2017-09-17 03:13:26 +03:00
Alexey Milovidov
a5e8c5e8f5
Better [#CLICKHOUSE-2].
2017-09-17 01:24:48 +03:00
Alexey Milovidov
b80788a2f4
Better implementation of "roundToExp2" function [#CLICKHOUSE-2].
2017-09-17 01:12:24 +03:00
Alexey Milovidov
5224345c03
Added function aliases for 'trunc' [#CLICKHOUSE-2].
2017-09-17 01:11:20 +03:00
Alexey Milovidov
c2595934f1
FunctionsRound: continue [#CLICKHOUSE-2].
2017-09-16 23:17:19 +03:00
Alexey Milovidov
d48725f9a7
FunctionsRound: continue [#CLICKHOUSE-2].
2017-09-16 22:33:49 +03:00
Alexey Milovidov
84d61b501c
FunctionsRound: continue [#CLICKHOUSE-2].
2017-09-16 22:31:20 +03:00
Alexey Milovidov
ad13a8c79d
Fixed half of bad code [#CLICKHOUSE-2].
2017-09-16 21:36:16 +03:00
Alexey Milovidov
0002507598
Added function "trunc"; simplifications [#CLICKHOUSE-2].
2017-09-16 19:47:05 +03:00
Alexey Milovidov
25f2f032d1
Added function "trunc"; simplifications [#CLICKHOUSE-2].
2017-09-16 19:38:27 +03:00
Alexey Milovidov
e1cf922c1b
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-16 18:56:37 +03:00
Alexey Milovidov
65ad717938
Whitespaces [#CLICKHOUSE-2].
2017-09-16 18:55:31 +03:00
Alexey Zatelepin
3791b93c76
remove junk
2017-09-16 01:27:57 +03:00
Alexey Milovidov
21fe32b929
Fixed build in clang with raised up inline-depth [#CLICKHOUSE-2].
2017-09-15 15:17:01 +03:00
Alexey Milovidov
86c46ad1bd
Unification [#CLICKHOUSE-2].
2017-09-15 15:16:12 +03:00
Alex Bocharov
591cd5c009
Add new aggregate function sumMap(key, value).
2017-09-15 12:14:19 +01:00
Alexey Milovidov
e29b0e1750
Merge branch 'memcpy'
2017-09-15 14:09:39 +03:00
Alexey Milovidov
cfd4120f4a
Fixed build with increased inline-depth in clang [#CLICKHOUSE-2].
2017-09-15 14:08:39 +03:00
Evgeny Konkov
e95ab36832
handle test errors
2017-09-15 03:11:24 +03:00
Evgeny Konkov
c37a387ff8
remove control characters from diff output in order to properly save diff output in junit xml report files.
2017-09-15 03:11:24 +03:00
Vitaliy Lyudvichenko
826c354ff5
Fixed merges progress bar. [#CLICKHOUSE-2]
2017-09-15 01:04:13 +03:00
proller
a43b9ec398
Revert "Simplification [#CLICKHOUSE-2]."
...
This reverts commit 98ad6a5db3
.
2017-09-14 23:16:31 +03:00
Alexey Milovidov
e5cf3ba5b4
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-14 07:24:30 +03:00
Alexey Milovidov
5e25c40a26
Fixed error found by Coverity [#CLICKHOUSE-2].
2017-09-14 07:24:20 +03:00
Nikolai Kochetov
c14263a9fa
added test
2017-09-13 22:33:47 +03:00
Nikolai Kochetov
2bb487c333
fixed string concat wih first array argument in block
2017-09-13 22:33:47 +03:00
proller
8a7e604a2a
Tests fixes ( #1238 )
...
* Tests: catch xml internal error
* Tests fixes
2017-09-13 21:08:38 +03:00
proller
68f48253c9
Tests: catch xml internal error
2017-09-13 18:32:03 +03:00
Alexey Milovidov
9a58e26b8c
Added comment [#CLICKHOUSE-2].
2017-09-13 00:06:11 +03:00
Alexey Milovidov
4bf1f39190
Fixed build [#CLICKHOUSE-2].
2017-09-12 20:21:02 +03:00
alexey-milovidov
c4c8057a28
Update InterpreterSelectQuery.h
2017-09-12 20:06:31 +03:00
alexey-milovidov
af323d4e16
Update InterpreterSelectQuery.cpp
2017-09-12 20:06:31 +03:00
leozhang
a80ebcdbc2
fix union all bug #1059
2017-09-12 20:06:31 +03:00
Vadim Skipin
e0a1e6982b
Context parameter added to the IDatabase methods
2017-09-11 21:29:26 +03:00
proller
5054d50307
Remove too noisy message (#CLICKHOUSE-3304)
2017-09-11 21:26:43 +03:00
Vadim Skipin
7576cb2c18
fix LRU cache definition
2017-09-11 14:41:47 +03:00
Alexey Milovidov
9cafeb9e85
Fixed not-an-issue found by Coverity [#CLICKHOUSE-2].
2017-09-11 08:51:23 +03:00
Alexey Milovidov
fabfed6f22
Added support for "include-what-you-use" tool [#CLICKHOUSE-2].
2017-09-10 09:51:27 +03:00
Alexey Milovidov
2c424c7989
Added description of possible race condition [#CLICKHOUSE-2].
2017-09-10 06:17:05 +03:00
Alexey Milovidov
98ad6a5db3
Simplification [#CLICKHOUSE-2].
2017-09-10 05:30:45 +03:00
Alexey Milovidov
dc5eca0beb
Fixed awful translation [#CLICKHOUSE-2].
2017-09-10 05:06:16 +03:00
Alexey Milovidov
cf5fd27b94
Clarifications [#CLICKHOUSE-2].
2017-09-10 04:39:40 +03:00
Alexey Milovidov
cd540c2674
Replaced Mersenne Twister to PCG-Random [#CLICKHOUSE-2].
2017-09-10 02:17:38 +03:00
Alexey Milovidov
5a8f47a640
Fixed not an issue, shown by TSan [#CLICKHOUSE-2].
2017-09-10 02:07:32 +03:00
Alexey Milovidov
a6d5e9c7e8
Fixed not an issue, shown by TSan [#CLICKHOUSE-2].
2017-09-10 02:04:22 +03:00
Alexey Milovidov
fe717a4d6e
Fixed not an issue, shown by TSan; minor modifications [#CLICKHOUSE-2].
2017-09-10 01:28:38 +03:00
Alexey Milovidov
253893bf4d
Fixed insignificant error, shown by TSan [#CLICKHOUSE-2].
2017-09-09 07:06:54 +03:00
Alexey Milovidov
5a8f45c131
Fixed insignificant error, shown by TSan [#CLICKHOUSE-2].
2017-09-09 06:46:18 +03:00
Alexey Milovidov
5f265b0659
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-09 05:13:18 +03:00
Alexey Milovidov
92d7d6bd44
Fixed error that reproduced only when using libc++ [#CLICKHOUSE-3174].
2017-09-09 05:12:53 +03:00
proller
cb70a5a77c
Try fix macos build ( #1221 )
...
* Try fix macos build
* Try fix macos build
2017-09-09 03:40:21 +03:00
Alexey Milovidov
be79166199
Using pcg-random instead of boost::random::taus88 [#CLICKHOUSE-3174].
2017-09-09 02:58:42 +03:00
Alexey Milovidov
c0324aeb66
Removed useless header [#CLICKHOUSE-3174].
2017-09-09 02:40:48 +03:00
Alexey Milovidov
94b975e7f9
Removed function deprecated in C++ [#CLICKHOUSE-3174].
2017-09-09 02:31:18 +03:00
Alexey Milovidov
ed1c0820f0
Fixed minor issue found by Coverity [#CLICKHOUSE-3285].
2017-09-09 02:25:42 +03:00
proller
fce8416797
Try fix macos build
2017-09-08 21:25:22 +03:00
Alexey Milovidov
9afe76e212
Minor modification [#CLICKHOUSE-2].
2017-09-08 19:46:56 +03:00
Alexey Milovidov
db4c3f6e48
Fixed build; clarifications [#CLICKHOUSE-3289].
2017-09-08 19:41:35 +03:00
alexey-milovidov
c8aa9f0f55
Update WriteBufferFromHTTPServerResponse.h
2017-09-08 19:37:21 +03:00
Vadim Skipin
5d3cc61891
CLICKHOUSE-3289: Do not use Application singleton #2
2017-09-08 19:37:21 +03:00
Alexey Milovidov
a81028377e
Implemented some suggestions from clang-tidy (part 9) [#CLICKHOUSE-3301].
2017-09-08 08:03:21 +03:00
Alexey Milovidov
dc4976f562
Implemented some suggestions from clang-tidy (part 8) [#CLICKHOUSE-3301].
2017-09-08 07:58:57 +03:00
Alexey Milovidov
bff69a0ec1
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-08 07:58:32 +03:00
Alexey Milovidov
71d29acdfb
Implemented some suggestions from clang-tidy (part 7) [#CLICKHOUSE-3301].
2017-09-08 07:43:57 +03:00
Alexey Milovidov
4799f28dad
Implemented some suggestions from clang-tidy (part 6) [#CLICKHOUSE-3301].
2017-09-08 07:39:03 +03:00
robot-metrika-test
5993e62f5b
Auto version update to [54288]
2017-09-08 07:26:49 +03:00
Alexey Milovidov
b282c8fcbb
Implemented some suggestions from clang-tidy (part 5) [#CLICKHOUSE-3301].
2017-09-08 07:11:39 +03:00
Alexey Milovidov
8c9ec83a33
Implemented some suggestions from clang-tidy (part 4) [#CLICKHOUSE-3301].
2017-09-08 07:10:43 +03:00
Alexey Milovidov
d29c77adea
Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301].
2017-09-08 06:47:27 +03:00
Alexey Milovidov
f1c98dac3c
Updated instruction to run clang-tidy [#CLICKHOUSE-3301].
2017-09-08 05:42:47 +03:00
Alexey Milovidov
d19d9f8589
Implemented some suggestions from clang-tidy (part 2) [#CLICKHOUSE-3301].
2017-09-08 05:37:02 +03:00
Alexey Milovidov
abad3f432d
Added instruction to run clang-tidy [#CLICKHOUSE-3301].
2017-09-08 05:31:58 +03:00
Alexey Milovidov
e9ae193870
Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301].
2017-09-08 05:29:47 +03:00
proller
5a87ebf262
Try fix macos build
2017-09-08 00:35:55 +03:00
Alexey Milovidov
742f369ac8
Addition to prev. revision [#CLICKHOUSE-3300].
2017-09-08 00:35:21 +03:00
Alexey Milovidov
6307661c35
Addition to prev. revision [#CLICKHOUSE-3300].
2017-09-08 00:26:25 +03:00
Alexey Milovidov
3de701850c
Added instruction for Coverity usage [#CLICKHOUSE-3285].
2017-09-08 00:13:30 +03:00
Alexey Milovidov
9befe805e2
Added instruction for cppcheck usage [#CLICKHOUSE-3300].
2017-09-08 00:09:58 +03:00
Alexey Milovidov
8b313ab99e
Fixed warnings found by cppcheck [#CLICKHOUSE-3300].
2017-09-08 00:04:48 +03:00
Alexey Milovidov
0dcee75180
Supporessed useless false positive errors found by cppcheck [#CLICKHOUSE-3300].
2017-09-07 22:13:37 +03:00
Alexey Milovidov
d3958c1802
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-07 20:56:04 +03:00
Alexey Milovidov
45eda97e39
Fixed bug in usage of ZSTD [#CLICKHOUSE-3282].
2017-09-07 20:55:55 +03:00
alexey-milovidov
39a4401f05
Update Cluster.h
2017-09-07 20:55:33 +03:00
Vadim Skipin
4017622ffb
CLICKHOUSE-3289: Do not use Application singleton
2017-09-07 20:55:33 +03:00
Alexey Milovidov
657e333dba
Added "Uptime" asynchronous metric [#CLICKHOUSE-3282].
2017-09-07 07:02:29 +03:00
proller
d422777d9c
ShellCommand: automatic wait call in destructor ( #1210 )
...
* ShellCommand: automatic wait call in destructor
* ShellCommand: tryWait in destructor
* Update ShellCommand.cpp
* Update ShellCommand.cpp
2017-09-07 03:12:39 +03:00
proller
be4deb7979
Fix test order ( #1209 )
...
* Again fix test 00501_http_head
* Better test reverse
* Fix test reverse sort
* Update clickhouse-test
2017-09-07 00:04:23 +03:00
robot-metrika-test
b5f94b6738
Auto version update to [54287]
2017-09-06 23:49:16 +03:00
Alexey Milovidov
5801139cbf
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-06 23:24:51 +03:00
Alexey Milovidov
9c37dfd75f
Fixed common source of errors while deploying newer version of ClickHouse [#CLICKHOUSE-3282].
2017-09-06 23:24:40 +03:00
proller
ea19c4494f
Better test reverse ( #1207 )
...
* Again fix test 00501_http_head
* Better test reverse
* Fix test reverse sort
* Update clickhouse-test
2017-09-06 23:13:21 +03:00
Alexey Milovidov
e3e506d449
Fixed with_mergeable_state option for clickhouse-benchmark [#CLICKHOUSE-3282].
2017-09-06 23:01:44 +03:00
proller
7142e43be6
Fix compile 32bit
2017-09-06 22:28:04 +03:00
proller
7c2327f3c8
LibraryDictionarySource: fix compile on macos and 32bit
2017-09-06 22:28:04 +03:00
proller
b538df661a
Again fix test 00501_http_head
2017-09-06 22:07:22 +03:00
proller
888214e33d
Revert "Reverse tests order"
...
- need smarter reverse
This reverts commit 16bd99493b
.
2017-09-06 21:39:04 +03:00
proller
16bd99493b
Reverse tests order
2017-09-06 20:16:17 +03:00
proller
7e46044474
Fix test 00501_http_head
2017-09-06 18:20:15 +03:00
Alexey Milovidov
b370551e67
Fixed redundant code in IPv4NumToStringClassC function and removed copy-paste [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
ff8940ddbe
Fixed bad code [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
60263d943e
IPv6StringToNum: fixed missing overflow check [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
e03ca48d84
More uniform style [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
24ac5a68e1
More uniform style [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
ee469f7a98
Fixed redundant code [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
5b952f0c55
Fixed error in StringRange [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
7237445356
Fixed another bad code in PerformanceTest [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
426da39acb
Fixed bad code in PerformanceTest [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
9290d26c58
Removed some garbage from PerformanceTest [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
e1e0d517aa
Fixed bad style in PerformanceTest [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
452c40e85e
Fixed nullptr dereference [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
3b6dd67178
Fixed nullptr dereference [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
31b598e1e3
Fixed bad code [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
d82b87aaef
Fixed redundand code in better way [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Vitaliy Lyudvichenko
325ceb85b5
Delete unusing files. [#CLICKHOUSE-2]
2017-09-06 04:18:07 +03:00
Vitaliy Lyudvichenko
d55d5eca46
Remove extra Context reference and add required ones. Part 2. [#CLICKHOUSE-3117]
2017-09-06 04:18:07 +03:00
Vitaliy Lyudvichenko
3876340aeb
More correct Context deinitialization. Part 1. [#CLICKHOUSE-3117]
2017-09-06 04:18:07 +03:00
proller
44b44a13d2
Fix http_head test ( #1203 )
...
* Fix http_head test
* Longer timeout
2017-09-05 21:53:28 +03:00
proller
0e4d49570b
LibraryDictionarySource fixes
2017-09-05 20:14:46 +03:00
Alexey Milovidov
48ab039501
Unify serialization of complex data types: development [#CLICKHOUSE-2838].
2017-09-05 05:36:35 +03:00
proller
2a7813049e
LibDictionarySource : First lib dictionary version with only uint64 type support ( #1150 )
...
* Wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Do not use ccache if ccache defined in CMAKE_CXX_COMPILER_LAUNCHER
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Config: Allow multiple dictionaries_config
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* wip
* clean
* clean
* wip
* clean
* clean
* wip
* wip
* clean
* clean
* clean
* clean
* clean
* Requested changes
* Reqested changes
* Requested changes
* Requested changes
* Requested changes
* Requested changes
* requested changes
* Requested changes
* Requested changes
* requested changes
* Requested changes
* fix
* Requested changes
* Requested changes
* fix
* Requested changes
* Requested changes
2017-09-05 04:08:26 +03:00
Alexey Milovidov
cb2c09020c
Fixed tests [#CLICKHOUSE-2838].
2017-09-05 03:28:30 +03:00
Alexey Milovidov
4f7a3a7832
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-09-05 03:11:18 +03:00
robot-metrika-test
057b2790b4
Auto version update to [54286]
2017-09-05 00:37:29 +03:00
Alexey Milovidov
96061a9053
Temporarily removed test for incomplete modification [#CLICKHOUSE-2].
2017-09-05 00:35:28 +03:00
Alexey Milovidov
b37790d27e
Minor modifications [#CLICKHOUSE-3201].
2017-09-04 23:21:55 +03:00
proller
1b3bc42586
Fix freebsd/macos compile ( #1198 )
...
* Header compile fixes
* Fix includes
* Update debian/.pbuilderrc description
* Fix freebsd/macos compile
* Fix freebsd/macos compile
2017-09-04 21:18:45 +03:00
alexey-milovidov
d1f1c59ef3
Merge pull request #1188 from proller/fix3
...
Segmentation fault on HEAD HTTP query #912
2017-09-04 20:10:18 +03:00
alexey-milovidov
c1fdb785f0
Merge branch 'master' into CLICKHOUSE-3246
2017-09-04 20:06:18 +03:00
alexey-milovidov
ea8790d077
Merge pull request #1196 from yandex/CLICKHOUSE-3201
...
Clickhouse-3201
2017-09-04 19:56:21 +03:00
proller
5afd5fded9
Merge remote-tracking branch 'upstream/master' into fix3
2017-09-04 19:34:06 +03:00
proller
39c1bf0984
Fix freebsd/macos compile ( #1194 )
...
* Header compile fixes
* Fix includes
* Update debian/.pbuilderrc description
* Fix freebsd/macos compile
2017-09-04 18:14:05 +03:00
robot-metrika-test
0544e0c75f
Auto version update to [54285]
2017-09-04 17:31:54 +03:00
Vladimir Chebotarev
e39fb48377
functions: pointInPolygon(). [#CLICKHOUSE-3201]
2017-09-04 17:26:28 +03:00
Alexey Milovidov
72910a7db3
Addition to prev. revision [#CLICKHOUSE-2].
2017-09-04 17:04:35 +03:00
Vitaliy Lyudvichenko
706d4db332
Made RWLockFIFO recursive. [#CLICKHOUSE-3246]
2017-09-04 15:54:13 +03:00
proller
f3cb0ad7e8
Merge remote-tracking branch 'upstream/master' into fix3
2017-09-04 14:12:51 +03:00
Alexey Milovidov
4d97959e57
Merge branch 'master' into unify-data-types-that-serialized-with-multiple-streams
2017-09-04 04:11:00 +03:00
Alexey Milovidov
b6a533adef
Added test [#CLICKHOUSE-3270].
2017-09-02 01:00:25 +03:00
alexey-milovidov
ffd75017e7
Update WriteBufferFromHTTPServerResponse.cpp
2017-09-02 00:49:06 +03:00
alexey-milovidov
f079af6197
Update WriteBufferFromHTTPServerResponse.cpp
2017-09-02 00:48:18 +03:00
alexey-milovidov
7b2cc11520
Update WriteBufferFromHTTPServerResponse.cpp
2017-09-02 00:47:37 +03:00
proller
863fd72c8a
Segmentation fault on HEAD HTTP query #912
2017-09-02 00:46:12 +03:00
Alexey Milovidov
f51cc679a0
Fixed inserting wrong default value for Enums [#CLICKHOUSE-3270].
2017-09-02 00:37:57 +03:00
proller
5f83b829cf
Fix includes
2017-09-01 22:49:12 +03:00
proller
aa1f27553e
Header compile fixes
2017-09-01 22:05:29 +03:00
proller
5889aa9c74
Fix build
2017-09-01 21:37:53 +03:00
Alexey Milovidov
87fab3396e
Fixed build [#CLICKHOUSE-2].
2017-09-01 21:22:03 +03:00
Alexey Milovidov
40884640a1
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-01 21:21:05 +03:00
Alexey Milovidov
2af8747164
Removed obsolete code [#CLICKHOUSE-3270].
2017-09-01 21:21:01 +03:00
alexey-milovidov
223ebc0b0d
Merge pull request #1187 from yandex/array-functions-concat-slice-push-pop
...
Fix array functions for generic array type
2017-09-01 21:11:09 +03:00
Nikolai Kochetov
20766debb0
fix arrasSlice for gereric arrays [#CLICKHOUSE-2090]
2017-09-01 21:01:06 +03:00
alexey-milovidov
775d95888a
Merge pull request #1163 from yandex/CLICKHOUSE-2931
...
Introduce SYSTEM queries
2017-09-01 20:45:29 +03:00
Vitaliy Lyudvichenko
88c9dcbb3d
Changed method signature. [#CLICKHOUSE-3246]
2017-09-01 20:45:05 +03:00
Vitaliy Lyudvichenko
566160c048
Use FIFO lock in IStorage. [#CLICKHOUSE-3246]
2017-09-01 20:45:05 +03:00
Vitaliy Lyudvichenko
add3f920ff
RWLockFIFO implementation. [#CLICKHOUSE-3246]
2017-09-01 20:45:05 +03:00
Nikolai Kochetov
32ed1b0b41
fix arrasSlice for gereric arrays [#CLICKHOUSE-2090]
2017-09-01 20:41:43 +03:00
alexey-milovidov
897a9ad6b2
Merge pull request #1146 from yandex/array-functions-concat-slice-push-pop
...
Array functions concat slice push pop
2017-09-01 20:30:51 +03:00
proller
1a8e22c37f
Allow compile on 32bit systems ( #1175 )
...
* Trying compile under 32bit..
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
* clnag-format of Split ComplexKeyCacheDictionary
* wip
* Requested changes
* wip
* wip
* Fix boost 1.64 and gcc7+ compile errors
* More fixes
* wip
* Fix arm build
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* fix
* wip
* wip
* clean
* clean
* wip
* wip
* Update MergeTreeSettings.h
* Requested changes
* Requested changes
* Requested changes
* Requested changes
2017-09-01 20:21:03 +03:00
Nikolai Kochetov
463c05b33d
fixed build [#CLICKHOUSE-2090]
2017-09-01 20:16:48 +03:00
Nikolai Kochetov
a88bb9375a
removed useless code from GatherUtils [#CLICKHOUSE-2090]
2017-09-01 20:14:47 +03:00
Nikolai Kochetov
df09912864
reformated GatherUtils.cpp [#CLICKHOUSE-2090]
2017-09-01 20:07:58 +03:00
Vitaliy Lyudvichenko
c32bf4f597
Use only one cache in DNSCache. Add requested changes. [#CLICKHOUSE-2931]
2017-09-01 20:05:24 +03:00
Nikolai Kochetov
b4f7e0e15c
restored identation in FunctionsArray.cpp [#CLICKHOUSE-2090]
2017-09-01 19:57:01 +03:00
Nikolai Kochetov
a46780e4a5
renamed concatGeneric to concatGenericArray [#CLICKHOUSE-2090]
2017-09-01 19:45:05 +03:00
Nikolai Kochetov
3370ba270f
fix build [#CLICKHOUSE-2090]
2017-09-01 17:55:43 +03:00
Nikolai Kochetov
862460f293
changed & to && in GatherUtils.cpp [#CLICKHOUSE-2090]
2017-09-01 17:47:42 +03:00
Nikolai Kochetov
b392788e86
fix build [#CLICKHOUSE-2090]
2017-09-01 17:35:37 +03:00
Nikolai Kochetov
5b4759acd9
changed sibstring behaviour for offset < -string_lenght [#CLICKHOUSE-2090]
2017-09-01 17:32:12 +03:00
Nikolai Kochetov
f1c01118b5
fixed writeSlice for const GenericArraySlice and NumericArraySink [#CLICKHOUSE-2090]
2017-09-01 16:55:05 +03:00
Nikolai Kochetov
6956e12770
added comments to writeSlice functions [#CLICKHOUSE-2090]
2017-09-01 16:03:54 +03:00
Nikolai Kochetov
1da43b683c
fixed comment [#CLICKHOUSE-2090]
2017-09-01 15:23:06 +03:00
Nikolai Kochetov
937f37c489
fixed reading of empty block in prewhere [#CLICKHOUSE-3266]
2017-09-01 15:18:40 +03:00
Nikolai Kochetov
a9e2a17f69
fixed estimateNumRows in MergeTreeBlockSizePredictor; fixed reading of empty block in prewhere; added test [#CLICKHOUSE-3266]
2017-09-01 15:18:40 +03:00
Nikolai Kochetov
7885c5c032
renamed TypeListNumber to TypeListNumbers [#CLICKHOUSE-2090]
2017-09-01 15:09:08 +03:00
Nikolai Kochetov
7891596579
unified TypeList [#CLICKHOUSE-2090]
2017-09-01 15:05:19 +03:00
Nikolai Kochetov
c695f10c66
hanged & to && in GatherUtils [#CLICKHOUSE-2090]
2017-09-01 14:32:31 +03:00
Nikolai Kochetov
c0b05f2ca9
hanged & to && in GatherUtils [#CLICKHOUSE-2090]
2017-09-01 14:02:26 +03:00
Alexey Zatelepin
392b59a2fe
fix running tests with custom clickhouse-client [#CLICKHOUSE-2]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
d2847f22af
PR fixes [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
61987df169
check alter of partition key columns [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
dc5809ed8d
get rid of unneeded variable [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
34ac0e0876
remove unnecessary include [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
14ba0a9acf
rename partition -> partition_id for clarity [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
645e4b7a53
generalize MinMax index [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
5471979f46
generic partitioning of inserted blocks [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
be1c62d7f8
split partition and minmax index [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
99969ab77a
Introduce MergeTreePartitionIndex. Isolate its loading code. [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
proller
be7e082b35
Fix test simple_cache compile
2017-08-31 22:27:55 +03:00
Vitaliy Lyudvichenko
0b36305ad3
Parse unix timestamps in JSONEachRow format. [#CLICKHOUSE-3268]
2017-08-31 20:12:48 +03:00
proller
3269b1da57
libmariadb as submodule (CLICKHOUSE-3261) ( #1181 )
...
* Use bundled libmariadbclient (CLICKHOUSE-3261)
* wip
* wip
* wip
* Update docs about git clone. move docs/en/development/build_*.sh -> utils/build/build_debian.sh
2017-08-31 20:11:30 +03:00
alexey-milovidov
1b8100ae86
Update FunctionsArray.cpp
2017-08-31 20:00:51 +03:00
alexey-milovidov
c6f87d9543
Update GatherUtils.h
2017-08-31 19:24:46 +03:00
Alexey Milovidov
9c7f195c6e
Removed flappy test (race condition in test) [#CLICKHOUSE-3267].
2017-08-31 13:47:49 +03:00
alexey-milovidov
aa2d29f5f9
Update ReadWriteBufferFromHTTP.cpp, Context.cpp, etc
...
Update ASTSystemQuery.cpp
Update ASTSystemQuery.h
Update dictionary_clickhouse_cache.xml
Update dictionary_clickhouse_flat.xml
2017-08-31 13:26:02 +03:00
alexey-milovidov
5d14855989
Merge branch 'master' into CLICKHOUSE-2931
2017-08-31 00:23:39 +03:00
Alexey Milovidov
9fdbd576f6
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-30 21:53:37 +03:00
Alexey Milovidov
1531268281
Added aggregate functions groupBitAnd, groupBitOr, groupBitXor [#CLICKHOUSE-2].
2017-08-30 21:52:14 +03:00
Nikolai Kochetov
ec58bfae90
added comments [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Nikolai Kochetov
1e08db938d
added chech that root starts with '/' in zookeeper config file [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Nikolai Kochetov
871a7cabc6
fix build [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Nikolai Kochetov
d4bf2bf102
replaced tabs to spaces in config files [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Nikolai Kochetov
ee90da3014
added tests [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Nikolai Kochetov
5ff1669406
fixed root section in zookeeper configuration [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Nikolai Kochetov
1539648910
moved root section in zookeeper configuration [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Nikolai Kochetov
fa2f0dfa4d
added root and identity section to zookeeper configuration [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Nikolai Kochetov
16103456e2
added root and identity section to zookeeper configuration [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Alexey Milovidov
495daffa16
Miscellaneous [#CLICKHOUSE-2].
2017-08-30 21:13:32 +03:00
Vitaliy Lyudvichenko
478470e1f1
Avoid segfaults and many other problems related with modifying global context in DDLWorker. [#CLICKHOUSE-3260]
2017-08-30 19:12:45 +03:00
Vitaliy Lyudvichenko
5916d823ef
Fix deadlock in case of using Buffer table with CLEAR COLUMN IN PARTITION. [#CLICKHOUSE-3238]
2017-08-30 17:34:40 +03:00
alexey-milovidov
91abe43461
Update ProcessList.cpp
2017-08-29 23:23:54 +03:00
alexey-milovidov
f31ca9276f
Update ProcessList.h
2017-08-29 23:23:54 +03:00
Vitaliy Lyudvichenko
1e68d10ce0
Add max_network_bandwidth_for_user limit setting. [#CLICKHOUSE-3139]
2017-08-29 23:23:54 +03:00
Alexey Milovidov
d1da6c3cfc
Fixed bad translation [#CLICKHOUSE-2].
2017-08-29 22:07:54 +03:00
Alexey Milovidov
e4eb6f0cfb
Fixed bad translation [#CLICKHOUSE-2].
2017-08-29 22:02:07 +03:00
Alexey Milovidov
709eba2a00
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-29 21:51:58 +03:00
Alexey Milovidov
04af7a3349
Fixed bad translation [#CLICKHOUSE-2].
2017-08-29 21:51:48 +03:00
Vitaliy Lyudvichenko
84660029ec
Don't leave trash part nodes in ZK in case of deleting non-existing duplicated parts. [#CLICKHOUSE-3252]
2017-08-29 20:49:37 +03:00
Alexey Milovidov
8d7937cc30
Fixed bad translation [#CLICKHOUSE-2].
2017-08-29 17:08:25 +03:00
Vadim Skipin
4dc36893d3
Keep config in context to avoid Application singleton usages
2017-08-28 22:19:06 +03:00
Vitaliy Lyudvichenko
c9daea1a33
Fixed IP resolving in DNSCache. [#CLICKHOUSE-2931]
2017-08-28 21:43:57 +03:00
Vitaliy Lyudvichenko
4b0c7ecf21
Add integration tests for SYSTEM queries. [#CLICKHOUSE-2931]
2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
8fa3364e4e
Add SYSTEM RELOAD DICTIONARY(IES) implementation. [#CLICKHOUSE-2931]
2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
48f5d8f1a3
Add SYSTEM DROP DNS CACHE. [#CLICKHOUSE-2931]
2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
ffe7558fe2
Add SYSTEM KILL and SHUTDOWN implementations. [#CLICKHOUSE-2931]
2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
eb05798130
Add SYSTEM queries parser. [#CLICKHOUSE-2931]
2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
fd63277b15
Unified spelling. [#CLICKHOUSE-2]
2017-08-28 18:27:25 +03:00
Vitaliy Lyudvichenko
37820f7f64
Don't leave trash parts in ZK in case of temporary errors. [#CLICKHOUSE-3252]
2017-08-28 18:27:25 +03:00
Alexey Milovidov
738f1685b2
Fixed build after merge [#CLICKHOUSE-2].
2017-08-25 19:35:10 +03:00
Vitaliy Lyudvichenko
f8c9059857
Fixed SIGABRT in DDLWorker. [#CLICKHOUSE-3251]
2017-08-25 19:31:57 +03:00
Marek Vavruša
3659caad7d
ZooKeeper: use seeded random device to shuffle node list #1149
...
std::random_shuffle() may or may not use std::rand() which isn't
seeded, and since configuration parsing runs predictably as one
of the first things after server startup, the list of ZK nodes
is shuffled the same way on all replicas.
2017-08-25 18:37:27 +03:00
Nikolai Kochetov
24e135fbe6
supported arraySlice with 2 arguments, added comments [#CLICKHOUSE-2090]
2017-08-25 16:54:08 +03:00
Vitaliy Lyudvichenko
b818258af9
Add ability to run an integration test env without test runs. [#CLICKHOUSE-2]
2017-08-25 16:51:12 +03:00
Nikolai Kochetov
1ec04d1024
supported || for arrayConcat [#CLICKHOUSE-2090]
2017-08-25 16:05:26 +03:00
Nikolai Kochetov
239f4f2d36
merged with master
2017-08-25 15:05:18 +03:00
Nikolai Kochetov
e223d07031
fixed test [#CLICKHOUSE-2090]
2017-08-25 14:58:33 +03:00
Nikolai Kochetov
0f4e7f1833
fixed array slice with offset <= -(array length) [#CLICKHOUSE-2090]
2017-08-25 14:29:49 +03:00
Nikolai Kochetov
f70ead2539
added test [#CLICKHOUSE-2090]
2017-08-24 22:39:30 +03:00
Nikolai Kochetov
d213efa974
fixed slice for nullable index [#CLICKHOUSE-2090]
2017-08-24 22:19:37 +03:00
Nikolai Kochetov
d8529e1846
unused type alias [#CLICKHOUSE-2090]
2017-08-24 21:16:25 +03:00
Nikolai Kochetov
09a307b94f
removed debug stderr output [#CLICKHOUSE-2090]
2017-08-24 19:46:41 +03:00
Nikolai Kochetov
e6fd55ff42
added arrayPushBack arrayPushFront arrayPopBack arrayPopFront function [#CLICKHOUSE-2090]
2017-08-24 19:46:40 +03:00
Nikolai Kochetov
096d34bb7f
added arraySlice function [#CLICKHOUSE-2090]
2017-08-24 19:46:34 +03:00
Nikolai Kochetov
c1479a5594
updated GatherUtils [#CLICKHOUSE-2090]
2017-08-24 19:46:15 +03:00
Nikolai Kochetov
c3fe8bb026
added FunctionArrayConcat [#CLICKHOUSE-2090]
2017-08-24 19:45:13 +03:00
robot-metrika-test
7943a21fcf
Auto version update to [54281]
2017-08-24 16:37:27 +03:00
Alexey Milovidov
58fc8a2c0b
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-24 16:26:19 +03:00
Alexey Milovidov
fd552774c0
Fixed translation error [#CLICKHOUSE-2].
2017-08-24 16:25:51 +03:00
proller
49ae03a4a7
Fix build in freebsd ( #1129 )
2017-08-23 18:58:42 +03:00
Alexey Zatelepin
eec6a3ecb9
add forgotten aggregate functions to SpecializedAggregator.h [#CLICKHOUSE-3247]
2017-08-23 17:00:36 +03:00
Alexey Zatelepin
ec96183f59
put AggregateFunctionStatistics implementation out of anonymous namespace [#CLICKHOUSE-3247]
2017-08-23 17:00:36 +03:00
Alexey Zatelepin
8620dd6876
runtime compilation fix: put groupArray implementation out of anonymous namespace [#CLICKHOUSE-3247]
...
Demangled symbols from anonymous namespace contain "::(anonymous namespace)::" string
and thus cannot be used with runtime compilation of aggregation functions.
2017-08-23 17:00:36 +03:00
Vitaliy Lyudvichenko
02f0bcb17f
Fixed incorrect assertion in INSERT queries with binary formats. [#CLICKHOUSE-3242]
2017-08-23 16:57:22 +03:00
Nikolai Kochetov
7fa337c297
added tests [#CLICKHOUSE-3245]
2017-08-23 15:44:18 +03:00
Nikolai Kochetov
c43a13cb81
fixed async insertion into local shard of distributed [#CLICKHOUSE-3245]
2017-08-23 15:44:18 +03:00
Vitaliy Lyudvichenko
61289c5c61
Fixed test after forcing ENGINE for MV. [#CLICKHOUSE-3]
2017-08-23 14:44:53 +03:00
Alexey Milovidov
ee553aac65
Updated test of string hashes [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
4eb77e6628
Updated test of string hashes [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
c34211e0c5
More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
033b139288
More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
003d2525e0
More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
f39db7ba1a
More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
8085359518
More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
f8b2400a84
More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
3748b7b332
Added hopscotch-map just for tests [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
e47a29fd4b
More sophisticated test of hash tables with integer keys [#CLICKHOUSE-2].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
75f1df36e4
Miscellaneous [#CLICKHOUSE-2].
2017-08-22 20:29:02 +03:00
Alexey Milovidov
fc409f61e5
Miscellaneous [#CLICKHOUSE-2].
2017-08-20 16:12:14 +03:00
Alexey Milovidov
2fb7a34f0d
Miscellaneous [#CLICKHOUSE-2].
2017-08-20 04:07:11 +03:00
Alexey Milovidov
7dc4d6f7b3
Miscellaneous [#CLICKHOUSE-2].
2017-08-20 04:05:59 +03:00
Alexey Zatelepin
ce3e4676fa
remove unnecessary calls to find() [#CLICKHOUSE-2171]
2017-08-19 21:35:01 +03:00
Alexey Milovidov
e25f232b5a
Raising limit on max size for merge (step 1 of 4) [#CLICKHOUSE-2]
2017-08-19 01:56:19 +03:00
alexey-milovidov
1d39b94992
Update 00101_materialized_views_and_insert_without_explicit_database.sql
2017-08-19 00:10:53 +03:00
Vitaliy Lyudvichenko
e52428ddb2
Fixed SIGSEGV in CREATE TABLE AS <MV>. MV without ENGINE is forbidden! [#CLICKHOUSE-2]
...
Resolves #1112
Resolves #598
2017-08-19 00:10:53 +03:00
Alexey Milovidov
f52ceced2b
Modified tests [#CLICKHOUSE-2838].
2017-08-18 23:22:56 +03:00
Alexey Milovidov
cb67224b4f
Modified test [#CLICKHOUSE-2838].
2017-08-18 23:11:09 +03:00
Alexey Milovidov
e01c23267a
Merge branch 'master' into unify-data-types-that-serialized-with-multiple-streams
2017-08-18 22:41:27 +03:00
Vadim Skipin
61f65e97a8
Fix typo
2017-08-18 22:38:56 +03:00
Alexey Milovidov
12a034478c
Fixed bad translation [#CLICKHOUSE-2].
2017-08-18 22:30:39 +03:00
Alexey Milovidov
d5b9f2127f
Added test result [#CLICKHOUSE-2].
2017-08-18 22:06:39 +03:00
Alexey Milovidov
304ccf29b2
Fixed error; added test [#CLICKHOUSE-2].
2017-08-18 22:02:50 +03:00
Alexey Milovidov
5d835e88de
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-18 21:45:10 +03:00
Alexey Milovidov
434a7d8f38
Fixed function "substring" with out-of-bound negative offset argument [#CLICKHOUSE-2].
2017-08-18 21:45:02 +03:00
Vadim Skipin
5f4e833925
Cleanup function factories:
...
* Switch to std::function to allow more complex creator logic
* Cleanup headers
2017-08-18 21:15:57 +03:00
Alexey Milovidov
2e468c143d
Added convenience comment in config [#CLICKHOUSE-2].
2017-08-18 20:05:53 +03:00
Alexey Milovidov
f918e22438
Miscellaneous [#CLICKHOUSE-2].
2017-08-18 19:36:02 +03:00
Alexey Zatelepin
e545777187
fix PoolWithFailoverBase::TryResult initialization
2017-08-18 15:38:43 +03:00
robot-metrika-test
7b6fa26151
Auto version update to [54280]
2017-08-18 04:35:46 +03:00
Alexey Milovidov
4687a2730d
Allow to override umask in config [#CLICKHOUSE-2].
2017-08-18 04:00:13 +03:00
proller
c720524078
Auto version update to [54279]
2017-08-18 02:03:15 +03:00
proller
97699eeea2
Auto version update to [54278]
2017-08-18 01:51:12 +03:00
Vitaliy Lyudvichenko
1a68a17a06
Avoid infinite loop in DDLWorker if ZooKeeper dies. [#CLICKHOUSE-2]
2017-08-17 23:06:38 +03:00
Vitaliy Lyudvichenko
f28d0cff3c
Add more detailed exception message. [#CLICKHOUSE-3234]
2017-08-17 23:06:38 +03:00
Nikolai Kochetov
f8bf45a5ec
added test [#CLICKHOUSE-3237]
2017-08-17 23:06:00 +03:00
Nikolai Kochetov
850bc9f19d
fixed reading const zero column in prewhere
2017-08-17 23:06:00 +03:00
Alexey Milovidov
9f956d97dd
Removed debug output [#CLICKHOUSE-2].
2017-08-17 21:43:39 +03:00
Marek Vavruša
5ba535f05f
Dictionaries: remove duplicate MySQLDictionarySource.h include
...
refs #1110
2017-08-17 01:35:19 +03:00
proller
175cd99288
Freebsd fixes: fix build with libc++, fix find system lib double-conversion ( #1109 )
...
* Cmake: Don't detect and use -no-pie flag with clang
* Camke: find_unwind: Fix disable on arm
* Freebsd fixes: fix build with libc++, fix find system lib double-conversion
2017-08-17 00:01:43 +03:00
Alexey Milovidov
16d6c4f9e7
Removed very old protocol compatibility features [#CLICKHOUSE-2].
2017-08-16 23:27:35 +03:00
Alexey Milovidov
eb88391655
Fixed error with alias substitution [#CLICKHOUSE-2986].
2017-08-16 23:10:25 +03:00
Alexey Milovidov
3a86673aea
Fixed error when part could become broken during ALTER MODIFY of element of Nested column [#CLICKHOUSE-3232].
2017-08-16 22:41:52 +03:00
Alexey Milovidov
164ad05ae1
Little better [#CLICKHOUSE-3231].
2017-08-16 22:22:49 +03:00
Alexey Milovidov
b6cafb9a88
Set "max_replica_delay_for_distributed_queries" to five minutes by default [#CLICKHOUSE-2141].
2017-08-16 20:21:39 +03:00
Alexey Milovidov
c629799500
Fixed insufficient arguments checking [#CLICKHOUSE-3102].
2017-08-16 17:21:24 +03:00
Alberto
727ca81998
Fixed typo
2017-08-16 14:08:02 +03:00
Alexey Milovidov
68c57b2b61
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-16 00:53:03 +03:00
Alexey Milovidov
2ddf462563
Fixed regression [#CLICKHOUSE-2].
2017-08-16 00:52:52 +03:00
Vitaliy Lyudvichenko
ad40104022
Unix timestamp format for DateTime fields in CSV. Resolves #366 . [#CLICKHOUSE-3168]
2017-08-15 23:22:36 +03:00
Alexey Milovidov
dc29ae7e73
Added test (tnx. egatov) [#CLICKHOUSE-2].
2017-08-15 23:17:50 +03:00
Alexey Milovidov
6033221198
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-15 23:14:32 +03:00
Alexey Milovidov
4272265128
Fixed LimitReadBuffer [#CLICKHOUSE-2].
2017-08-15 23:14:15 +03:00
Alexey Zatelepin
0185fd4542
fix parsing min-max dates from part name [#CLICKHOUSE-3000]
2017-08-15 23:03:59 +03:00
Nikolai Kochetov
f8513b932f
removed ability to select from external temporary table by query_id
2017-08-15 22:31:40 +03:00
Nikolai Kochetov
89df47fd52
added test for drop temporary table
2017-08-15 22:31:40 +03:00
Nikolai Kochetov
9c6f1a1e4b
supported drop query for temporary tables [#CLICKHOUSE-3219]
2017-08-15 22:31:40 +03:00
Alexey Zatelepin
372801c59b
fix comments [#CLICKHOUSE-3000]
2017-08-15 22:30:52 +03:00
Alexey Zatelepin
0df4ae6b02
do not use unnecessary temporary objects to query a set of parts [#CLICKHOUSE-3000]
2017-08-15 22:30:52 +03:00
Alexey Zatelepin
f25f0cd759
reduce number of places where partitioning by month is assumed [#CLICKHOUSE-3000]
2017-08-15 22:30:52 +03:00
robot-metrika-test
335078ae90
Auto version update to [54275]
2017-08-15 19:18:02 +03:00
Vitaliy Lyudvichenko
8a14cc49ff
asyncMulti() -> multi(). [#CLICKHOUSE-3221]
2017-08-15 19:18:02 +03:00
robot-metrika-test
c305b77871
Auto version update to [54274]
2017-08-14 19:07:55 +03:00
Vitaliy Lyudvichenko
05d3f338ca
Add useful .gitignore. [#CLICKHOUSE-2]
2017-08-14 15:03:43 +03:00
Vitaliy Lyudvichenko
33a50b4d65
Fix false IOError messages in integration tests log. [#CLICKHOUSE-2]
2017-08-14 14:49:30 +03:00
robot-metrika-test
b1bc0a9e99
Auto version update to [54273]
2017-08-14 09:49:06 +03:00
Alexey Milovidov
5fe560e7f2
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-14 08:51:13 +03:00
Alexey Milovidov
5af5f78cb7
Terminate only DDLWorker in case of unexpected exception in DDLWorker [#CLICKHOUSE-4].
2017-08-14 08:51:03 +03:00
robot-metrika-test
a16ed9fc32
Auto version update to [54272]
2017-08-14 08:49:05 +03:00
Alexey Milovidov
1495490726
DDLWorker: better [#CLICKHOUSE-5].
2017-08-14 08:44:04 +03:00
Alexey Milovidov
957fb9f2e5
Added test [#CLICKHOUSE-2].
2017-08-14 07:49:20 +03:00
Alexey Milovidov
09d83eecd0
Moved code to cpp [#CLICKHOUSE-2].
2017-08-14 07:42:04 +03:00
alexey-milovidov
94a15df626
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00
alexey-milovidov
cbed1415d7
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00
alexey-milovidov
16f0af8018
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00
alexey-milovidov
d87b615bdf
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00
alexey-milovidov
3330cd6a7f
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00
Evgeniy Gatov
2e6eb504dc
LimitReadBuffer fix [#CLICKHOUSE-2].
2017-08-14 07:37:01 +03:00
robot-metrika-test
eca1b39dee
Auto version update to [54271]
2017-08-14 07:25:10 +03:00
Alexey Milovidov
986c6c729d
Fixed incompatibility [#CLICKHOUSE-2].
2017-08-14 07:23:38 +03:00
Alexey Milovidov
e7dcd1cc71
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-14 04:30:29 +03:00
Alexey Milovidov
96d8ba9e3f
Fixed typo [#CLICKHOUSE-2].
2017-08-14 04:29:19 +03:00
robot-metrika-test
11adefa2c0
Auto version update to [54270]
2017-08-14 04:04:51 +03:00
Alexey Milovidov
6ec873c75e
Fixed test (it was dependent on time zone) [#CLICKHOUSE-2].
2017-08-14 03:02:12 +03:00
Alexey Milovidov
0ef64e5dfe
Fixed error [#CLICKHOUSE-2].
2017-08-14 02:58:04 +03:00
Alexey Milovidov
547516c636
Fixed errors after merge [#CLICKHOUSE-2].
2017-08-13 12:27:38 +03:00
Alexey Milovidov
1cc50263d8
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-13 12:20:15 +03:00
Alexey Milovidov
9aca95001e
Fixed regression, added test [#CLICKHOUSE-2].
2017-08-13 12:20:05 +03:00
Vitaliy Lyudvichenko
bf1c4d156a
Fix errors after rebase, better logging. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
04ab103d92
Avoid extra ZK calls on cleanup. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
alexey-milovidov
7ba0fcaf51
Update DDLWorker.cpp
2017-08-13 12:18:46 +03:00
alexey-milovidov
15fa88d25b
Update DDLWorker.cpp
2017-08-13 12:18:46 +03:00
alexey-milovidov
4af3e55699
Update DDLWorker.cpp
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
d9ce96f8f5
Fixed test and misspellings. [#CLICKHOUSE-3207]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
f815498e34
Fix error codes skipping. [#CLICKHOUSE-2]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
a34ab8201a
Add FORMAT section for DDL queries CREATE, ALTER, RENAME, DROP. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
4ef5d14722
Add distributed_ddl_task_timeout setting. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
183c55676e
Fixed ON CLUSTER DDL for Views. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
cdf95ab308
Fixed race condition in case of different cluster definitions. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
e4785aeb4d
Simplified clean queue logic. Added more tests. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
c2e84d6df7
Fixed several errors in case of connection loss. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
cb02a1b3b5
Add random ZK packets drops into test. Fixed a couple bugs. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
4a7927b186
Many improvements. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
c2cf3f81be
Fix test after rebase. [#CLICKHOUSE-312]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
628de0a3ea
Fixed logging of DDL queries. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
736feab79f
Add port field. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
7e8f3a0561
Add parse error handling. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
Vitaliy Lyudvichenko
c65c49b50a
Add config-based host name selection. [#CLICKHOUSE-3128]
2017-08-13 12:18:46 +03:00
alexey-milovidov
3c0d0274d0
Update executeQuery.h
2017-08-13 12:17:09 +03:00
Alexey Zatelepin
7b0a7def02
remove unused setting [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +03:00
Alexey Zatelepin
67dffb9be6
simplify MultiplexedConnections further (so that it works with only one shard) [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +03:00
Alexey Zatelepin
c99f3d7ee0
add test [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +03:00
Alexey Zatelepin
b469ef1792
don't use local replica if its delay is unacceptable [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +03:00
Alexey Zatelepin
36dc7857a1
make LazyBlockInputStream thread-safe [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +03:00
Alexey Zatelepin
3f3b7f61e2
always send changed settings for remote connections [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +03:00
Alexey Zatelepin
ee457eca8a
remove shard multiplexing code, simplify [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +03:00
Alexey Zatelepin
133be4d739
move and rename things [#CLICKHOUSE-3151]
2017-08-13 12:17:09 +03:00
Alexey Milovidov
1e1dc8828a
Miscellaneous [#CLICKHOUSE-2].
2017-08-13 00:02:45 +03:00
Vitaliy Lyudvichenko
1c8a280d63
Fixed escapeForFileName(). [#CLICKHOUSE-2]
2017-08-12 23:46:22 +03:00
Vitaliy Lyudvichenko
f36caa9c99
Parameter rename. [#CLICKHOUSE-3213]
2017-08-12 03:46:42 +03:00
Vitaliy Lyudvichenko
04dcec32b4
Specialized implementation of groupArray() for Date and DateTime. [#CLICKHOUSE-3213]
2017-08-12 03:46:42 +03:00
Nikolai Kochetov
b7f8ac1f2d
rewrote rewriting of SELECT query in StorageMerge with WITH statement
2017-08-12 00:01:28 +03:00
Nikolai Kochetov
ac87cb035f
added test to former WITH clause in SELECT query
2017-08-12 00:01:28 +03:00
Nikolai Kochetov
37b6c98752
added former WITH clause to SELECT query
2017-08-12 00:01:28 +03:00
alexey-milovidov
9b99dfb53d
Merge pull request #1031 from yandex/wait-for-insertion-in-distributed
...
Wait for insertion in distributed
2017-08-11 21:35:13 +03:00
Nikolai Kochetov
24b5a59f8c
merged with remote [#CLICKHOUSE-3033]
2017-08-11 18:38:46 +03:00
Nikolai Kochetov
90940d8423
Cluster and DistributedBlockOutputStream refactoring [#CLICKHOUSE-3033]
2017-08-11 18:02:07 +03:00
Alexey Milovidov
d7d6c4b962
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-11 02:26:51 +03:00
Alexey Milovidov
1e941a137e
Better exception message [#CLICKHOUSE-2].
2017-08-11 02:26:38 +03:00
Alexey Milovidov
ce4349b6cd
Fixed error when huge sets for IN, JOIN, DISTINCT cannot be created with exception message "Cannot mremap... Bad address" [#CLICKHOUSE-2].
2017-08-11 02:25:51 +03:00
Vitaliy Lyudvichenko
cd3a696d8b
Add requested changes. [#CLICKHOUSE-3207]
2017-08-10 23:09:05 +03:00
alexey-milovidov
1626637a89
Update zkutil_test_multi_exception.cpp
2017-08-10 23:09:05 +03:00
alexey-milovidov
e44614d017
Update ZooKeeper.cpp
2017-08-10 23:09:05 +03:00
alexey-milovidov
5d3bff4802
Update ZooKeeper.cpp
2017-08-10 23:09:05 +03:00
Vitaliy Lyudvichenko
23af9ddd5e
Fixed segfault: the future owns source ops. [#CLICKHOUSE-3207]
2017-08-10 23:09:05 +03:00
Vitaliy Lyudvichenko
351a0905d5
Implemented fast block and parts cleaning. [#CLICKHOUSE-3207]
2017-08-10 23:09:05 +03:00
Alexey Milovidov
e6739cc35d
Whitespace [#CLICKHOUSE-2].
2017-08-10 22:41:21 +03:00
proller
2344fe7dae
Cmake: fix tests includes ( #1090 )
...
Cmake: fix tests includes
2017-08-10 20:51:45 +03:00
alexey-milovidov
4398d71ef5
Update StorageDistributed.h
2017-08-10 07:37:35 +03:00
alexey-milovidov
0282d516a4
Update DistributedBlockOutputStream.cpp
2017-08-10 07:10:36 +03:00
alexey-milovidov
2717c94a36
Update DistributedBlockOutputStream.cpp
2017-08-10 07:05:16 +03:00
alexey-milovidov
0285f99c4e
Update DistributedBlockOutputStream.cpp
2017-08-10 06:54:02 +03:00
alexey-milovidov
57a9d22b0c
Update DistributedBlockOutputStream.cpp
2017-08-10 06:49:03 +03:00
alexey-milovidov
c665c4c4e5
Update DirectoryMonitor.h
2017-08-10 06:46:16 +03:00
alexey-milovidov
5773832979
Update DirectoryMonitor.cpp
2017-08-10 06:45:57 +03:00
alexey-milovidov
bf77c602de
Update Settings.h
2017-08-10 06:44:34 +03:00
alexey-milovidov
a122cd613a
Update FunctionsExternalDictionaries.h
2017-08-10 06:29:06 +03:00
alexey-milovidov
b01f0c6d13
Update CacheDictionary.cpp
2017-08-10 06:29:06 +03:00
alexey-milovidov
0fbda791b5
Update iostream_debug_helpers.h
2017-08-10 06:29:06 +03:00
proller
4cda5b4470
Fix result
2017-08-10 06:29:06 +03:00
proller
6ca798a357
Fix infinite loop in dictGetHierarchy if id chain looped
2017-08-10 06:29:06 +03:00
proller
7937903d56
Improve debug helpers
2017-08-10 06:29:06 +03:00
proller
139d9e5c19
Config: Allow multiple dictionaries_config
2017-08-10 06:17:19 +03:00
Vadim Skipin
e6344f9048
Extract handlers to allow reuse
2017-08-10 06:13:15 +03:00
Vadim Skipin
f1e88e074c
Introduce IServer to host handlers
2017-08-10 06:13:15 +03:00
proller
2ea63defa5
Fix test/string_pool include ( #1086 )
...
* Fix sparcehash include
* Fix re2_st include
* Fix test/string_pool include
2017-08-10 03:28:29 +03:00
Alexey Milovidov
46b5c9ce03
Miscellaneous [#CLICKHOUSE-2].
2017-08-10 02:57:54 +03:00
proller
c351b367fb
Fix sparcehash include ( #1084 )
...
* Fix sparcehash include
* Fix re2_st include
2017-08-10 02:11:28 +03:00
Alexey Milovidov
e86d0b4a74
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-10 00:07:10 +03:00
Alexey Milovidov
56a5bb53fa
Miscellaneous [#CLICKHOUSE-2].
2017-08-10 00:07:01 +03:00
Vitaliy Lyudvichenko
27174d9dd2
Avoid many checks of sending parts if sendings fail due to network error. [#CLICKHOUSE-2]
2017-08-09 23:57:42 +03:00
proller
ac178bde1f
Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM ( #1083 )
...
* Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM
* Fix lib find order
* Allow define non-contrib cityhash farmhash metrohash
* Fix message
* Cmake: fixes
* clean
* Update CMakeLists.txt
2017-08-09 23:52:55 +03:00
Alexey Milovidov
1daf11153a
Fixed typo [#CLICKHOUSE-2].
2017-08-09 18:34:30 +03:00
robot-metrika-test
6a4460c69f
Auto version update to [54269]
2017-08-09 16:36:38 +03:00
Alexey Milovidov
4f633f316c
Removed TODO [#CLICKHOUSE-2].
2017-08-09 04:38:56 +03:00
Alexey Milovidov
6edb14ba6b
Fixed garbage [#CLICKHOUSE-2].
2017-08-09 04:35:12 +03:00
Alexey Milovidov
1fc8548018
Fixing garbage (incomplete) [#CLICKHOUSE-2].
2017-08-09 04:35:12 +03:00
Alexey Milovidov
9bbcfbd35c
Fixed error [#CLICKHOUSE-2].
2017-08-09 04:35:12 +03:00
Alexey Milovidov
b0b7f1b161
Miscellaneous [#CLICKHOUSE-2].
2017-08-08 23:58:18 +03:00
Nikolai Kochetov
43dc201f49
merged with master
2017-08-08 15:11:49 +03:00
robot-metrika-test
4c0a0d07e9
Auto version update to [54268]
2017-08-08 14:50:37 +03:00
Vitaliy Lyudvichenko
00ce8c9603
Add ctime caching in MergeTree's cleaner. [#CLICKHOUSE-3173]
2017-08-08 03:28:43 +03:00
Alexey Milovidov
864cae7107
Fixed test [#CLICKHOUSE-3].
2017-08-08 03:25:05 +03:00
Marek Vavruša
65a90288dc
PKCondition: added tests for subexpr inference ( #951 )
2017-08-08 03:19:39 +03:00
Alexey Milovidov
692b923b0c
Use in SELECT even shards with zero weight [#CLICKHOUSE-3204].
2017-08-08 03:06:21 +03:00
Nikolai Kochetov
ea2b486735
added threadpool to DistributedBlockOutputStream
2017-08-07 23:26:28 +03:00
Alexey Milovidov
8fb22b1dcb
Added failing test [#CLICKHOUSE-2].
2017-08-07 11:05:03 +03:00
Alexey Milovidov
46be81bc88
Fixed error [#CLICKHOUSE-2].
2017-08-07 11:03:23 +03:00
Alexey Milovidov
45ea2fba47
Unification of data types, that is serialized with multiple streams [#CLICKHOUSE-2838].
2017-08-07 10:44:27 +03:00
Alexey Milovidov
fb2aff4704
Unification of data types, that is serialized with multiple streams [#CLICKHOUSE-2838].
2017-08-07 10:31:16 +03:00
Alexey Milovidov
ff54c93a22
Miscellaneous [#CLICKHOUSE-2].
2017-08-07 04:37:52 +03:00
Alexey Milovidov
f386788278
Using GatherUtils for function if on arguments of type Array(String) [#CLICKHOUSE-2].
2017-08-05 07:13:23 +03:00
Alexey Milovidov
c2a32990bb
Added test [#CLICKHOUSE-2].
2017-08-05 07:13:23 +03:00
Alexey Milovidov
d70f59e9bb
Added performance test [#CLICKHOUSE-2].
2017-08-05 07:13:23 +03:00
Alexey Milovidov
5ddc354989
Using GatherUtils for function if on arguments of type Array(String) [#CLICKHOUSE-2].
2017-08-05 07:13:23 +03:00
Alexey Milovidov
8536fb96f7
Fixed error message in case of syntax error [#CLICKHOUSE-2].
2017-08-05 06:31:52 +03:00
Alexey Milovidov
24d8f0aedf
Added performance test [#CLICKHOUSE-2].
2017-08-05 06:30:54 +03:00
Alexey Milovidov
19ff0db9f1
Using GatherUtils for if on numeric arrays [#CLICKHOUSE-2].
2017-08-05 06:30:54 +03:00
Alexey Milovidov
6648d6dee4
Using GatherUtils for if on numeric arrays [#CLICKHOUSE-2].
2017-08-05 06:30:54 +03:00
Alexey Milovidov
8d7214e554
Added performance test [#CLICKHOUSE-3202].
2017-08-05 05:29:38 +03:00
Alexey Milovidov
57b2dbfa93
Added test [#CLICKHOUSE-3202].
2017-08-05 05:24:13 +03:00
Alexey Milovidov
11da533de1
Fixed function if of FixedString arguments [#CLICKHOUSE-3202].
2017-08-05 05:13:38 +03:00
Alexey Milovidov
39392a2961
Fixed function if of FixedString arguments [#CLICKHOUSE-3202].
2017-08-05 05:03:49 +03:00
Alexey Milovidov
46486a5cba
Fixed function if of FixedString arguments [#CLICKHOUSE-3202].
2017-08-05 04:54:38 +03:00
Alexey Milovidov
0c0c8da4f8
Fixed function if of FixedString arguments [#CLICKHOUSE-3202].
2017-08-05 04:43:29 +03:00
Alexey Milovidov
aecafc0931
Fixed function if of FixedString arguments [#CLICKHOUSE-3202].
2017-08-05 02:18:51 +03:00
Vitaliy Lyudvichenko
10c14cfccb
Small code enhancements according to clang-tidy. [#CLICKHOUSE-2931]
2017-08-04 17:35:36 +03:00
Nikolai Kochetov
63ec81e2e3
added threadpool for sync insertion into distributed
2017-08-03 20:42:31 +03:00
Nikolai Kochetov
83cd2a40e4
added test
2017-08-03 15:58:04 +03:00
Nikolai Kochetov
0c15b2c6fc
fixed number of rows to read from first granula in mergetree
2017-08-03 15:58:04 +03:00
proller
d6833a0d55
Cmake: remove global include_directories ( #1055 )
...
* Fix .h compile
* Cmake: remove global include_directories
* boost include hide
* fix cctz
* add \n
2017-08-03 15:44:39 +03:00
Vitaliy Lyudvichenko
003d2a9478
Add comprehensive exception message for ZooKeeper::multi(). [#CLICKHOUSE-2]
2017-08-03 15:42:23 +03:00
robot-metrika-test
afc4b1bef2
Auto version update to [54267]
2017-08-02 17:13:14 +03:00
alexey-milovidov
ae8783aee3
Merge pull request #1045 from prog8/nocompression
...
Added compression NONE
2017-08-01 23:07:52 +03:00
alexey-milovidov
2ae6f1ebdb
Update MergeTreeDataWriter.cpp
2017-08-01 23:07:16 +03:00
Alexey Milovidov
30cb7da23b
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-01 20:26:57 +03:00
Alexey Milovidov
35ff7ab9f2
Added test [#METR-25976].
2017-08-01 20:26:36 +03:00
robot-metrika-test
b591304265
Auto version update to [54266]
2017-08-01 20:14:45 +03:00
Alexey Milovidov
1d7a91a544
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-01 20:02:51 +03:00
Alexey Milovidov
fd9b8c6fbe
Fixed error [#METR-25976].
2017-08-01 20:02:41 +03:00
proller
8f6c2d4e47
Fix .h compile
2017-08-01 18:02:16 +03:00
Pawel Rog
d6a2056851
Applied changes requested by Alexey
2017-08-01 16:48:24 +02:00
Alexey Milovidov
34ac4fa3b8
Added metric with revision number for better monitoring of deployment [#CLICKHOUSE-2].
2017-08-01 17:34:06 +03:00
Alexey Milovidov
fd5ac57b8e
Addition to prev. revision [#CLICKHOUSE-2].
2017-08-01 17:33:38 +03:00
proller
db984d92a8
Fix crash on start
2017-08-01 16:36:07 +03:00
Pawel Rog
9f799820d9
Applied changes requested by Alexey
2017-08-01 10:12:15 +02:00
Alexey Milovidov
9a546b5414
Fixed build with gcc 6 [#CLICKHOUSE-2].
2017-08-01 04:58:18 +03:00
Alexey Milovidov
a6cb383c4f
Fixed build with gcc-7.1 [#CLICKHOUSE-2].
2017-08-01 04:25:03 +03:00
Alexey Milovidov
844990db27
Fixed build with gcc-7.1 [#CLICKHOUSE-2].
2017-08-01 00:50:21 +03:00
Alexey Milovidov
f8a761fbd9
Fixed error [#CLICKHOUSE-3191].
2017-08-01 00:44:57 +03:00
Alexey Milovidov
6578fb2645
Fixed error [#CLICKHOUSE-3191].
2017-08-01 00:39:24 +03:00
alexey-milovidov
d174ebc5c9
Update MergeTreeDataWriter.cpp
2017-07-31 20:44:58 +03:00
alexey-milovidov
4877aa394c
Update MergeTreeData.cpp
2017-07-31 20:44:41 +03:00
alexey-milovidov
fdb7e080be
Update CompressedWriteBuffer.cpp
2017-07-31 20:43:33 +03:00
alexey-milovidov
50244880cc
Update CompressedReadBufferBase.cpp
2017-07-31 20:42:23 +03:00
alexey-milovidov
3d2ec763ed
Update CompressedReadBufferBase.cpp
2017-07-31 20:40:56 +03:00
Pawel Rog
3a6c444996
Merge branch 'master' into nocompression
2017-07-31 13:36:58 +02:00
Pawel Rog
e1ab721d3d
Use compression method from configs
2017-07-31 13:12:28 +02:00
Pawel Rog
a0cc54457e
Added compression NONE
2017-07-31 12:44:45 +02:00
robot-metrika-test
0e6ab4d8ca
Auto version update to [54265]
2017-07-31 03:51:31 +03:00
Alexey Milovidov
b12ee66520
Merge branch 'master' of github.com:yandex/ClickHouse
2017-07-31 03:50:17 +03:00
Alexey Milovidov
4e76c96381
Temporarily disabled "preferred_max_column_in_block_size_bytes" option [#CLICKHOUSE-3188].
2017-07-31 03:50:06 +03:00
robot-metrika-test
44652bc41a
Auto version update to [54264]
2017-07-30 23:31:37 +03:00
Alexey Milovidov
306070d2cc
Fixed error in one of prev. revisions [#CLICKHOUSE-3150].
2017-07-30 22:47:32 +03:00
proller
460d66c68d
Split FunctionsArray.cpp register ( #1043 )
...
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
* gcc7 fixes
* clnag-format of Split ComplexKeyCacheDictionary
* Requested changes
* Fix boost 1.64 and gcc7+ compile errors
* More fixes
* Fix arm build
* Fix nothrow
* Better arm detection
* Split FunctionsArray.cpp register
2017-07-30 15:31:58 +03:00
Nikolai Kochetov
78991b25ee
fixed preferred_max_column_in_block_size_bytes disabling
2017-07-30 01:24:57 +03:00
robot-metrika-test
be9a48420e
Auto version update to [54263]
2017-07-29 23:25:01 +03:00
proller
465d305479
gcc7 and arm fixes ( #1041 )
...
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
* gcc7 fixes
* clnag-format of Split ComplexKeyCacheDictionary
* Requested changes
* Fix boost 1.64 and gcc7+ compile errors
* More fixes
* Fix arm build
* Fix nothrow
* Better arm detection
2017-07-29 22:58:10 +03:00
Alexey Milovidov
8fb452e99a
Fixed wrong log message when removing temporary part after merge, that is not byte-identical than same part on replicas; added profile event; added fail-safe logic [#MTRSADMIN-3175].
2017-07-29 00:25:24 +03:00
proller
700d4e0904
Fix boost 1.64 and gcc7+ compile errors ( #1040 )
...
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
* clnag-format of Split ComplexKeyCacheDictionary
* Requested changes
* Fix boost 1.64 and gcc7+ compile errors
* More fixes
2017-07-28 23:41:51 +03:00
alexey-milovidov
6917eb3153
Update MergeTreeBaseBlockInputStream.cpp
2017-07-28 22:29:40 +03:00
Nikolai Kochetov
da9b515e22
added tests
2017-07-28 22:29:40 +03:00
Nikolai Kochetov
b714d2b514
fixed column size calculation for Array column in MergeTreeReader::readRows
2017-07-28 22:29:40 +03:00
Nikolai Kochetov
d9f4f9b0f9
changed skipping rows for Array columns in MergeTreeBaseBlockInputStream
2017-07-28 22:29:40 +03:00
Alexey Milovidov
4c89570988
Don't limit the size of internal queries (this is for cache dictionaries with ClickHouse source) [#CLICKHOUSE-2].
2017-07-28 21:43:40 +03:00
Alexey Milovidov
dd1f54bce2
Changed Poco::RWLock to std::shared_lock [#APRILDEV-91].
2017-07-28 20:34:02 +03:00
Alexey Milovidov
3502d36d7d
Fixed build [#CLICKHOUSE-2].
2017-07-28 02:23:13 +03:00
Alexey Milovidov
e4af70149f
Fixed build [#CLICKHOUSE-2].
2017-07-28 00:27:10 +03:00
Alexey Milovidov
8523d3fc8f
Testing mysqlxx::PoolWithFailover [#CLICKHOUSE-3167]
2017-07-28 00:11:57 +03:00
Alexey Milovidov
acf9c2fbd5
Miscellaneous [#CLICKHOUSE-2].
2017-07-28 00:05:33 +03:00
proller
9eb6e5b19c
clang-format of Split ComplexKeyCacheDictionary ( #1035 )
...
* clnag-format of Split ComplexKeyCacheDictionary
* Requested changes
2017-07-27 23:39:40 +03:00
Alexey Milovidov
2c815356c1
Fixed regression in parsing of CAST [#CLICKHOUSE-3180].
2017-07-27 22:25:52 +03:00
proller
3dbde50daa
Split ComplexKeyCacheDictionary to use less then 1.5G ram when compile ( #1034 )
...
* Split FunctionsArithmetic.cpp to generated functions
* Use ccache if found
* Do not use ccache if ccache defined in CMAKE_CXX_COMPILER_LAUNCHER
* check_include.sh: print memory usage
* Try split CacheDictionary source
* Split ok
* wip
* wip
* wip
* wip
* wip
* wip
2017-07-27 22:05:55 +03:00
Nikolai Kochetov
c88e8a79cc
merged with master
2017-07-27 18:43:46 +03:00
Nikolai Kochetov
2f8f199d08
separated connection pool creation from StorageDistributedDirectoryMonitor in StorageDistributed; fixed bugs from review [#CLICKHOUSE-3033]
2017-07-27 18:24:39 +03:00
Vitaliy Lyudvichenko
515271544d
Add detail comment. [#CLICKHOUSE-3173]
2017-07-27 11:19:20 +03:00
Vitaliy Lyudvichenko
445608afec
Fix an iterator pointing after std::end(). [#CLICKHOUSE-3173]
2017-07-27 11:19:20 +03:00
alexey-milovidov
73c2a1483d
Update ReplicatedMergeTreeCleanupThread.cpp
2017-07-27 11:19:20 +03:00
alexey-milovidov
dcd7354fb2
Update ReplicatedMergeTreeCleanupThread.cpp
2017-07-27 11:19:20 +03:00
alexey-milovidov
d6750880e0
Update ReplicatedMergeTreeCleanupThread.cpp
2017-07-27 11:19:20 +03:00
Vitaliy Lyudvichenko
da9cdfc2f2
Fix integration tests. [#CLICKHOUSE-3173]
2017-07-27 11:19:20 +03:00
Vitaliy Lyudvichenko
bf1949fc11
Add test. [#CLICKHOUSE-3173]
2017-07-27 11:19:20 +03:00
Vitaliy Lyudvichenko
cd5bb4d921
Add replicated_deduplication_window_seconds merge_tree parameter. [#CLICKHOUSE-3173]
2017-07-27 11:19:20 +03:00
Vitaliy Lyudvichenko
dcc4d3bff0
Avoid zxid overflow problem when cleaning old blocks used in the deduplication. [#CLICKHOUSE-3173]
2017-07-27 11:19:20 +03:00
robot-metrika-test
88f29129de
Auto version update to [54262]
2017-07-26 22:44:29 +03:00
proller
ff7f3af238
Split FunctionsArithmetic.cpp to generated functions
2017-07-26 21:32:35 +03:00
Nikolai Kochetov
63cdf84fe3
added test 00481_reading_from_last_granula
2017-07-26 20:03:09 +03:00
Nikolai Kochetov
01a004050d
fixed MergeTreeBlockSizePredictor updating from empy block while reading
2017-07-26 20:03:09 +03:00
Nikolai Kochetov
19d3c36871
added tests for synchronous insert into distributed table [#CLICKHOUSE-3033]
2017-07-26 17:41:21 +03:00
Alexey Milovidov
7744b24658
Merge branch 'master' of github.com:yandex/ClickHouse
2017-07-26 08:57:31 +03:00
Alexey Milovidov
cd4fef7767
Miscellaneous [#CLICKHOUSE-2].
2017-07-26 08:55:59 +03:00
robot-metrika-test
9e7be70e03
Auto version update to [54261]
2017-07-26 04:25:28 +03:00
Alexey Milovidov
3dcb2e6aed
Fixed test [#CLICKHOUSE-2].
2017-07-26 04:21:19 +03:00
Alexey Milovidov
de1f4f4c5b
Merge branch 'master' of github.com:yandex/ClickHouse
2017-07-26 00:07:13 +03:00
Alexey Milovidov
d57f5b81a4
Removed MaterializedView inheritance of View, as they are not related. Fixed error with Views [#CLICKHOUSE-3175].
2017-07-26 00:07:05 +03:00
Alexey Zatelepin
64fa3ebc58
correctly choose number of merge threads for external aggregation [#CLICKHOUSE-2]
2017-07-25 22:43:23 +03:00
Nikolai Kochetov
b3157aebb2
added synchronous insert into distributed table [#CLICKHOUSE-3033]
2017-07-25 22:42:36 +03:00
Alexey Zatelepin
2aaa847e10
add forgotten files [#CLICKHOUSE-3126]
2017-07-25 19:36:14 +00:00
Alexey Milovidov
ec676baee7
Fixed error after merge [#CLICKHOUSE-2].
2017-07-25 22:07:07 +03:00
Alexey Milovidov
6851a7754a
Fixed linkage [#CLICKHOUSE-2].
2017-07-25 21:32:52 +03:00
Alexey Milovidov
b52d2eab51
Fixed linkage [#CLICKHOUSE-2].
2017-07-25 21:20:50 +03:00
Alexey Milovidov
d20c411b0d
Fixed linkage [#CLICKHOUSE-2].
2017-07-25 21:19:22 +03:00
Alexey Zatelepin
2230bef68a
reset resulting bucket_num if source blocks are from different buckets [#CLICKHOUSE-3133]
2017-07-25 20:56:09 +03:00
alexey-milovidov
b831d88162
Update ArenaAllocator.h
2017-07-25 20:06:24 +03:00
Vitaliy Lyudvichenko
870b1aefcb
Get rid of of PODArray copypaste. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Vitaliy Lyudvichenko
ae3b1d8d3a
Fix clang compilation. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Vitaliy Lyudvichenko
1c574af576
Add more tests. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Vitaliy Lyudvichenko
fefb4dad67
Get rid of old groupArray() implementations. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Vitaliy Lyudvichenko
792faaa2db
Add adaptive allocator. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Vitaliy Lyudvichenko
03e5bf9471
Add support of parameters in aggregate function constructors. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Vitaliy Lyudvichenko
c3a15da3f8
Add support of limit parameter into groupArray. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Vitaliy Lyudvichenko
c2cc8d6147
Add several groupArray implementations. [#CLICKHOUSE-3084]
2017-07-25 20:04:10 +03:00
Guillaume Tassery
03bbe9938a
Function for generate an uuid v4 ( #1008 )
...
* Fix compilation error when include FunctionsRandom.h twice
* Implement function for generate UUID V4
* remove isDeterministicInScopeOfQuery for generateUUIDV4
* Uniformize RandX Implementation
* rename generateUUIDV4 into generateUUIDv4
* Modify random function for making it more generic
2017-07-25 20:00:38 +03:00
Alexey Zatelepin
cdd211eae0
add test [#CLICKHOUSE-3133]
2017-07-25 19:56:48 +03:00
Alexey Zatelepin
18672204e5
fix handling of overflow data during external aggregation [#CLICKHOUSE-3133]
2017-07-25 19:56:48 +03:00
Alexey Zatelepin
cd5dc7ca29
fix segfault when handling overflow blocks in MergingAggregatedMemoryEfficientBlockInputStream [#CLICKHOUSE-3133]
2017-07-25 19:56:48 +03:00
Alexey Milovidov
f153d5f5db
Additions to prev. revision [#CLICKHOUSE-2].
2017-07-25 01:53:44 +03:00
Alexey Milovidov
b4c610a8e7
Fixed errors [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
188ee349bd
Fixed errors [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
a6df2e7151
Added support for non-constant and negative offset and size for substring function (continued) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
487278e2f5
Added support for non-constant and negative offset and size for substring function (continued) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
3144cbc9c1
Added support for non-constant and negative offset and size for substring function (continued) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
94768fe9bf
Added support for non-constant and negative offset and size for substring function (continued) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
52b5bae62f
Added support for non-constant and negative offset and size for substring function (continued) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
30ff4a78a6
Added support for non-constant and negative offset and size for substring function (continued) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
14de659c99
Added support for non-constant offset and size for substring function [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
4a4e863f9d
Fixed warning on clang 6 [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
0c8e082954
Using GatherUtils (experimental) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
366ad1595e
Fixed warning on clang 6 [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
1557fa2e8d
Removed "dispatchFor" templates, because gcc 6 cannot compile them (only clang is capable) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
ffbd2f46f9
GatherUtils (experimental) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
9540a2da90
GatherUtils (experimental) [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
bfdc108a08
Cleaning old code [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
Alexey Milovidov
ee81d53bd5
Functions simplification [#CLICKHOUSE-2].
2017-07-25 01:44:13 +03:00
alexey-milovidov
bbe70e8cfa
Update FunctionsStringSearch.cpp
2017-07-24 20:36:16 +03:00
alexey-milovidov
d3159ed2c5
Merge pull request #1015 from yandex/fix-performance-after-changing-reading
...
Fix performance after changing reading
2017-07-24 18:07:57 +03:00
Nikolai Kochetov
fcd50e3629
fixed comment
2017-07-24 18:06:32 +03:00
proller
eba5ad73ec
clean
2017-07-24 18:04:49 +03:00
proller
57b9bcd354
Fix missing includes
2017-07-24 18:04:49 +03:00
Vitaliy Lyudvichenko
bc9ee54985
Don't throw exception in case of clearing empty part. [#CLICKHOUSE-2896]
2017-07-24 18:04:17 +03:00
Nikolai Kochetov
b55dcc9f93
cnanged comments; fixed 00443_preferred_block_size_bytes test
2017-07-24 16:59:03 +03:00
Alexey Milovidov
efaa44bea8
Attempt to improve performance [#CLICKHOUSE-3].
2017-07-23 09:53:28 +03:00
Alexey Milovidov
0c4de54fa4
More performance test [#CLICKHOUSE-3].
2017-07-23 09:51:03 +03:00
Alexey Milovidov
f5a92f26e1
Added performance test for MAC-related functions [#CLICKHOUSE-3].
2017-07-23 09:24:20 +03:00
Alexey Milovidov
a76061e1a9
Fixed MAC address related functions; added test [#CLICKHOUSE-3].
2017-07-23 09:13:57 +03:00
Alexey Milovidov
1e8547b3f6
Fixed regression [#CLICKHOUSE-3148].
2017-07-21 23:59:01 +03:00
Alexey Milovidov
31d8ba3b34
Fixed error after merge [#CLICKHOUSE-3150].
2017-07-21 23:20:22 +03:00
Nikolai Kochetov
10bbededb0
merged with master
2017-07-21 21:10:14 +03:00
Nikolai Kochetov
bc0921a64e
added comments
2017-07-21 21:02:02 +03:00
alexey-milovidov
6d47981e86
Update Collator.cpp
2017-07-21 20:59:39 +03:00
Vladimir Kolobaev
1b8a062e7b
Issue #1000 - Returned some remote code in Collator.app
2017-07-21 20:59:39 +03:00
Vladimir Kolobaev
e85cd44e48
Issue #1000 - remove 'diagnostic ignored -Wunused-private-field' in Collator.app
2017-07-21 20:59:39 +03:00
Alexey Zatelepin
c939d2f96e
put Distributed inserts with different block structure into different batches [#CLICKHOUSE-3163]
2017-07-21 20:55:38 +03:00
Alexey Zatelepin
6567465d41
add failing test [#CLICKHOUSE-3163]
2017-07-21 20:55:38 +03:00
Nikolai Kochetov
ca1957ab82
ignore preferred_max_column_in_block_size_bytes if zero [#CLICKHOUSE-3170]
2017-07-21 20:54:09 +03:00
Nikolai Kochetov
cc349b410e
set min block size as index granularity for max_block_size limit during reading [#CLICKHOUSE-3170]
2017-07-21 20:54:09 +03:00
Nikolai Kochetov
5477e7c1f9
added date and time to number functions [#CLICKHOUSE-3132]
2017-07-21 20:51:08 +03:00
Nikolai Kochetov
c64b65ee29
ignore preferred_max_column_in_block_size_bytes if zero [#CLICKHOUSE-3170]
2017-07-21 20:45:51 +03:00
Nikolai Kochetov
755d16b22d
set min block size as index granularity for max_block_size limit during reading [#CLICKHOUSE-3170]
2017-07-21 14:55:33 +03:00
Alexey Milovidov
3a0bf8e642
Fixed error after merge [#CLICKHOUSE-3150].
2017-07-21 09:55:33 +03:00
Alexey Milovidov
e1cc8289b2
Fixed error after merge [#CLICKHOUSE-3150].
2017-07-21 09:46:50 +03:00
Alexey Milovidov
c7b1e92522
Fixed error after merge [#CLICKHOUSE-3150].
2017-07-21 09:40:05 +03:00
alexey-milovidov
d4d266fa18
ColumnConst unification ( #1011 )
...
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* Fixed error in ColumnArray::replicateGeneric [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
* ColumnConst: unification (incomplete) [#CLICKHOUSE-3150].
2017-07-21 09:35:58 +03:00
alexey-milovidov
1a1112d8bb
Update MergeTreeBlockReadUtils.h
2017-07-20 23:45:23 +03:00
Nikolai Kochetov
0b7439469d
fixed MergeTreeBlockSizePredictor initialization for sample block
2017-07-20 23:45:23 +03:00
Nikolai Kochetov
00ae32c946
renamed approximate_number_of_rows_in_part to number_of_rows_in_part
2017-07-20 23:45:23 +03:00
Nikolai Kochetov
e612152584
changed initialization in MergeTreeBlockSizePredictor
2017-07-20 23:45:23 +03:00
robot-metrika-test
109a2cf705
Auto version update to [54260]
2017-07-20 19:02:35 +03:00
robot-metrika-test
0afd7e25f8
Auto version update to [54259]
2017-07-20 18:20:13 +03:00
Vladimir Chebotarev
7254478fde
functions: Remote mode for hasColumnInTable. [#CHEBOTAREV-9]
2017-07-20 17:08:42 +03:00
robot-metrika-test
f6b037141b
Auto version update to [54255]
2017-07-19 21:44:57 +03:00
Nikolai Kochetov
2afd84c40c
fixed is_reading_finished status assignment in MergeTreeRangeReader [#CLICKHOUSE-3161]
2017-07-19 19:39:18 +03:00
Guillaume Tassery
57b4066da8
Improve performance for deserialization/serialization of UUID type
2017-07-19 19:26:37 +03:00
proller
3f9cdfe464
PerformanceTest: Add memory and threads info ( #1004 )
...
* Cmake: clear test variables with CMakePushCheckState (it will fix macos build issue)
* Add some perf tests
* Fix PerformanceTest, fix tests
* Add nyc-taxi queries
* Update PerformanceTest.cpp
* PerformanceTest: allow recursive .xml search
* Tests tune
* Move tests to dirs
* --recursive
* Add space
* PerformanceTest: Add memory and threads info
2017-07-19 18:18:47 +03:00
Nikolai Kochetov
b5e94ede62
fixed is_reading_finished status assignment in MergeTreeRangeReader [#CLICKHOUSE-3161]
2017-07-19 16:44:46 +03:00
Alexey Milovidov
6e6e9f9d38
Removed useless variable [#CLICKHOUSE-3161].
2017-07-19 04:05:39 +03:00
robot-metrika-test
6682717c54
Auto version update to [54253]
2017-07-18 23:48:08 +03:00
proller
ae626281b6
PerformanceTest: add --recursive option. add more threaded/not threaded tests ( #997 )
...
* Cmake: clear test variables with CMakePushCheckState (it will fix macos build issue)
* Add some perf tests
* Fix PerformanceTest, fix tests
* Add nyc-taxi queries
* Update PerformanceTest.cpp
* PerformanceTest: allow recursive .xml search
* Tests tune
* Move tests to dirs
* --recursive
* Add space
2017-07-18 23:41:24 +03:00
Alexey Zatelepin
4866a37a2b
fix selecting max_threads for MergingAggregatedBlockInputStream [#CLICKHOUSE-3156]
2017-07-18 23:40:23 +03:00
alexey-milovidov
25288ac4d5
Update PerformanceTest.cpp
2017-07-18 19:35:01 +03:00
proller
90a8beb3d9
Add nyc-taxi queries
2017-07-18 19:35:01 +03:00
proller
cd54ff0f82
Fix PerformanceTest, fix tests
2017-07-18 19:35:01 +03:00
proller
bab4b3b042
Add some perf tests
2017-07-18 19:35:01 +03:00
robot-metrika-test
3d184f4cf7
Auto version update to [54252]
2017-07-18 13:33:32 +03:00
Nikolai Kochetov
7e293df9af
merged with master
2017-07-17 22:48:22 +03:00
Nikolai Kochetov
3bf21077c2
added merging tests for Replacing engine
2017-07-17 22:45:16 +03:00
Nikolai Kochetov
39cb5e0e3e
fixed ColumnGathererStream finish reading condition
2017-07-17 22:43:09 +03:00
Nikolai Kochetov
eae94edd6b
fixed vertical merge for ReplacingSortedBlockInputStream [#CLICKHOUSE-3131]
2017-07-17 22:40:30 +03:00
Alexey Milovidov
295459e89e
Miscellaneous [#CLICKHOUSE-2].
2017-07-17 01:55:40 +03:00
Alexey Milovidov
bfc099ea5f
Miscellaneous [#CLICKHOUSE-2].
2017-07-17 01:41:15 +03:00
Alexey Milovidov
930c373309
Added synonims for few data types for compatibility with Tableau [#CLICKHOUSE-3141].
2017-07-16 08:09:47 +03:00
Alexey Milovidov
8681c3f405
Added test [#CLICKHOUSE-3149].
2017-07-16 07:14:51 +03:00
Alexey Milovidov
5f98f4b862
Addition to prev. revision [#CLICKHOUSE-3149].
2017-07-16 07:11:11 +03:00
Alexey Milovidov
5c3ca0c16e
Inverted dependency in DataTypeFactory [#CLICKHOUSE-3149].
2017-07-16 07:11:11 +03:00
Alexey Milovidov
55f69684c1
Fixed test [#CLICKHOUSE-2].
2017-07-15 23:03:00 +03:00
Alexey Milovidov
17786c0e6d
Added missing file [#CLICKHOUSE-3148].
2017-07-15 07:06:51 +03:00
Alexey Milovidov
9406b6a5aa
Get rid of ASTSet, because it is not really an AST and it lead to bugs [#CLICKHOUSE-3148].
2017-07-15 06:48:36 +03:00
Alexey Milovidov
200a1e27e3
Merge branch 'master' into get-rid-of-ast-set
2017-07-15 03:23:20 +03:00
Vitaliy Lyudvichenko
c6eb11aad5
Use more suitable method hasRealColumn. [#CLICKHOUSE-2896]
2017-07-15 03:21:19 +03:00
Vitaliy Lyudvichenko
9ce4ff4c5b
Add check for unexisting column in CLEAR COLUMN. [#CLICKHOUSE-2896]
2017-07-15 03:21:19 +03:00
Alexey Zatelepin
b10e9d1f18
Vertical merge fix: don't forget to output last source_to_fully_copy [#CLICKHOUSE-3118]
2017-07-14 22:06:40 +03:00
Nikolai Kochetov
a13423e552
added vertical merge for ReplacingSortedBlockInputStream
2017-07-14 21:17:23 +03:00
Vasily Okunev
13c8fe2400
Fix patition test.
2017-07-14 07:49:31 +03:00
Alexey Milovidov
d61ad166e9
Added test for one of previous modifications [#CLICKHOUSE-2].
2017-07-14 04:04:35 +03:00
Alexey Milovidov
9bb902c3ef
Allow to use database.table in right hand side of IN, JOIN [#CLICKHOUSE-3144].
2017-07-14 04:00:29 +03:00
Alexey Milovidov
4a5fb9eb7b
Miscellaneous [#CLICKHOUSE-2].
2017-07-14 03:34:00 +03:00
Alexey Milovidov
1a0f5dd7cf
Getting rid of ASTSet (incomplete) [#CLICKHOUSE-2]
2017-07-14 03:33:37 +03:00
alexey-milovidov
37985d3cb8
Merge pull request #981 from yandex/reduce-memory-consumprion-during-reading-column-string-from-native-block
...
Reduce memory consumprion during reading column string from native block
2017-07-14 00:01:50 +03:00
Nikolai Kochetov
283810e8ab
merged with master
2017-07-13 23:59:34 +03:00
Nikolai Kochetov
75be0b81d8
removed typeid_cast from IColumn.h
2017-07-13 23:58:19 +03:00
Maxim Fridental
82b53b712a
findClusterIndex: fix virtual method, improve formatting
2017-07-13 22:39:37 +03:00
Maxim Fridental
ff4df27cad
Improve implementation of findClusterIndex and findClusterValue, add test
2017-07-13 22:39:37 +03:00
Nikolai Kochetov
210f14aaba
renamed IDataType::updateAvgValueSizeHints to IDataType::updateAvgValueSizeHint
2017-07-13 21:54:17 +03:00
Nikolai Kochetov
f3f217b40a
fixed tests
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
546012079c
fixed reading with zero max block size setting
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
e2d032b883
fixed reading with zero max block size setting
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
8ea812e669
better comment for MergeTreeRangeReader
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
f232afd2f8
round number of rows to nearest mark in MergeTreeBaseBlockInputStream
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
f1775af3f0
deleted commented code
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
30ed774bf7
refactoring and more comments in MergeTreeBaseBlockInputStream [#CLICKHOUSE-3065]
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
89386394aa
refactoring and more comments in MergeTreeBaseBlockInputStream [#CLICKHOUSE-3065]
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
8c65d6013e
added preferred_max_column_in_block_size_bytes setting, added filtration ratio prediction [#CLICKHOUSE-3065]
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
4470afc9a9
added estimateNumRowsMax to MergeTreeBlockSizePredictor based on max column size
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
6b29b3bd47
round number of rows to next mark in MergeTreeBaseBlockInputStream
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
d14f64af7b
delected commented logging code
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
586dff9126
delay reading for granulas if prewhere column is false during partial granula reading
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
86680f5513
fixed partial granula reading for const columns in prewhere
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
609711b20c
partial part reading with prewhere
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
c6d5ef6d30
added MergeTreeRangeReader
2017-07-13 21:45:09 +03:00
Nikolai Kochetov
5d1f4355a1
fixed allocated size calculation for ColumnArray
2017-07-13 19:53:34 +03:00
Nikolai Kochetov
985e449bd3
added IDataType::updateAvgValueSizeHints; renamed PODArray::allocated_size to PODArray::allocated_bytes; renamed renamed IColumn::allocatedSize to IColumn::allocatedBytes; removed IColumn.h from IDataType.h
2017-07-13 19:49:09 +03:00
robot-metrika-test
b818a116ad
Auto version update to [54251]
2017-07-13 18:43:47 +03:00
Nikolai Kochetov
7c450aa5a5
added Block::allocatedSize()
2017-07-13 17:47:46 +03:00
Nikolai Kochetov
d67a6c08cd
fixed allocated size calculation for ColumnString and ColumnVector
2017-07-13 17:41:55 +03:00
Alexey Milovidov
8a8596c58f
Using lexer: additions [#CLICKHOUSE-2].
2017-07-13 09:10:56 +03:00
Alexey Milovidov
c4ea197232
Using lexer: fixed error [#CLICKHOUSE-2].
2017-07-13 09:05:38 +03:00
Alexey Milovidov
aa7ab3e23e
Using lexer: added missing file [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
00486d0de4
Using lexer: better error messages [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
cedf9b34c9
Using lexer: better error messages [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
3659f653fb
Using lexer: better error messages [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
6f4f95412f
Using lexer: better error messages [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
708b69abed
Using lexer: better error messages [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
47d9083c08
Using lexer: better error messages [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
96468884f3
Using lexer: better error messages [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
0614ba5684
Using lexer: better error messages [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
be1710ecef
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
d4974b0724
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
f6ff1f7e72
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
2e6ceeba1c
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
a8b6920eab
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
cd8d8bf972
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
57d2f5d0e6
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
4562785c2a
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
4255b81f3f
Using lexer (development) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
65955d50e7
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
bec6aac3bb
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
e4d410fe13
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
d5c9301776
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
02274ed511
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
1cd998a9bd
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
7068d1ff81
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
de75fa000b
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
2073fef375
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
83c8043193
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
1bab7fc344
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
d815b766fa
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
4b1eeee1a3
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
5b5795633e
Using lexer (incomplete) [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
ad598d5dfc
Added lexer [#CLICKHOUSE-2].
2017-07-13 08:59:01 +03:00
Alexey Milovidov
e8170fde2a
Fixed error in prev. revisions [#CLICKHOUSE-2].
2017-07-13 03:04:51 +03:00
Nikolai Kochetov
1cf669cc0a
made collectIdentifiersInFirstLevelOfSelectQuery static
2017-07-12 21:51:51 +03:00
Nikolai Kochetov
5ed5e8c75d
moved getRequestedColumns to StorageMerge::collectIdentifiersInFirstLevelOfSelectQuery
2017-07-12 21:51:51 +03:00
Nikolai Kochetov
7c705b1a24
added RemoveColumnsBlockInputStream
2017-07-12 21:51:51 +03:00
Nikolai Kochetov
5924b13f4c
fixed unnecessary columns removing for merge table on distibuted
2017-07-12 21:51:51 +03:00
Nikolai Kochetov
489af678d5
added avg_value_size_hint for NativeBlockInputStream [#CLICKHOUSE-3066]
2017-07-12 21:41:08 +03:00
Alexey Zatelepin
58d541b740
slightly more robust ReplicatedMergeTreePartCheckThread::TemporarilyStop [#CLICKHOUSE-3074]
2017-07-12 20:09:44 +03:00
Alexey Zatelepin
bdc529645e
fix cyclical yielding of leadership at startup [#CLICKHOUSE-3074]
2017-07-12 20:09:44 +03:00
Alexey Milovidov
1908b2b5a5
Fixed error in prev. revision [#CLICKHOUSE-2].
2017-07-12 19:51:39 +03:00
Alexey Zatelepin
5e61a56743
always initialize trie ptr (just in case) [#CLICKHOUSE-3087]
2017-07-12 16:35:05 +03:00
Alexey Zatelepin
4d4387f1c8
fix reloading of TrieDictionary [#CLICKHOUSE-3087]
2017-07-12 16:35:05 +03:00
Alexey Milovidov
bb38ec2c21
Fixed discrepancy in file names [#CLICKHOUSE-2].
2017-07-12 04:16:01 +03:00
Alexey Milovidov
1048fccf6b
Misc [#CLICKHOUSE-2].
2017-07-12 03:49:30 +03:00
Alexey Milovidov
24331a18f5
Removing dependency on functions from client: bug fixes [#CLICKHOUSE-2].
2017-07-12 03:42:50 +03:00
Alexey Milovidov
976e47e1af
Removing dependency on functions from client: preparation [#CLICKHOUSE-2].
2017-07-12 03:42:50 +03:00
Alexey Milovidov
8c1a6f5736
Removing dependency on functions from client: preparation [#CLICKHOUSE-2].
2017-07-12 03:42:50 +03:00
Alexey Milovidov
33c6e0b804
Removing dependency on functions from client: preparation [#CLICKHOUSE-2].
2017-07-12 03:42:50 +03:00
Alexey Milovidov
3e3af1cff4
Misc [#CLICKHOUSE-2].
2017-07-11 23:12:15 +03:00
Alexey Milovidov
1c909df8d5
Removed usage of user "readonly" from test [#CLICKHOUSE-2].
2017-07-11 22:58:05 +03:00
Alexey Milovidov
fb8d8ec768
Fixed error (tnx Vladimir Chebotarev) [#CLICKHOUSE-2].
2017-07-11 21:59:01 +03:00
Vitaliy Lyudvichenko
b843ea5b3f
Resolves #964 . Fixed input_format_skip_unknown_fields for negative numbers. [#CLICKHOUSE-3]
2017-07-11 21:36:51 +03:00
Alexey Zatelepin
7892129481
peformance-test: fix rows_read, bytes_read calculation [#CLICKHOUSE-3086]
2017-07-11 21:26:05 +03:00
Nikolai Kochetov
ee66169d5e
added throw_if_column_not_found to FilterColumnsBlockInputStream [#CLICKHOUSE-3111]
2017-07-11 20:58:49 +03:00
Alexey Zatelepin
5f1b2e9cb1
add test [#CLICKHOUSE-3126]
2017-07-11 20:56:17 +03:00
Alexey Zatelepin
7178fcbb53
attempt to fix integration tests
2017-07-11 20:56:17 +03:00
Alexey Zatelepin
57ba50f585
allow batching Distributed inserts [#CLICKHOUSE-3126]
2017-07-11 20:56:17 +03:00
Alexey Zatelepin
4a98d83a3b
introduce replicated_can_become_leader merge_tree setting [#CLICKHOUSE-3109]
2017-07-11 20:44:35 +03:00
Alexey Milovidov
cefc1a58b6
Merge branch 'master' of github.com:yandex/ClickHouse
2017-07-11 04:20:48 +03:00
Alexey Milovidov
2bd84600d1
Miscellaneous [#CLICKHOUSE-2].
2017-07-11 04:20:40 +03:00
Nikolai Kochetov
3357baa209
added changing settings in readonly mode test [#CLICKHOUSE-3041]
2017-07-10 21:15:56 +03:00
Nikolai Kochetov
524507b9b8
fixed setting comparison
2017-07-10 21:15:56 +03:00
robot-metrika-test
7364467d5c
Auto version update to [54250]
2017-07-10 20:12:02 +03:00
Nikolai Kochetov
c06c234c63
added deleted comment after merge
2017-07-10 17:33:52 +03:00
Nikolai Kochetov
7d5590d66d
Merge branch 'master' into output-format-json-quote-denormals
2017-07-10 17:29:17 +03:00
Nikolai Kochetov
39797813cc
disabled check for settings with same value in readonly mode in InterpreterSetQuery [#CLICKHOUSE-3041]; added tests for output_format_json_quote_denormals setting
2017-07-10 17:03:34 +03:00
robot-metrika-test
5241a8b0c6
Auto version update to [54249]
2017-07-10 07:53:20 +03:00
Alexey Milovidov
86eb4d2d06
Renamed Singleton to avoid conflicts with Arcadia* codebase [#DEVTOOLS-3343].
...
* - "Arcadia" is the name of Yandex's monorepo.
2017-07-10 07:34:14 +03:00
Alexey Milovidov
16a6eee397
Fixed build after merge [#CLICKHOUSE-3].
2017-07-10 07:22:36 +03:00
Alexey Milovidov
1040abfd18
Fixed build after merge [#CLICKHOUSE-3].
2017-07-10 07:16:11 +03:00
Alexey Milovidov
a742ac3b6c
Fixed build after merge [#CLICKHOUSE-3].
2017-07-10 07:10:39 +03:00
Alexey Milovidov
78e905aa3a
Fixed build after merge [#CLICKHOUSE-3].
2017-07-10 07:10:25 +03:00
alexey-milovidov
b64b243a73
Merge pull request #945 from YiuRULE/master
...
Implement natively uuid type in Clickhouse
2017-07-10 07:00:45 +03:00
Alexey Milovidov
119961133c
Removed obsolete test [#CLICKHOUSE-3].
2017-07-10 06:47:20 +03:00
Alexey Milovidov
bf58b8cdb1
Fixed test [#CLICKHOUSE-3].
2017-07-10 06:45:04 +03:00
Alexey Milovidov
db3d56b1f5
Removed obsolete test binary [#CLICKHOUSE-3].
2017-07-10 06:43:25 +03:00
Alexey Zatelepin
89939a685a
Stream row sources from disk for vertical merge [#CLICKHOUSE-3118]
2017-07-09 21:57:06 +03:00
Alexey Zatelepin
1cd936579d
introduce IColumn::gather() [#CLICKHOUSE-3118]
2017-07-09 21:57:06 +03:00
Nikolai Kochetov
d804855460
added FormatSettingsJSON.h
2017-07-09 20:16:26 +03:00
Nikolai Kochetov
25ac546e78
disabled exception during overriding settings with same value in readonly mode [#CLICKHOUSE-3041]
2017-07-09 20:16:26 +03:00
Nikolai Kochetov
63119eda7d
updated FormatSettingsJSON
2017-07-09 20:16:26 +03:00
Nikolai Kochetov
0ead0ee2f1
added FormatSettingsJSON [#CLICKHOUSE-3060]
2017-07-09 20:16:26 +03:00
alexey-milovidov
894d09f797
Update IFunction.h
2017-07-09 17:13:51 +03:00
Marek Vavruša
ff73394124
PKCondition: infer index use with pk subexpression
...
By default only constraints explicitly matching
primary key expression (or expression wrapped in
a monotonic function) are eligible for part and
range selection. So for example, if index is:
(toStartOfHour(dt), UserID)
Then a query such as this resorts to full scan:
SELECT count() FROM t WHERE dt = now()
Intuitively, only parts with toStartOfHour(now())
could be selected, but it is less trivial to prove.
The primary key currently can be wrapped in a chain
of monotonic functions, so following would work:
toStartOfHour(dt) = toStartOfHour(now()) AND dt = now()
It must be however explicitly stated, if we wanted
to infer that we’d have to know the inverse function,
and prove that the inverse function is monotonic
on given interval. This is not practical as
there is no inverse function that for example undos
rounding, it isn’t strictly monotonic.
There are however functions that don’t transform
output range and preserve monotonicity on the
complete input range, such as rounding or casts
to a same or wider numeric type. This eliminates
the need to find inverse function, as no check for monotonicity over arbitrary interval is needed,
and thus makes this optimisation possible.
2017-07-09 17:13:51 +03:00
Vitaliy Lyudvichenko
b46a2a6eab
Fixed infinite sleeping of low-priority queries. [#CLICKHOUSE-2]
2017-07-09 03:53:13 +03:00
Vitaliy Lyudvichenko
7150e9447a
Fixed multiIf in case of empty arguments. [#CLICKHOUSE-3119]
2017-07-07 17:42:37 +03:00
Nikolai Kochetov
2f08ba9e94
added FormatSettingsJSON.h
2017-07-06 18:11:12 +03:00
Guillaume Tassery
2ec96fe822
Make UUID as a strong type
2017-07-06 16:50:29 +02:00
Nikolai Kochetov
d6001618f0
disabled exception during overriding settings with same value in readonly mode [#CLICKHOUSE-3041]
2017-07-06 17:42:31 +03:00
robot-metrika-test
2d478cd371
Auto version update to [54248]
2017-07-05 21:47:14 +03:00
Liu Cong
08e43b149a
Fix a typo of 'Columns/ColumnVector.h': metod => method
2017-07-05 20:46:37 +03:00
Nikolai Kochetov
c99a9b1c55
moved FilterColumnsBlockInputStream implementation to .cpp [#CLICKHOUSE-3111]
2017-07-05 20:14:17 +03:00
alexey-milovidov
85bdb472ea
Update FilterColumnsBlockInputStream.h
2017-07-05 20:14:17 +03:00
alexey-milovidov
7bc0e40135
Update FilterColumnsBlockInputStream.h
2017-07-05 20:14:17 +03:00
Nikolai Kochetov
f1ec4cd863
added FilterColumnsBlockInputStream into StorageMerge [#CLICKHOUSE-3111]
2017-07-05 20:14:17 +03:00
robot-metrika-test
f1ce8c437b
Auto version update to [54247]
2017-07-05 19:42:46 +03:00
Alexey Milovidov
66638c4158
Fixed error in StorageDictionary [#CLICKHOUSE-2].
2017-07-05 19:36:45 +03:00
Guillaume Tassery
c6a5083419
Fix comparison of UInt128 to Float64
2017-07-05 18:29:16 +02:00
Nikolai Kochetov
13b275a174
updated FormatSettingsJSON
2017-07-05 19:28:57 +03:00
robot-metrika-test
25e9a1f7a6
Auto version update to [54246]
2017-07-05 18:22:35 +03:00
Guillaume Tassery
b90734920e
Adapt UInt128 operator
2017-07-05 12:09:24 +02:00
Nikolai Kochetov
ebbca0001f
added FormatSettingsJSON [#CLICKHOUSE-3060]
2017-07-04 19:26:38 +03:00
Guillaume Tassery
aeeb81fadf
Rename field in UInt128
2017-07-04 18:10:36 +02:00
Alexey Milovidov
032d12d431
Fixed translation error [#CLICKHOUSE-2].
2017-07-04 15:46:31 +03:00
Guillaume Tassery
cba9815981
Change Uuid to UUID datatype and make UInt128 a generic type
2017-07-04 12:42:53 +02:00
Alexey Milovidov
06f343c89e
Misc [#CLICKHOUSE-3115].
2017-07-04 00:04:40 +03:00
Alexey Milovidov
727ce48c23
Fixed error with selecting number of threads for distributed query processing [#CLICKHOUSE-3115].
2017-07-04 00:04:10 +03:00
Alexey Milovidov
15cf838250
Cosmetics [#CLICKHOUSE-2]
2017-07-03 21:29:56 +03:00
Alexey Milovidov
c170b6f0d2
Removed useless code [#CLICKHOUSE-3111].
2017-07-03 20:34:27 +03:00
Guillaume Tassery
d6ab06437a
Remove mention of UUID type for dictonnary
2017-07-03 18:08:32 +02:00
Alexey Milovidov
5a015a1475
Misc fixes after merge [#CLICKHOUSE-3].
2017-07-03 17:17:46 +03:00
Alexey Milovidov
a38bf1cbb3
Fixed bad code after merge [#CLICKHOUSE-3].
2017-07-03 17:16:20 +03:00
Alexey Milovidov
320b1e635b
Fixed build after merge [#CLICKHOUSE-3].
2017-07-03 17:14:44 +03:00
Alexey Milovidov
43daa720a4
Fixed build after merge [#CLICKHOUSE-3].
2017-07-03 17:09:32 +03:00
Marek Vavruša
d27bed228b
Parser: fix CREATE VIEW IF EXISTS #934
...
The else branch forgot to consume whitespace after
CREATE token, and after VIEW token.
2017-07-03 17:01:43 +03:00
Maxim Fridental
e30c9242bc
Implement functions findClusterIndex and findClusterValue.
2017-07-03 17:01:21 +03:00
Alexey Milovidov
65cde992f5
Merge branch 'master' of github.com:yandex/ClickHouse
2017-07-02 23:51:40 +03:00
Guillaume Tassery
525851ec68
sync master
2017-06-30 22:21:42 +02:00
Guillaume Tassery
1231952fca
Implement UUID type and toUuid function
2017-06-30 22:01:27 +02:00
Alexey Zatelepin
9de4d8facb
allow loading missing setting from config [#CLICKHOUSE-3091]
2017-06-28 19:56:35 +03:00
Alexey Milovidov
21c9ede548
Fixed garbage [#CLICKHOUSE-2].
2017-06-28 16:20:57 +03:00
robot-metrika-test
44cdfb4c76
Auto version update to [54244]
2017-06-28 15:35:06 +03:00
Alexey Zatelepin
7cf413dea8
Revert "Raised up limit on max size of parts to merge [#CLICKHOUSE-3091]."
...
This reverts commit 425156e32c
.
2017-06-28 15:32:52 +03:00
Alexey Milovidov
2b67782845
Applied clang-format [#CLICKHOUSE-2].
2017-06-28 15:30:23 +03:00
Alexey Milovidov
39ddcf1c74
Fixed build [#CLICKHOUSE-2].
2017-06-28 15:24:49 +03:00
Alexey Milovidov
c6b83a1c60
Fixed build [#CLICKHOUSE-2].
2017-06-28 15:22:07 +03:00
robot-metrika-test
4b38e8f8d3
Auto version update to [54243]
2017-06-27 19:27:16 +03:00
Alexey Zatelepin
6768ebd53f
less strict parse() functions (restore compatibility with JDBC driver) [#CLICKHOUSE-2949]
2017-06-27 18:58:33 +03:00
robot-metrika-test
9150df5ae1
Auto version update to [54242]
2017-06-26 22:15:58 +03:00
Marek Vavruša
e189c39056
SpaceSaving: internal storage for StringRef{}
...
The SpaceSaving has now specialised storage for
some keys, which only copies keys that
are to be retained in the structure, not all.
Most of the PODs implement this interface empty,
so there shouldn’t be any extra cost.
2017-06-26 21:16:13 +03:00
robot-metrika-test
106a979ac2
Auto version update to [54241]
2017-06-26 20:41:34 +03:00
Vitaliy Lyudvichenko
97f7b46ebd
Fixed CLEAR COLUMN test in case of deduplication rollback. [#CLICKHOUSE-2]
2017-06-26 19:34:38 +03:00
Vitaliy Lyudvichenko
9c0da6e698
Addition to previous commit. Fix error code, rename test tables. [#CLICKHOUSE-2]
2017-06-26 17:35:26 +03:00
Vitaliy Lyudvichenko
49cbc33a6b
Fix ZK exception in case of concurrent INSERTs in new partition. [#CLICKHOUSE-2]
2017-06-26 17:21:25 +03:00
Alex Zatelepin
8f250d4a18
Merge pull request #927 from yandex/fix-profile-info-race
...
Fix race condition while initializing BlockStreamProfileInfo
2017-06-26 16:38:26 +03:00
Vitaliy Lyudvichenko
b53d6976b3
Fix build after merge. [#CLICKHOUSE-2]
2017-06-26 15:47:15 +03:00
Alexey Zatelepin
1917de0380
fix race condition while initializing BlockStreamProfileInfo [#CLICKHOUSE-3099]
2017-06-26 15:30:35 +03:00
Alexey Milovidov
a48a21f593
Merge branch 'master' into CLICKHOUSE-2896
2017-06-26 11:54:58 +03:00
Alexey Milovidov
219740155a
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-26 11:34:02 +03:00
Alexey Milovidov
0565aea988
Whitespaces [#CLICKHOUSE-2].
2017-06-26 11:33:56 +03:00
alexey-milovidov
e122cf0bcf
Merge pull request #914 from yandex/database-dictionary
...
DatabaseDictionary
2017-06-25 22:02:45 +03:00
Alexey Milovidov
8f145da1e8
Preparation [#CLICKHOUSE-2].
2017-06-25 06:43:59 +03:00
Alexey Milovidov
dbc61a6a43
Added support for SQL-style quoting [#CLICKHOUSE-20].
2017-06-25 06:43:37 +03:00
Alexey Milovidov
275a1d4651
Improvement [#CLICKHOUSE-3091].
2017-06-25 05:48:38 +03:00
Alexey Milovidov
a8cbb1ce52
Removed obsolete tests [#CLICKHOUSE-3091].
2017-06-25 05:31:53 +03:00
Alexey Milovidov
90a1ae1062
Fixed error in prev. revision [#CLICKHOUSE-3091].
2017-06-25 05:22:10 +03:00
Alexey Milovidov
516b095423
Fixed error in prev. revision [#CLICKHOUSE-3091].
2017-06-25 04:54:25 +03:00
Alexey Milovidov
8228acd3ea
Removed obsolete code that was relevant only in extremely rare case of transforming CollapsingMergeTree to ReplicatedCollapsingMergeTree through ATTACHing data parts and while some considerations about data order in table is important [#CLICKHOUSE-3091].
2017-06-25 03:51:51 +03:00
Alexey Milovidov
3c660fd65b
Fixed translation errors [#CLICKHOUSE-3091].
2017-06-25 03:17:08 +03:00
Alexey Milovidov
28e9e06992
Preparation: locking block number only after write to filesystem; removed obsolete code [#CLICKHOUSE-3091].
2017-06-25 03:01:10 +03:00
Alexey Milovidov
c7f35997f5
Removed unused variable [#CLICKHOUSE-2].
2017-06-25 01:36:43 +03:00
Alexey Milovidov
30b6c36b83
Added support for identifiers in double quotes [#CLICKHOUSE-20].
2017-06-24 04:49:15 +03:00
proller
4db8d09de9
Reorganize includes. part 1 ( #921 )
...
* Make libunwind optional. Allow use custom libcctz
* fix
* Fix
* fix
* Update BaseDaemon.cpp
* Update CMakeLists.txt
* Reorganize includes. part 1
* Update dbms_include.cmake
* Reorganize includes. part 2
* Reorganize includes. part 3
* dbms/src/Common/ThreadPool -> libs/libcommon
* Reorganize includes. part 4
* Fix print_include_directories
* Update thread_creation_latency.cpp
* Update StringRef.h
2017-06-23 23:22:35 +03:00
Nikolai Kochetov
c2ddb63218
merged with remote
2017-06-23 19:04:30 +03:00
Nikolai Kochetov
adb632319d
DatabaseDictionary creates new storage for every create table query; drop table works untill restart
2017-06-23 18:55:45 +03:00
Alexey Milovidov
061c214c16
Fixed error [#CLICKHOUSE-3074].
2017-06-23 09:57:55 +03:00
Alexey Milovidov
3c33f1841f
Little better [#CLICKHOUSE-2].
2017-06-23 09:45:48 +03:00
Alexey Milovidov
f409cad0ac
Miscellaneous [#CLICKHOUSE-3091].
2017-06-23 09:18:00 +03:00
Alexey Milovidov
7f48f1a7f5
Fixed error [#CLICKHOUSE-2].
2017-06-23 09:11:00 +03:00
Alexey Milovidov
d51245809f
Fixed error in SessionCleaner [#CLICKHOUSE-2949].
2017-06-23 08:53:04 +03:00
Alexey Milovidov
324fc7ef3e
Miscellaneous [#CLICKHOUSE-3094].
2017-06-23 08:39:27 +03:00
Alexey Zatelepin
bb602835de
correctness tests [#CLICKHOUSE-3070]
2017-06-22 23:10:43 +03:00
Alexey Zatelepin
87fbfe0950
correct comparisons for strings with null bytes [#CLICKHOUSE-3070]
2017-06-22 23:10:43 +03:00
Alexey Zatelepin
cc87d4ad80
add string comparisons performance test [#CLICKHOUSE-3070]
2017-06-22 23:10:43 +03:00
Alexey Milovidov
7d732343eb
Fixed error in prev. revision [#CLICKHOUSE-3091].
2017-06-22 22:52:06 +03:00
Alexey Milovidov
7b7b3ac3d8
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-22 22:45:36 +03:00
proller
70d9fb06b4
PerformanceTest: use getMultiple*FromConfig, fix debug helpers ( #915 )
...
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
2017-06-22 21:56:40 +03:00
Alexey Milovidov
425156e32c
Raised up limit on max size of parts to merge [#CLICKHOUSE-3091].
2017-06-22 21:29:40 +03:00
Alexey Milovidov
990e62e579
Miscellaneous [#CLICKHOUSE-2].
2017-06-22 21:16:28 +03:00
proller
23fa44aa50
Server startup: print info about available ram and number of cores/threads ( #906 )
...
* Fix missing includes
* ComplexKeyCacheDictionary: Move includes to .cpp
* Fixing PerformanceTest: table_exists condition, move getMemoryAmount function to file. Add more debug helpers
* Multiplatform memory size getter
* Server startup: print info about available ram and number of cores/threads
* Requested changes
* Requested changes
* Requested changes
* fix
* Requested changes
* Requested changes
2017-06-22 21:08:14 +03:00
alexey-milovidov
145912724a
Update DatabaseDictionary.h
2017-06-22 21:00:29 +03:00
alexey-milovidov
11b81e6683
Update StorageDictionary.cpp
2017-06-22 20:59:19 +03:00
Alexey Milovidov
6eb06774d3
Addition to prev. revision [#CLICKHOUSE-3091].
2017-06-22 19:29:15 +03:00
Alexey Milovidov
c96719685c
Lowered max_delay_to_insert to one second, because higher values are non practical and could be harmful for usual failover logic in client apps [#CLICKHOUSE-3091].
2017-06-22 19:17:01 +03:00
Alexey Milovidov
941c281221
Updated comment [#CLICKHOUSE-3091].
2017-06-22 19:09:03 +03:00
Alexey Milovidov
22e7070fb0
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-22 19:07:57 +03:00
Alexey Milovidov
bb7fc04e2b
Whitespaces [#CLICKHOUSE-2].
2017-06-22 19:07:52 +03:00
proller
8ef51bf19b
Fixing PerformanceTest: table_exists condition, move getMemoryAmount function to file. Add more debug helpers ( #905 )
...
* Fix missing includes
* ComplexKeyCacheDictionary: Move includes to .cpp
* Fixing PerformanceTest: table_exists condition, move getMemoryAmount function to file. Add more debug helpers
* Multiplatform memory size getter
* Requested changes
* Requested changes
* Requested changes
* fix
* Requested changes
2017-06-22 18:57:37 +03:00
Nikolai Kochetov
4c114bc3a1
added DatabaseDictionary
2017-06-22 18:44:19 +03:00
Vitaliy Lyudvichenko
d7db235269
Better names and log messages. [#CLICKHOUSE-2896]
2017-06-22 18:32:09 +03:00
Vitaliy Lyudvichenko
99f502d5e0
Support OPTIMIZE query on non-leader replica. [#CLICKHOUSE-2]
2017-06-22 18:01:08 +03:00
proller
51b41aa0e3
Fix build
2017-06-22 17:14:13 +03:00
Vitaliy Lyudvichenko
eff3588f28
Rename DROP COLUMN FROM PARTITION -> CLEAR COLUMN IN PARTITION. [#CLICKHOUSE-2896]
2017-06-22 16:18:19 +03:00
Alexey Milovidov
4af5a9c7ba
Merge branch 'cache_parts_that_cannot_be_merged'
2017-06-22 03:56:44 +03:00
Alexey Milovidov
946c275dfb
Added missing case for broken files in StorageDistributed [#CLICKHOUSE-3091].
2017-06-22 03:56:17 +03:00
Alexey Milovidov
db546dc827
Caching parts that cannot be merged for some time [#CLICKHOUSE-3091].
2017-06-22 03:28:44 +03:00
Vitaliy Lyudvichenko
53adb891b3
Add replicated DROP COLUMN FROM partition for optimistic case. [#CLICKHOUSE-2896]
2017-06-22 00:56:38 +03:00
Alexey Zatelepin
374e92f76e
performance-test: allow same stop condition to be present in all_of and any_of sections [#CLICKHOUSE-3086]
2017-06-21 22:20:57 +03:00
Alexey Zatelepin
1783d233e2
performance-test: do not take cancelled query times into account [#CLICKHOUSE-3086]
2017-06-21 22:20:57 +03:00
Alexey Zatelepin
0bc0150682
performance-test: add server version to json output [#CLICKHOUSE-3086]
2017-06-21 22:20:57 +03:00
Alexey Zatelepin
53aa599dc7
performance-test: rename params for clarity [#CLICKHOUSE-3086]
2017-06-21 22:20:57 +03:00
Alexey Zatelepin
678d1ef605
performance-test: fix incorrect results reporting [#CLICKHOUSE-3086]
2017-06-21 22:20:57 +03:00
Alexey Zatelepin
ef2cf67736
performance-test: allow several queries in xml scenarios [#CLICKHOUSE-3086]
2017-06-21 22:20:57 +03:00
Alexey Milovidov
7bdc87adf0
Loosened threshold on broken parts in filesystem [#CLICKHOUSE-3076].
2017-06-21 22:11:11 +03:00
Alexey Milovidov
5c322f5756
Loosened threshold on amount of replica inconsistency to refuse server startup [#CLICKHOUSE-3076].
2017-06-21 22:07:08 +03:00
Alexey Milovidov
1624835a08
Added test [#METR-25109].
2017-06-21 21:24:25 +03:00
Alexey Milovidov
f16eaa99a1
Fixed error with unusual case of ARRAY JOIN [#METR-25109].
2017-06-21 21:21:37 +03:00
Alexey Milovidov
4738094d7e
Fixed error when dynamically compiled .so file is broken [#METR-25550].
2017-06-21 20:31:22 +03:00
robot-metrika-test
7412167cba
Auto version update to [54240]
2017-06-21 18:15:32 +03:00
Alexey Milovidov
6df5d556e5
Changed namespace [#DEVTOOLS-3381].
2017-06-21 11:35:38 +03:00
Alexey Milovidov
a99f25f2a0
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-21 04:24:10 +03:00
Alexey Milovidov
604de2bfeb
Better [#DEVTOOLS-3381].
2017-06-21 04:24:05 +03:00
Vitaliy Lyudvichenko
8b72f573d8
Get rid of SET GLOBAL command. [#MTRSADMIN-3068]
2017-06-20 22:26:59 +03:00
Vitaliy Lyudvichenko
2167e4efdd
Removed SET GLOBAL query. [#MTRSADMIN-3068]
...
It even was not supported properly in console client.
2017-06-20 22:26:59 +03:00
Vitaliy Lyudvichenko
353dba545d
Correct cascade of user setting calculation. [#MTRSADMIN-3068] [#CLICKHOUSE-2906]
2017-06-20 22:26:59 +03:00
proller
9c7d30e0df
Fix missing includes
2017-06-20 17:16:51 +03:00
robot-metrika-test
5fd6d75fbf
Auto version update to [54239]
2017-06-20 13:43:35 +03:00
Георгий Кондратьев
a736ef618a
Put ClickHouse variant of CityHash into DB namespace [#DEVTOOLS-3381]
...
This avoids symbol conflict when linking external applications that use another
variant of CityHash in the global namespace with ClickHouse libraries.
2017-06-20 12:25:16 +03:00
alexey-milovidov
057b919f20
Update ArrayCache.h
2017-06-20 10:51:53 +03:00
alexey-milovidov
ec5d2c3914
Update Allocator.cpp
2017-06-20 10:51:53 +03:00
Георгий Кондратьев
4d57012c62
Fix older Darwin build [#DEVTOOLS-3381]
2017-06-20 10:51:53 +03:00
Vitaliy Lyudvichenko
534b766250
CREATE of MergeTree checks that data dir is empty. [#CLICKHOUSE-3083]
2017-06-20 10:49:18 +03:00
Vitaliy Lyudvichenko
515ffa5262
Add extra check. [#CLICKHOUSE-3083]
2017-06-20 10:49:18 +03:00
Vitaliy Lyudvichenko
a098fb170a
Avoid creating multiple global Context. [#CLICKHOUSE-3083]
2017-06-20 10:49:18 +03:00
Alexey Milovidov
150d3bb60f
Removed useless code [#CLICKHOUSE-2].
2017-06-20 10:36:16 +03:00
Георгий Кондратьев
47161f8425
Specify all link dependencies [#DEVTOOLS-3381]
...
Tested with:
export LDFLAGS="-Wl,--no-undefined"
cmake -DUSE_STATIC_LIBRARIES=OFF -DBUILD_SHARED_LIBS=ON
2017-06-20 00:53:12 +03:00
Alexey Milovidov
47484b4bed
Tiny modifications [#DEVTOOLS-3381].
2017-06-20 00:06:46 +03:00
Георгий Кондратьев
7ca75180c7
Fix type name [#DEVTOOLS-3381]
2017-06-19 23:50:56 +03:00
Alexey Milovidov
1b17f6191b
Addition to prev. revision [#DEVTOOLS-3381].
2017-06-19 23:09:11 +03:00
Alexey Milovidov
f578bbd459
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-19 23:06:53 +03:00
Alexey Milovidov
05accbdcbe
Removed cyclic dependency [#DEVTOOLS-3381].
2017-06-19 23:06:35 +03:00
Vitaliy Lyudvichenko
b772eaa3a8
Resolved #891 . Fixed aliases for empty scalar subqueries. [#CLICKHOUSE-3]
2017-06-19 22:40:12 +03:00
robot-metrika-test
d7c5acbdcc
Auto version update to [54238]
2017-06-19 07:20:55 +03:00
Alexey Milovidov
b0c0432b71
Fixed build [#CLICKHOUSE-31].
2017-06-19 06:18:30 +03:00
Alexey Milovidov
f6be687717
Added test [#CLICKHOUSE-31].
2017-06-19 06:06:17 +03:00
Alexey Milovidov
eb47356e4f
Qualified names: continued [#CLICKHOUSE-31].
2017-06-19 06:05:05 +03:00
Alexey Milovidov
6fe3e432c5
Implemented qualified identifiers in a bad way [#CLICKHOUSE-31].
2017-06-19 05:14:18 +03:00
Alexey Milovidov
4e08309eaa
Attempt to fix test of dictionaries with cache layouts and executable source [#CLICKHOUSE-2].
2017-06-18 22:24:49 +03:00
Alexey Milovidov
401d922a4b
Tiny modifications [#CLICKHOUSE-3044].
2017-06-18 09:11:49 +03:00
Alexey Milovidov
f51db5e1f6
Fixed build [#CLICKHOUSE-3044].
2017-06-18 08:55:46 +03:00
Alexey Milovidov
6be0428ffe
Preparation [#CLICKHOUSE-31].
2017-06-18 08:44:09 +03:00
Alexey Milovidov
d64f2beaf8
Fixed build [#CLICKHOUSE-3044].
2017-06-18 08:43:29 +03:00
Alexey Milovidov
942c1dea21
Fixed build [#CLICKHOUSE-31].
2017-06-18 07:09:04 +03:00
Alexey Milovidov
b19f4d1a0e
Added test [#CLICKHOUSE-31].
2017-06-18 06:38:17 +03:00
Alexey Milovidov
62be911d79
Additions to prev. revision [#CLICKHOUSE-31].
2017-06-18 06:35:25 +03:00
Alexey Milovidov
313e52279d
UNION ALL rewrite: preparation [#CLICKHOUSE-31].
2017-06-18 06:35:25 +03:00
Alexey Milovidov
35b656e11c
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-16 21:39:17 +03:00
Alexey Milovidov
a726c68865
Check Nullable(... Nullable) early [#CLICKHOUSE-2].
2017-06-16 21:39:09 +03:00
Alexey Zatelepin
18bff11da6
cosmetics [#CLICKHOUSE-1979]
2017-06-16 21:35:49 +03:00
Alexey Zatelepin
c90ea346ce
add cross-replication test [#CLICKHOUSE-1979]
2017-06-16 21:24:18 +03:00
Alexey Milovidov
5006042bac
Added test [#CLICKHOUSE-2993].
2017-06-16 21:08:19 +03:00
Alexey Milovidov
8343cf3578
Fixed error with NULLs [#CLICKHOUSE-2993].
2017-06-16 21:05:45 +03:00
Alexey Milovidov
ee49c37fa6
Whitespaces [#CLICKHOUSE-2].
2017-06-16 19:23:23 +03:00
Alexey Milovidov
6aa69c06cf
Moved tools sources out of library code [#CLICKHOUSE-2].
2017-06-16 19:20:51 +03:00
Alexey Milovidov
7a0ffc9986
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-16 19:19:42 +03:00
Alexey Zatelepin
3c6b278b3d
fix infinite recursion in StorageMerge::isRemote() [#CLICKHOUSE-2911]
2017-06-16 19:19:15 +03:00
Alexey Milovidov
b1a645cb6d
Moved tools sources out of library code [#CLICKHOUSE-2].
2017-06-16 19:16:22 +03:00
Vitaliy Lyudvichenko
aef0bf7e2e
Fix trying to load database.sql from incorrect path. [#CLICKHOUSE-3044]
2017-06-16 19:08:24 +03:00
Vitaliy Lyudvichenko
67fdd0f544
Load the system database first. [#CLICKHOUSE-3044]
2017-06-16 19:08:24 +03:00
Alex Zatelepin
4cd9df27ab
fix infinite loop in StorageMerge::isRemote() [#CLICKHOUSE-2911]
2017-06-16 03:21:00 +03:00
Alexey Milovidov
a3590e266e
Trying to fix test of external dictionaries [#CLICKHOUSE-2].
2017-06-16 02:54:41 +03:00
Alexey Milovidov
708515dd1e
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-15 23:25:16 +03:00
Alexey Milovidov
0fcb6300a2
Fixed error in linkage (thanks Orivej) [#DEVTOOLS-3381].
2017-06-15 23:24:23 +03:00
alexey-milovidov
43a18b164d
Merge pull request #883 from yandex/fix-merge-global-in
...
Fix GLOBAL IN for Merge table over Distributed tables
2017-06-15 23:09:51 +03:00
alexey-milovidov
f2c1858f78
Merge pull request #882 from proller/freebsd
...
Freebsd and macos fixes
2017-06-15 23:07:33 +03:00
proller
4c7dd6ff8b
Freebsd and macos fixes
2017-06-15 22:39:35 +03:00
Alexey Zatelepin
8ee85e6440
calculate isRemote() from underlying tables of StorageMerge [#CLICKHOUSE-2911]
2017-06-15 22:24:59 +03:00
Alexey Milovidov
0743cfe6d7
Removed code that was used solely by Metrika [#DEVTOOLS-3343].
2017-06-15 21:27:51 +03:00
Alexey Milovidov
9bf083625d
Removed support for QuickLZ (obsolete) [#CLICKHOUSE-2].
2017-06-15 21:21:59 +03:00
Alexey Milovidov
4f3738c527
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-15 20:56:05 +03:00
Alexey Milovidov
bc45598c08
Fixed name [#CLICKHOUSE-2].
2017-06-15 20:55:57 +03:00
Vitaliy Lyudvichenko
63ac609e8b
Avoid overestimation of avg. column element size. [#CLICKHOUSE-3058]
2017-06-15 20:33:03 +03:00
Nikolai Kochetov
221c05402f
fixed bytes_allocated counter for cache dictionaries
2017-06-15 20:31:48 +03:00
Alexey Zatelepin
deca700689
add failing test [#CLICKHOUSE-2911]
2017-06-15 18:45:45 +03:00
Alexey Milovidov
e2c00fc46c
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-15 00:45:38 +03:00
Alexey Milovidov
a0c4e50135
Attempt to fix dictionaries test on Precise [#CLICKHOUSE-2].
2017-06-15 00:45:05 +03:00
Alexey Milovidov
686b29cc97
Fixed test [#CLICKHOUSE-4].
2017-06-14 22:48:10 +03:00
Alexey Milovidov
3ec14e0481
Fixed error [#CLICKHOUSE-4].
2017-06-14 22:31:05 +03:00
Alexey Zatelepin
3b33d3fbab
force reconnect by default for connections returned by ConnectionPool [#CLICKHOUSE-3068]
2017-06-14 22:16:19 +03:00
Alexey Zatelepin
ad379271ed
add failing test [#CLICKHOUSE-3068]
2017-06-14 22:16:19 +03:00
Alexey Zatelepin
d95e5d40a3
fix integration tests
2017-06-14 16:23:23 +03:00
LiuCong
55b5f9bae3
Fixed a comment typo of Server/Server.cpp
2017-06-13 22:27:39 +03:00
Vitaliy Lyudvichenko
6d74a5f5d1
Resolves #851 . Table was in shutdown state after aborted drop. [#CLICKHOUSE-2184]
2017-06-13 22:27:18 +03:00
Alexey Milovidov
91b5599412
Miscellaneous [#CLICKHOUSE-2].
2017-06-13 09:22:20 +03:00
Alexey Milovidov
1e45dc5480
Fixed build [#CLICKHOUSE-2].
2017-06-13 09:21:52 +03:00
Alexey Milovidov
f1f336275e
Removed useless file [#CLICKHOUSE-2].
2017-06-13 09:12:13 +03:00
Alexey Milovidov
10f5543a49
Revert "Add support for skipping whitespaces"
...
This reverts commit 704a79ee6c
.
2017-06-13 09:09:59 +03:00
Alexey Milovidov
49e8473456
Fixed error [#CLICKHOUSE-2].
2017-06-13 08:55:04 +03:00
Alexey Milovidov
8ba0ed9aeb
Less dependencies [#CLICKHOUSE-2].
2017-06-13 08:15:12 +03:00
Alexey Milovidov
a73790f17d
Less dependencies [#CLICKHOUSE-2].
2017-06-13 08:14:24 +03:00
Alexey Milovidov
2cc7c776ce
Fixed build [#CLICKHOUSE-2].
2017-06-13 07:50:26 +03:00
Alexey Milovidov
a782f81f8f
Moved common code from Functions; fixed build after merge [#CLICKHOUSE-2].
2017-06-13 07:45:30 +03:00
Alexey Milovidov
77aa0ed3d2
Fixed build [#CLICKHOUSE-31].
2017-06-13 07:33:07 +03:00
alexey-milovidov
a669136ac2
Merge branch 'master' into CLICKHOUSE-5
2017-06-13 07:30:36 +03:00
alexey-milovidov
e03ae570f7
Merge pull request #763 from yandex/storage-dictionary
...
Storage dictionary
2017-06-13 07:20:46 +03:00
alexey-milovidov
3f6cccaaa1
Merge pull request #834 from luc1ph3r/Add-performance-test
...
Add performance test
2017-06-13 07:20:01 +03:00
Vitaliy Lyudvichenko
49eab81d9a
Fix: ReshardingWorker doesn't finish if ZooKeeper session expired. [#CLICKHOUSE-2]
2017-06-13 07:15:25 +03:00
Alexey Milovidov
74bd90701e
Removed useless code [#CLICKHOUSE-31].
2017-06-13 07:14:23 +03:00
Alexey Milovidov
3ddea6b260
Removed useless code [#CLICKHOUSE-31].
2017-06-13 07:14:23 +03:00
Alexey Milovidov
1c219c5a7b
Addition to prev. revision [#CLICKHOUSE-31].
2017-06-13 07:14:23 +03:00
Alexey Milovidov
782fe332b1
Miscellaneous [#CLICKHOUSE-31].
2017-06-13 07:13:54 +03:00
Alexey Milovidov
43fedfecea
Get rid of INSERT ID [#CLICKHOUSE-31].
2017-06-13 07:13:20 +03:00
Alexey Milovidov
1790eeeb5e
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-13 07:13:00 +03:00
Alexey Milovidov
5aa1a1da27
Modified comment [#CLICKHOUSE-31].
2017-06-13 07:12:51 +03:00
proller
f6f85440d4
Fix compile with gcc7
2017-06-13 02:50:34 +03:00
Alexey Milovidov
7f87bb07da
Fixed linkage [#CLICKHOUSE-2].
2017-06-12 03:26:22 +03:00
Alexey Milovidov
e9ea838c66
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-10 13:43:49 +03:00
Alexey Milovidov
45c76803a9
Moved table functions to separate library; fixed errors; improved testability [#CLICKHOUSE-31].
2017-06-10 12:04:31 +03:00
Alexey Milovidov
5548f1fdd9
Analyzers: Memoizing table functions [#CLICKHOUSE-31]
2017-06-10 08:31:14 +03:00
Alexey Milovidov
d5ca92093a
Fixed comment [#CLICKHOUSE-2].
2017-06-10 08:30:07 +03:00
Nikolai Kochetov
b872751c5e
Merge branch 'master' into storage-dictionary
2017-06-09 11:38:23 +03:00
Alexey Zatelepin
877283b589
fix sorting when all columns are const [#CLICKHOUSE-3062]
2017-06-09 09:13:20 +03:00
Alexey Zatelepin
b03c87be39
fix nulls sorting when limit is greater than rows count [#CLICKHOUSE-3061]
2017-06-09 09:13:20 +03:00
Nikolai Kochetov
2f7f9a328e
changed ComplexKeyCacheDictionary key serialization
2017-06-08 20:51:46 +03:00
Vitaliy Lyudvichenko
58db4b7be4
Fix HTTP session test again. [#CLICKHOUSE-2]
2017-06-08 19:36:45 +03:00
Nikolai Kochetov
679cccc52d
renamed *.hpp to *.h in DictionaryBlickInputStream
2017-06-08 16:35:35 +03:00
Nikolai Kochetov
bff77d1bae
merged with master
2017-06-08 15:00:11 +03:00
Alexey Milovidov
a4b28db411
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-08 09:29:49 +03:00
Vitaliy Lyudvichenko
7ab88b8055
Fix HTTP sessions test. [#CLICKHOUSE-3]
2017-06-07 22:06:43 +03:00
Nikolai Kochetov
b931ca4edb
removed cache dictionaries from test_select_all
2017-06-07 19:50:56 +03:00
Nikolai Kochetov
af661f9be1
integration tests for StorageDictionary
2017-06-07 19:43:07 +03:00
Alexey Milovidov
0b4c23d0fc
Added test [#CLICKHOUSE-2].
2017-06-07 04:56:20 +03:00
Alexey Milovidov
7c6f647559
Removed questionable code [#CLICKHOUSE-2].
2017-06-07 04:52:11 +03:00
Alexey Milovidov
d5a83f6cef
Removed questionable code [#CLICKHOUSE-2].
2017-06-07 04:49:23 +03:00
Alexey Milovidov
38885d00a3
Merge branch 'storage-startup-method'
2017-06-07 02:27:16 +03:00
Alexey Milovidov
dc0d5b604f
Addition to prev. revision [#CLICKHOUSE-2].
2017-06-06 22:06:44 +03:00
Alexey Milovidov
50b84fcc9d
Removed duplicate code [#CLICKHOUSE-2].
2017-06-06 21:48:38 +03:00
Alexey Milovidov
0d7d379b44
Removed duplicate code [#CLICKHOUSE-2].
2017-06-06 21:36:13 +03:00
Alexey Milovidov
9c5ddce06d
Get rid of .hpp files [#CLICKHOUSE-2].
2017-06-06 20:18:32 +03:00
Alexey Milovidov
9ebf0b633f
Added IStorage::startup method to avoid starting replication and merging threads too early during server startup [#CLICKHOUSE-2].
2017-06-06 20:06:14 +03:00
Vitaliy Lyudvichenko
d4d316dbb8
More sophisticated test. [#CLICKHOUSE-2]
2017-06-06 17:18:23 +03:00
Vitaliy Lyudvichenko
cce302588a
Revert "Avoid extra context copying. [#CLICKHOUSE-3023]"
...
This reverts commit 87af5b5576
.
2017-06-06 16:29:08 +03:00
Alexey Milovidov
153693cd4c
Non significant modifications [#CLICKHOUSE-3].
2017-06-05 23:43:23 +03:00
Alexey Milovidov
aba8432477
Fixed bad translation [#CLICKHOUSE-3].
2017-06-05 23:18:15 +03:00
Alexey Milovidov
9593119a64
Fixed error after merge; tiny modification [#CLICKHOUSE-2].
2017-06-05 17:40:44 +03:00
alexey-milovidov
0fb00dc88a
Update AddingDefaultBlockOutputStream.h
2017-06-05 17:25:10 +03:00
Vitaliy Lyudvichenko
1e4906816c
Avoid SIGSEGV in SystemLog destructors. [#CLICKHOUSE-3023]
2017-06-05 17:25:10 +03:00
Vitaliy Lyudvichenko
87af5b5576
Avoid extra context copying. [#CLICKHOUSE-3023]
2017-06-05 17:25:10 +03:00
Nikolai Kochetov
04e1a23d1a
removed IBlockInputStream.h from IDictionary.h
2017-06-05 13:01:47 +03:00
Nikolai Kochetov
bbd6a1f238
added DictionaryBlockInpustStream support for TrieDictionary
2017-06-05 12:02:05 +03:00
f1yegor
8e261e34c5
translate comments: Interpreters
2017-06-03 19:21:00 +03:00
Alexey Milovidov
efc12f2334
Sessions in HTTP interface: modifications after merge [#CLICKHOUSE-2949].
2017-06-03 00:01:17 +03:00
Alexey Milovidov
8fb0afe74e
Fixed build of tests [#CLICKHOUSE-2].
2017-06-02 22:35:37 +03:00
Sergey V. Galtsev
07f14e05ee
Implement sessions in HTTP interface [#CLICKHOUSE-2949].
2017-06-02 22:35:05 +03:00
alexey-milovidov
147b2f62b2
Update StorageReplicatedMergeTree.cpp
2017-06-02 20:02:59 +04:00
alexey-milovidov
12e6024abd
Update StorageReplicatedMergeTree.h
2017-06-02 20:02:59 +04:00
Vitaliy Lyudvichenko
6bddd4c1c5
Clean incomplete part nodes in ZooKeeper. [#CLICKHOUSE-3040]
2017-06-02 20:02:59 +04:00
Alexey Milovidov
ba499585cd
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-02 18:54:43 +03:00
Alexey Milovidov
80080f1ad6
Small refinements [#CLICKHOUSE-2].
2017-06-02 18:54:39 +03:00
Alexey Milovidov
5bd9342c0b
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-01 21:13:42 +03:00
Alexey Milovidov
862a304db2
Small refinements [#CLICKHOUSE-2].
2017-06-01 16:41:58 +03:00
Vitaliy Lyudvichenko
1c367fc666
Fix DDLLogEntry::CURRENT_VERSION variable issue. [#CLICKHOUSE-5]
2017-06-01 13:49:22 +03:00
Vitaliy Lyudvichenko
6db8da82c6
Add requested changes. [#CLICKHOUSE-5]
2017-06-01 13:49:21 +03:00
Vitaliy Lyudvichenko
73e2aab9ec
Updated integration tests. Add integration test for DDL. [#CLICKHOUSE-5]
2017-06-01 13:49:21 +03:00
Vitaliy Lyudvichenko
226d84be09
Update doc. [#CLICKHOUSE-5]
2017-06-01 13:49:21 +03:00
Vitaliy Lyudvichenko
d472065af0
Rename draft for integration test. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
55aa8217f3
Disable DDL ALTER for replicated tables. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
3a2c1a195d
Add ZooKeeper session recovering and trashy integration test. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
9fd8d6b79f
Add ALTER queries. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
48ade83090
Parsers refactoring. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
91f45c628b
Add queue cleanup. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
feb1db051d
Add status stream for distributed DDLs. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
4322b0c5a9
Implemented global ZK queue for DDLs. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
209015574f
Workable version for CREATE DROP w/o ZK tests. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
aa7504a7f5
Distributed DDL PR rebase. [#CLICKHOUSE-5]
2017-06-01 13:49:19 +03:00
robot-metrika-test
5df9848326
Auto version update to [54237]
2017-05-31 20:37:37 +03:00
Nikolai Kochetov
d606436023
using MergeTreeDataPartChecksums to calculate marks_size in system.parts
2017-05-31 20:54:40 +04:00
Nikolai Kochetov
c58e98b607
added marks_size column in system.parts
2017-05-31 20:54:40 +04:00
Vitaliy Lyudvichenko
1a4b0eb355
Remove tmp part directories on server start. [#CLICKHOUSE-3044]
2017-05-31 18:01:25 +03:00
Nikolai Kochetov
334fa11d12
deleted IBlickInputStream.h include form IDictionary.h
2017-05-31 12:05:44 +03:00
ivanzhukov
52b5f18db9
Code Review
2017-05-31 00:36:45 +03:00
Nikolai Kochetov
38e9e837c5
style fixes
2017-05-30 18:02:44 +03:00
Alex Zatelepin
0b2e2ec20d
Update README.md [#CLICKHOUSE-2821]
2017-05-29 22:05:36 +03:00
Nikolai Kochetov
7c736b12ef
added raw serialization functions for IColumn; changed key serialization in ComplexKeyCacheDictionary; style fixes
2017-05-29 20:26:45 +03:00
Nikolai Kochetov
787bf12572
merged with master
2017-05-29 20:23:14 +03:00
proller
27d675465d
Remove wrong char from code
2017-05-29 14:18:51 +03:00
f1yegor
0bf5182020
translate comments: etc
2017-05-28 16:32:59 +02:00
f1yegor
b3e0533860
translate comments: IO
2017-05-28 16:29:40 +02:00
f1yegor
f49b433a83
translate comments: functions
2017-05-27 19:29:55 +02:00
f1yegor
92712eeedd
translate comments: parsers
2017-05-27 19:27:16 +02:00
f1yegor
0882092c20
translate comments: functions
2017-05-27 17:45:25 +02:00
Nikolai Kochetov
5fb5397941
added max_block_size for DictionaryBlockImputStreamBase
2017-05-26 19:08:56 +03:00
Alexey Milovidov
13f0af3d83
Whitespaces [#CLICKHOUSE-2]
2017-05-26 18:30:07 +03:00
Alexey Milovidov
fa64d14f26
More readable temporary part names [#CLICKHOUSE-2].
2017-05-26 03:47:06 +03:00
Alexey Milovidov
ed44304c49
Removed obsolete commented code [#CLICKHOUSE-2].
2017-05-26 03:43:35 +03:00
alexey-milovidov
c79ebc586d
Merge pull request #825 from yandex/CLICKHOUSE-2989
...
Separate dirs for different part sources, fix RC during replicated alters
2017-05-26 04:42:03 +04:00
Alexey Milovidov
c8ccbd56c0
More correct wording [#CLICKHOUSE-3039].
2017-05-26 00:00:04 +03:00
Alexey Milovidov
d35a586af2
Fixed deadlock when using executable dictionary source with cache or complex_key_cache layout [#CLICKHOUSE-3039].
2017-05-25 23:59:14 +03:00
Alexey Milovidov
ccce305d73
Fixed totally wrong code [#CLICKHOUSE-3039].
2017-05-25 23:17:23 +03:00
Alexey Milovidov
f448c9690c
Little better [#CLICKHOUSE-3039].
2017-05-25 23:09:48 +03:00
Alexey Milovidov
e05547f4f8
Little better [#CLICKHOUSE-3039].
2017-05-25 22:52:05 +03:00
Alexey Milovidov
7a5c0a3cc2
Style [#CLICKHOUSE-3039].
2017-05-25 22:36:03 +03:00
Alexey Milovidov
22a0da824f
Fixed bad code (again) [#CLICKHOUSE-3039].
2017-05-25 22:27:23 +03:00
Alexey Milovidov
6f5dcb1d84
Miscellaneous [#CLICKHOUSE-3039].
2017-05-25 22:26:17 +03:00
Alexey Milovidov
4fd2714a74
Fixed bad code [#CLICKHOUSE-3039].
2017-05-25 22:21:57 +03:00
Alexey Milovidov
fedd829803
Miscellaneous [#CLICKHOUSE-3039].
2017-05-25 21:24:47 +03:00
alexey-milovidov
72822714c3
Merge branch 'master' into CLICKHOUSE-2989
2017-05-25 21:04:37 +04:00
Vitaliy Lyudvichenko
1e29795cf9
Fix race condition between cleanup and fetch thread. [#CLICKHOUSE-2989]
...
It was happening during ALTERs.
TODO: stop fetches during ALTER.
2017-05-25 13:08:52 +03:00
Alexey Zatelepin
1c903df8d7
move AccurateComparison.h [#CLICKHOUSE-3002]
2017-05-25 05:34:26 +04:00
Alexey Zatelepin
7655a7bf3a
add tests [#CLICKHOUSE-3002]
2017-05-25 05:34:26 +04:00
Alexey Zatelepin
e9f8f99e06
Correct index comparisons in case constants cannot be precisely casted [#CLICKHOUSE-3002]
2017-05-25 05:34:26 +04:00
Alexey Milovidov
a77369d082
Preparation: Storages do not modify query [#CLICKHOUSE-31].
2017-05-25 04:12:41 +03:00
Alexey Milovidov
6e9fa39af5
Analyzers: development [#CLICKHOUSE-31].
2017-05-25 03:41:07 +03:00
Alexey Milovidov
557c3dc7f4
Preparation: removed support for unreplicated data in Replicated tables [#CLICKHOUSE-31].
2017-05-25 00:38:56 +03:00
Alexey Milovidov
48f65e9097
Preparation: untangling [#CLICKHOUSE-31].
2017-05-25 00:06:29 +03:00
Alexey Milovidov
59ac7f8063
Preparation: untangle settings manipulation in InterpreterSelectQuery [#CLICKHOUSE-31].
2017-05-24 23:25:01 +03:00
Vitaliy Lyudvichenko
d9637c2980
MergeTreeDataPart refactoring. [#CLICKHOUSE-2989]
...
Use relative_path to store actual part path.
Use renameTo() to move parts.
2017-05-24 23:23:58 +03:00
Vitaliy Lyudvichenko
5618234ee8
Separate tmp part dirs for merges, fetches and inserts. [#CLICKHOUSE-2989]
2017-05-24 23:23:58 +03:00
Alexey Milovidov
cb83b200cb
Preparation [#CLICKHOUSE-31].
2017-05-24 23:13:04 +03:00
Alexey Milovidov
8d570e2768
Renamed column "default_type" to "default_kind" in system.columns table to avoid ambiguity [#CLICKHOUSE-2].
2017-05-24 22:54:25 +03:00
Alexey Milovidov
9fdd795087
Using more light method of query_id generation [#CLICKHOUSE-3025].
2017-05-24 22:31:50 +03:00
Alexey Milovidov
0a55310076
Added comment [#CLICKHOUSE-3027].
2017-05-24 21:49:30 +03:00
Alexey Milovidov
2e47c35fa9
Fixed error "zero number of streams requested" on Google Compute Engine VMs [#CLICKHOUSE-2037].
2017-05-24 21:38:18 +03:00
Alexey Milovidov
91f9009cc4
Fixed build [#CLICKHOUSE-2955].
2017-05-24 01:34:52 +03:00
Alexey Zatelepin
df5fb65b28
specify db path in accordance with container volume mountpoint [#CLICKHOUSE-2821]
2017-05-23 23:52:48 +03:00
Alexey Zatelepin
2ffc01b25a
build helper container with network=host to avoid problems with ipv6 [#CLICKHOUSE-2821]
2017-05-23 23:38:17 +03:00
Alexey Milovidov
0dd71e32e0
Preparations, part 8 [#CLICKHOUSE-31].
2017-05-23 23:04:42 +03:00
Alexey Milovidov
e073b62301
Fixed build [#CLICKHOUSE-31].
2017-05-23 21:58:38 +03:00
Alexey Milovidov
c4f58f776b
Preparations, part 7: Analyzers use const Context (and could be used in ExpressionAnalyzer) [#CLICKHOUSE-31].
2017-05-23 21:53:11 +03:00
Alexey Milovidov
34cd1b9787
Preparations, part 6 [#CLICKHOUSE-31].
2017-05-23 21:46:52 +03:00
Alexey Milovidov
46644aaaf0
Preparations, part 5: table functions are using const Context for execution [#CLICKHOUSE-31].
2017-05-23 21:44:36 +03:00
Alexey Milovidov
2b20eca06b
Preparations, part 4: StorageDistributed is initialized with const Context [#CLICKHOUSE-31].
2017-05-23 21:37:14 +03:00
Alexey Milovidov
ce581bbf35
Preparations, part 3 [#CLICKHOUSE-31].
2017-05-23 21:33:48 +03:00
Alexey Milovidov
a822dedc45
Preparations, part 2 [#CLICKHOUSE-31].
2017-05-23 21:24:43 +03:00
Alexey Milovidov
66e209b492
Preparations, part 1 [#CLICKHOUSE-31].
2017-05-23 21:01:50 +03:00
Alexey Milovidov
95e6577d6f
Merge branch 'master' of github.com:yandex/ClickHouse
2017-05-23 20:35:41 +03:00
Alexey Milovidov
bb2f0a0893
Always restore in case of corrupted query_log, part_log [#CLICKHOUSE-3020].
2017-05-23 20:35:05 +03:00
Alexey Zatelepin
6200ccb39c
improve waiting for instance startup in integration tests [#CLICKHOUSE-2821]
2017-05-23 20:13:36 +03:00
Alexey Milovidov
c24f4c57af
Style; removed useless catch [#CLICKHOUSE-2955].
2017-05-23 19:36:07 +03:00
alexey-milovidov
d7e5e65028
Merge pull request #801 from yandex/dictionary-invalidate-query
...
Dictionary invalidate query
2017-05-23 20:31:52 +04:00
robot-metrika-test
96485e41c5
Auto version update to [54236]
2017-05-23 19:08:38 +03:00
Alex Zatelepin
1bcee80587
Fixed README.md [#CLICKHOUSE-2821]
2017-05-23 17:27:18 +03:00
Alexey Milovidov
38281226bd
Fixed error in integration tests [#CLICKHOUSE-2821].
2017-05-23 17:24:04 +03:00
Alexey Milovidov
95059092d4
Fixed README.md [#CLICKHOUSE-2821]
2017-05-23 16:57:38 +03:00
Alexey Milovidov
26a14c180d
Fixed test [#CLICKHOUSE-2].
2017-05-23 16:35:38 +03:00
Alexey Milovidov
45cf057b22
Fixed test [#CLICKHOUSE-3014].
2017-05-23 16:32:46 +03:00
Nikolai Kochetov
45c1beca2a
Merge branch 'master' into storage-dictionary
2017-05-23 13:44:03 +03:00
Nikolai Kochetov
f0ec7901e9
Merge branch 'master' into dictionary-invalidate-query
2017-05-23 13:27:31 +03:00
Alexey Milovidov
0c416be381
More simple code; fixed translation error [#CLICKHOUSE-2].
2017-05-23 04:09:47 +03:00
Alexey Milovidov
25209bf040
Allow semicolon after JSONEachRow lines, for convenience [#CLICKHOUSE-2]
2017-05-23 03:57:58 +03:00
Alexey Milovidov
0e77575a76
JSONEachRow: allow to parse true and false as 1 and 0 for UInt8, Int8 data types [#CLICKHOUSE-3]
2017-05-22 23:13:17 +03:00
Alexey Milovidov
c323d7bf99
Added test for function defaultValueOfArgumentType [#CLICKHOUSE-3013].
2017-05-22 22:04:18 +03:00
Alexey Milovidov
7269f3a23b
Format Vertical: added support for totals, extremes and output_format_pretty_max_rows [#CLICKHOUSE-3014].
2017-05-22 22:00:45 +03:00
Alexey Milovidov
734b240490
TrivialBuffer: fixed build after merge [#CLICKHOUSE-2929].
2017-05-22 19:46:33 +03:00
Nikolai Kochetov
db3fbd91b7
added readInvalidateQuery
2017-05-22 19:46:14 +03:00
Nikolai Kochetov
86e63d2bba
added readInvalidateQuery for uniform reading from BlockInputStream
2017-05-22 19:38:24 +03:00
Alexander Makarov
55bfaca662
StorageTrivialBuffer: added support for the replication [#CLICKHOUSE-2929]
2017-05-22 18:40:11 +04:00
Alexander Makarov
fdd636a785
fixup #2 : comments on English, proper classname, StorageFactory update and merging in 'flush' method without lock [#CLICKHOUSE-2929]
2017-05-22 18:40:11 +04:00
Alexander Makarov
f8e19de0e3
fixups after review [#CLICKHOUSE-2929]
2017-05-22 18:40:11 +04:00
alexey-milovidov
90e1767387
Update TrivialBuffer.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
2fdb7057ba
Update TrivialBuffer.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
10f188708b
Update TrivialBuffer.h
2017-05-22 18:40:11 +04:00
alexey-milovidov
84040d8a85
Update TrivialBuffer.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
1059c87828
Update TrivialBuffer.h
2017-05-22 18:40:11 +04:00
alexey-milovidov
3d009d153d
Update TrivialBuffer.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
4cb799307b
Update TrivialBuffer.h
2017-05-22 18:40:11 +04:00
alexey-milovidov
fd1403d4c4
Update TrivialBuffer.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
0fb0d36045
Update Block.h
2017-05-22 18:40:11 +04:00
alexey-milovidov
d9761b6506
Update Block.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
d8e9e8fa99
Update Block.cpp
2017-05-22 18:40:11 +04:00
alexey-milovidov
934476b2ed
Update Block.cpp
2017-05-22 18:40:11 +04:00
Alexander Makarov
dfabe90373
TrivialBuffer implementation [#CLICKHOUSE-2929]
2017-05-22 18:40:11 +04:00
Alexey Zatelepin
65227021e7
ClickHouse integration tests. [#CLICKHOUSE-2821]
2017-05-22 17:56:41 +04:00
Vitaliy Lyudvichenko
48d85af41a
Allow to skip garbage in TSKV format. [#CLICKHOUSE-3012]
2017-05-22 17:50:13 +04:00
Vitaliy Lyudvichenko
4fd357a311
Add more clear comments, refined code. [#CLICKHOUSE-2957]
2017-05-22 15:16:21 +04:00
Nikolai Kochetov
7762204b86
Merge branch 'master' into dictionary-invalidate-query
2017-05-22 13:49:45 +03:00
Alexey Milovidov
571af20a4f
Added function defaultValueForArgumentType [#CLICKHOUSE-3013].
2017-05-22 01:27:41 +03:00
Alexey Milovidov
0f252046ca
Preparations [#CLICKHOUSE-2]
2017-05-22 01:25:25 +03:00
Vitaliy Lyudvichenko
45c1856556
Fix wrong implementation of CastTypeBlockInputStream ( #807 )
...
* Fix wrong implementation of CastTypeBlockInputStream. [#CLICKHOUSE-2957]
* Fix typos and add comments. [#CLICKHOUSE-2957]
2017-05-20 18:47:40 +04:00
Alexey Zatelepin
9c6829e982
Fix replica delay counting in case of ZooKeeper communication problems [#CLICKHOUSE-2141]
2017-05-20 17:32:00 +04:00
Vitaliy Lyudvichenko
eab306b53f
Add more sophisticated test. [#METR-25237]
2017-05-20 17:30:59 +04:00
Vitaliy Lyudvichenko
bbe2a656cd
Fixed preferred_block_size_bytes in case of PREWHERE with non-materialized column. [#METR-25237]
2017-05-20 17:30:59 +04:00
Alexey Zatelepin
d9306ab6b5
choose row with the max version for unmatched paths [#CLICKHOUSE-2984]
2017-05-20 17:25:48 +04:00
Alexey Zatelepin
f37ed1fbdb
fix bugs in GraphiteMergeTree [#CLICKHOUSE-2984]:
...
* destructive rollup with Time=0 if no pattern matches
* differences in row count for Path and Value columns
* missed output rows on the boundaries between blocks
2017-05-20 17:25:48 +04:00
KochetovNicolai
f9cdae50d9
Cast boolean json fields to numbers ( #809 )
...
* added readBoolTextWord
* moved json bool cast to DataTypeNumber
2017-05-20 17:15:04 +04:00
Alexey Zatelepin
807570b32f
Change tabs to spaces in clickhouse-test [#CLICKHOUSE-3].
2017-05-19 21:31:48 +03:00
robot-metrika-test
bc2d232494
Auto version update to [54235]
2017-05-17 21:44:16 +04:00
Vitaliy Lyudvichenko
1d00f45dd3
Detect race condition between fetches and merges of the same part. [#CLICKHOUSE-2989]
2017-05-17 21:44:16 +04:00
Nikolai Kochetov
df087a2e98
merged with master
2017-05-16 13:06:45 +03:00
Nikolai Kochetov
16256503ec
merged with master
2017-05-16 13:03:06 +03:00
Dmitry Luhtionov
4cc10af7b7
Add MACStringToOUI function
2017-05-16 10:32:49 +04:00
orantius
da83036326
Add age 55 for function roundAge. [#CLICKHOUSE-3001]
2017-05-15 22:42:39 +04:00
Nikolai Kochetov
7398062010
added undate by invalidate_query for MySql and ODBC dictionary sources
2017-05-15 17:16:10 +03:00
Nikolai Kochetov
427c020140
deleted dictionary ptr from StorageDictionary
2017-05-15 16:58:40 +03:00
Marek Vavruša
9520234365
Dictionaries/TrieDictionary: IP prefix dictionary
...
This commit implements a basic IP prefix dictionary
that allows storing IPv4/IPv6 prefixes and
matching them against a single IP address on query
time. This allows for doing IP -> ASN matching and
other similar things on query time.
The implementation is basic for start, using a
simple bitwise trie and reusing interface for
complex key dictionaries (so using tuple instead
of UInt32/FixedString(16) as the key). A faster
bitwise trie implementation (like poptrie) is
desired to improve lookup performance and
memory consumption with large prefix tables.
2017-05-15 10:51:03 +04:00
alexey-milovidov
e7b7f6f73d
Update MergeTreeData.cpp
2017-05-15 10:34:40 +04:00
Vitaliy Lyudvichenko
6262fc8650
Fix inccorect columns size in MergeTreeData after ALTER. [#CLICKHOUSE-2]
2017-05-15 10:34:40 +04:00
f1yegor
92b56c2c7d
translate comments
2017-05-14 19:03:55 +04:00
f1yegor
c252863b2e
translate comments
2017-05-14 19:03:55 +04:00
Marek Vavruša
95d926ec14
AggregateFunctionTopK: smaller initial table size
...
By default start with 2^4 elements
2017-05-13 03:58:05 +04:00
Marek Vavruša
74cc0849dc
iostream_debug_helpers: fixed build
2017-05-13 03:58:05 +04:00
robot-metrika-test
9d475d34f6
Auto version update to [54234]
2017-05-13 00:05:22 +03:00
Alexey Milovidov
282a395464
Fixed test [#CLICKHOUSE-2].
2017-05-13 00:03:01 +03:00
Alexey Milovidov
d3a8faee16
Fixed test reference file for aggregate function topK [#CLICKHOUSE-3].
2017-05-12 23:59:14 +03:00
Alexey Milovidov
cfc4c987c5
Added optional length parameter to aggregate function groupArrayInsertAt [#CLICKHOUSE-3003].
2017-05-12 23:57:24 +03:00
Alexey Milovidov
40595ce688
Whitespaces [#CLICKHOUSE-3003].
2017-05-12 23:41:50 +03:00
Alexey Milovidov
1d090bd4e2
AggregateFunctionGroupArrayInsertAt: fixed error [#CLICKHOUSE-3003].
2017-05-12 23:05:19 +03:00
Alexey Milovidov
3819216085
StorageBuffer: explicitly disable support for PREWHERE, because possibility of wrong query results [#CLICKHOUSE-2999].
2017-05-12 17:02:24 +03:00
Alexey Milovidov
4b852584ce
Whitespaces [#CLICKHOUSE-2].
2017-05-12 17:01:02 +03:00
Vitaliy Lyudvichenko
021e37943e
More clearer code and correct test. [#CLICKHOUSE-1993]
2017-05-12 16:44:11 +03:00
Alexey Milovidov
9ad1d5676a
Miscellaneous [#CLICKHOUSE-2].
2017-05-12 01:21:06 +03:00
Alexey Milovidov
8f0e833b52
Whitespaces [#CLICKHOUSE-2].
2017-05-11 22:48:46 +03:00
Marek Vavruša
45bd332460
AggregateFunctionTopK: fix memory usage, performance
...
* allow separate table key / hash key, and use
std::string / StringRef for generic variant as
it has built-in storage and StringRef is supported
by the hash table, this avoids infinitely
growing arena with serialised keys
* use power-of-2 size for alpha vector for faster
binning without using modulo
* use custom grower and allocator for SpaceSaving
to start with smaller tables
* store computed hash in counter for faster
reinsertion of smallest element
2017-05-11 18:52:49 +04:00
Marek Vavruša
bc878f9785
Common/HashTable: allow cell reinsertion
...
* fixes missing setHash on reinsert
* reuses hash when emplacing value
2017-05-11 18:52:49 +04:00
Vitaliy Lyudvichenko
0f1627691e
Don't forget to ATTACH MATERIALIZED columns. [#CLICKHOUSE-1993]
2017-05-11 18:39:12 +04:00
Dmitry Luhtionov
a21a6caf4e
Доюавленф функции FunctionMACNumToString и FunctionMACStringToNum
2017-05-10 08:16:06 -04:00
Alexey Milovidov
66436db836
Added test [#CLICKHOUSE-2].
2017-05-10 04:46:07 -04:00
Alexey Milovidov
2a57cfdbc2
Aggregate function groupArrayInsertAt: development [#CLICKHOUSE-2].
2017-05-10 04:42:15 -04:00
Alexey Milovidov
21c5ee0f1d
Aggregate function groupArrayInsertAt: development [#CLICKHOUSE-2].
2017-05-10 04:41:25 -04:00
Alexey Milovidov
19d0d47c8a
Aggregate function groupArrayInsertAt: development [#CLICKHOUSE-2].
2017-05-10 04:40:14 -04:00
Alexey Milovidov
e5e8667bc9
Addition to prev. revision [#CLICKHOUSE-2].
2017-05-10 04:10:50 -04:00
Alexey Milovidov
a7b9a12759
Returned back Increment and CounterInFile, because they are still needed [#CLICKHOUSE-2].
2017-05-10 04:08:32 -04:00
Alexey Milovidov
bb41d47096
Removed Increment and CounterInFile [#CLICKHOUSE-2].
2017-05-10 02:50:37 -04:00
Alexey Milovidov
5ca7650c86
Removed Increment and CounterInFile [#CLICKHOUSE-2].
2017-05-10 02:49:19 -04:00
Alexey Milovidov
acfe3d5028
Improved performance of inserting into StorageDistributed with very high number of shards (not tested) [#CLICKHOUSE-2].
2017-05-10 02:39:37 -04:00
Alexey Milovidov
e2f8ec8f2d
Addition to prev. revision [#CLICKHOUSE-2].
2017-05-10 02:36:15 -04:00
Alexey Milovidov
21af887758
Added aggregate function 'groupArrayInsertAt' (for Graphite) [#CLICKHOUSE-2].
2017-05-10 01:46:23 -04:00
Alexey Milovidov
b9a7917a8d
Tiny modifications [#CLICKHOUSE-2].
2017-05-10 01:43:27 -04:00
Alexey Milovidov
542eba7e17
Fixed translation errors [#CLICKHOUSE-3].
2017-05-10 00:30:33 -04:00
Alexey Milovidov
27a324b469
Tiny modifications [#CLICKHOUSE-2].
2017-05-10 00:29:36 -04:00
Alexey Milovidov
7bf7242ad3
Fixed translation errors; miscellaneous changes [#CLICKHOUSE-3].
2017-05-10 00:00:19 -04:00
Alexey Milovidov
ff02af9804
Addition to prev. revision [#CLICKHOUSE-2].
2017-05-09 22:45:21 -04:00
Alexey Milovidov
7fc3d90035
Renamed .inl file to .inl.h to avoid confusion [#CLICKHOUSE-2].
2017-05-09 22:41:26 -04:00
Alexey Milovidov
8e5f92f025
Fixed translation errors, part 1 [#CLICKHOUSE-3].
2017-05-09 15:07:35 -04:00
ivanzhukov
59942137de
Output only specified metrics
2017-05-09 21:53:48 +03:00
ivanzhukov
7f9e234bd5
Support preconditions
2017-05-09 21:53:48 +03:00
ivanzhukov
70e2fb7000
Add filters for tests
2017-05-09 21:53:48 +03:00
ivanzhukov
100eba717f
Print array of jsons for multiple tests run
2017-05-09 21:53:48 +03:00
ivanzhukov
54f9675b59
Add support for tests profiles
2017-05-09 21:53:48 +03:00
ivanzhukov
733c74fe8a
Always store queries in a vector
2017-05-09 21:53:47 +03:00
ivanzhukov
3c6de6eee9
Use new IO functions interface
2017-05-09 21:53:47 +03:00
ivanzhukov
704a79ee6c
Add support for skipping whitespaces
2017-05-09 21:53:47 +03:00
ivanzhukov
5fa4b5f15e
Support query in a file
2017-05-09 21:53:47 +03:00
ivanzhukov
086ef6ed82
Support directory as an input
2017-05-09 21:53:47 +03:00
ivanzhukov
1c2b64168e
Code style
2017-05-09 21:53:46 +03:00
ivanzhukov
0fb964ba79
Print all runs for one query first
2017-05-09 21:53:31 +03:00
ivanzhukov
52849e746e
Check metrics for execType
2017-05-09 21:53:31 +03:00
ivanzhukov
f4c6219244
Use new connectionPool inerface
2017-05-09 21:53:31 +03:00
ivanzhukov
73fa7905f0
Use new RemoteBlockInputStream's interface
2017-05-09 21:53:31 +03:00
ivanzhukov
c6f35247bf
Fix include
2017-05-09 21:53:29 +03:00
ivanzhukov
26606a1556
Dont print corrupted statistics
2017-05-09 21:52:58 +03:00
ivanzhukov
dca10863c7
Refactoring
2017-05-09 21:52:58 +03:00
ivanzhukov
70fb951831
Separate metrics output for queries
2017-05-09 21:52:58 +03:00
ivanzhukov
09ca5e0032
Construct and output info at the end
2017-05-09 21:52:58 +03:00
ivanzhukov
64a18f6b6e
Rename read_{rows,bytes} to {rows,bytes}_read
2017-05-09 21:52:58 +03:00
ivanzhukov
3568946082
Add support for time criterions
2017-05-09 21:52:58 +03:00
ivanzhukov
c4c6960c75
Separate 'loop' queries execution from 'once'
2017-05-09 21:52:57 +03:00
ivanzhukov
1986ceb819
Execute queries without terminate conditions
2017-05-09 21:52:56 +03:00
ivanzhukov
4e5362b246
Replace raw pointers with Poco's AutoPtr
2017-05-09 21:52:42 +03:00
ivanzhukov
17c7b2a0cf
Extract settings and construct queries from config
2017-05-09 21:52:40 +03:00
ivanzhukov
fd307bffb7
Add command line options support
2017-05-09 21:52:17 +03:00
f1yegor
46db454562
translate comments
2017-05-09 13:03:35 -04:00
ivanzhukov
39c3054d09
Add base file for PerformanceTest
2017-05-07 01:04:39 +03:00
ivanzhukov
842ebadc0e
Add cmake rules for performance test launcher
2017-05-07 01:04:39 +03:00
Dmitry Bilunov
11ec4c627d
IO/CompressedWriteBuffer: support new LZ4 library
2017-05-06 10:48:30 -04:00
Dmitry Bilunov
0c72259c3c
mongodb: Avoid compiling DB::authenticate() function unless it is needed
2017-05-05 17:02:34 -07:00
proller
fac00792f9
Move most AggregateFunctions to separate lib, use AggregateFunctionFactory as singletone, rename lib storages_system->clickhouse_storages_system
2017-05-05 16:59:18 -07:00
Alexey Milovidov
d3e6321967
AggregateFunctionTopK: minor modifications [#CLICKHOUSE-2].
2017-05-05 16:36:02 -07:00
Alexey Milovidov
32a75147f5
Merge branch 'master' of github.com:yandex/ClickHouse
2017-05-05 16:35:08 -07:00
Alexey Milovidov
aa629d0f7e
Minor modification [#CLICKHOUSE-2].
2017-05-05 14:25:53 -07:00
Alexey Milovidov
9d4c814b12
Aggregate function topK: style modifications [#CLICKHOUSE-2].
2017-05-05 14:17:04 -07:00
proller
b1f1096f27
tests: correct Connection refused detection ( #766 )
2017-05-05 17:50:05 +03:00
proller
9bcece79f9
tests: dont stop on errors by default
2017-05-05 07:19:00 -07:00
proller
6c34f27e3b
Another freebsd fix, update freebsd build doc
2017-05-05 03:23:32 +03:00
proller
1474de179c
CastTypeBlockInputStream: hotfix: sometimes columns in sample blocks and stream blocks does not match
2017-05-04 22:41:55 +03:00
Nikolai Kochetov
1604ce138a
changed key storage format for complex key dictionaries
2017-05-04 21:14:23 +03:00
proller
9a937591e5
Try fix freebsd 11-STABLE OCbuild
2017-05-04 18:25:34 +03:00
Marek Vavruša
5f1e65b252
AggregateFunctions: implemented topK(n)
...
This implements a new function for approximate
computation of the most frequent entries using
Filtered Space Saving with a merge step adapted
from Parallel Space Saving paper.
It works better for cases where GROUP BY x
is impractical due to high cardinality of x,
such as top IP addresses or top search queries.
2017-05-03 23:09:52 -07:00
proller
0787bd66ff
Merge: fail if cant convert columns ( #753 )
...
* Merge: fail if cant convert columns
* Merge: convert all different types, more tests
* clean
* clean
* clean
2017-05-03 21:08:59 -07:00
Vitaliy Lyudvichenko
d504c5454a
Resolves #750 . Allow to load more than 16 external dictionaries. [#CLICKHOUSE-3]
2017-05-03 21:04:58 -07:00
alexey-milovidov
99c360b6c7
Update Server.cpp
2017-05-03 21:02:55 -07:00
alexey-milovidov
85e59ae3ff
Update Server.cpp
2017-05-03 21:02:55 -07:00
proller
90bbdaffda
Remove old comment
2017-05-03 21:02:55 -07:00
proller
f02a605900
Better "Protocol not supported" message
2017-05-03 21:02:55 -07:00
Vitaliy Lyudvichenko
6d93d9cefb
Combinator -MergeState now returns AggregateFunction(nested_func). [#CLICKHOUSE-2891]
2017-05-03 20:59:42 -07:00
robot-metrika-test
713168c98f
Auto version update to [54233]
2017-05-03 22:47:57 +03:00
robot-metrika-test
312a0bf5f2
Auto version update to [54232]
2017-05-02 22:39:11 +03:00
f1yegor
5ffa35cf24
translate comments
2017-04-30 23:46:40 -07:00
Maxim Fridental
e9d9abf328
Fix escaping of columns starting with a number
2017-04-29 23:40:34 -07:00
alexey-milovidov
fb01ef0132
Update StorageMerge.cpp
2017-04-29 06:37:38 +03:00
alexey-milovidov
0e8c3b976f
Update CastTypeBlockInputStream.cpp
2017-04-29 06:37:38 +03:00
proller
b2e2233a59
rename CastEnumBlockInputStream -> CastTypeBlockInputStream
2017-04-29 06:37:38 +03:00
proller
7a0854775b
Merge: Cast types on read [#CLICKHOUSE-2957]
2017-04-29 06:37:38 +03:00
Alexey Milovidov
e0b141e3eb
Do not remove temporary directory on fetch [#CLICKHOUSE-2894].
2017-04-29 01:26:39 +03:00
proller
2a1eceef03
Try fix macos build
2017-04-29 00:18:18 +03:00
Vitaliy Lyudvichenko
42fcf148e2
Add column rows to system.parts table. [#CLICKHOUSE-2950]
2017-04-28 23:54:24 +03:00
proller
edcc18992b
Try fix macos build (again)
2017-04-28 22:50:42 +03:00
proller
948d9c39cd
Try fix macos build. Add more debug io helpers
2017-04-28 21:57:26 +03:00
Nikolai Kochetov
79564054a9
added RangeDictionaryBlockInputStream
2017-04-28 21:33:31 +03:00
proller
7c891eb841
Server: Special mode with empty listen_host : try listen v4 and v6 ( #730 )
...
* Server: Special mode with empty listen_host : try listen v4 and v6 without fatal error if protocol not supported (for docker and freebsd)
* fix build on freebsd/macos
* Requested change
* Update Server.cpp
* Update Server.cpp
* Fix deadlock when queue_log queue is full
* Add log error on query log fail
* Fix incudes, move code from daemon/OwnPatternFormatter.h
* Update SystemLog.h
* Update SystemLog.h
* Auto version update to [54230]
* Catch only "Protocol not supported" listen error
* Update Server.cpp
2017-04-28 00:51:09 +03:00
Alexey Milovidov
c77152e3ba
Loosen dependency [#CLICKHOUSE-2828].
2017-04-27 23:47:24 +03:00
artpaul
d269827dfd
#215 convert to Enum with FunctionCast
2017-04-27 23:29:39 +03:00
Alexey Zatelepin
b0993e2d97
simplify test queries [#CLICKHOUSE-2979]
2017-04-27 23:15:45 +03:00
Alexey Zatelepin
aeb83f9ef7
fix key columns indexing for RIGHT and FULL joins [#CLICKHOUSE-2979]
2017-04-27 23:15:45 +03:00
Nikolai Kochetov
9243439e9b
added DictionaryBlockInputStream
2017-04-27 20:16:24 +03:00
robot-metrika-test
419b6e224a
Auto version update to [54230]
2017-04-27 17:38:47 +03:00
alexey-milovidov
9b543dec5c
Update SystemLog.h
2017-04-27 09:02:12 +03:00
alexey-milovidov
2f32c0e9d2
Update SystemLog.h
2017-04-27 09:02:12 +03:00
proller
8cdae06a2d
Add log error on query log fail
2017-04-27 09:02:12 +03:00
proller
2ca3fcf7d3
Fix deadlock when queue_log queue is full
2017-04-27 09:02:12 +03:00
proller
bcb230ebc6
Fix incudes, move code from daemon/OwnPatternFormatter.h
2017-04-27 08:40:27 +03:00
proller
d00ae1a640
fix build on freebsd/macos
2017-04-26 18:16:36 +03:00
robot-metrika-test
c14948bba5
Auto version update to [54229]
2017-04-26 14:19:29 +03:00
proller
cd4a5c040c
More debug io helpers: some types from dbms ( #725 )
...
* release: import options from jenkins script
* correct chdir
* limit parallel build threads
* VERSION_POSTFIX
* add postfix
* support BUILD_TYPE
* Removed unused.
* Fixed error [#CLICKHOUSE-2960].
* Fix version incrementing
* Fix message
* Fix build without icu and readline
* More io helpers: some types from dbms
* Requested changes
2017-04-26 05:50:03 +03:00
robot-metrika-test
b70b6a7b5b
Auto version update to [54228]
2017-04-25 20:54:43 +03:00
artpaul
c19dada4a3
switch while to if
2017-04-25 20:17:13 +05:00
Nikolai Kochetov
bdf998d20f
added StorageDictionary
2017-04-25 12:10:27 +03:00
Alexey Milovidov
5f32cf5d90
Review modifications [#CLICKHOUSE-2828].
2017-04-25 08:10:29 +03:00
Alexey Milovidov
7f0aecfcf6
Review modifications [#CLICKHOUSE-2828].
2017-04-25 08:08:26 +03:00
Alexey Milovidov
74c04c467b
Review modifications [#CLICKHOUSE-2828].
2017-04-25 08:07:18 +03:00
artpaul
fd9d613dc9
#215 add tests
2017-04-25 07:57:49 +03:00
artpaul
323a9aff6d
#215 cast strings or ints to enum on insert
2017-04-25 07:57:49 +03:00
Alexey Milovidov
b007f6ba18
Analyzers: added type inference for higher order functions [#CLICKHOUSE-11].
2017-04-24 07:31:03 +03:00
Alexey Milovidov
c7ff3a0ed1
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-24 06:34:24 +03:00
Alexey Milovidov
1f76b7f568
Fixed test [#CLICKHOUSE-2].
2017-04-24 06:33:49 +03:00
proller
c3a62f1bb0
Fix build without icu and readline
2017-04-24 06:28:28 +03:00
Alexey Milovidov
3788c3d3dd
Added test for Log, TinyLog, StripeLog tables with Nullable types [#CLICKHOUSE-4].
2017-04-23 11:29:38 +03:00
Alexey Milovidov
aa2cd20823
Miscellaneous [#CLICKHOUSE-2].
2017-04-23 11:29:24 +03:00
Alexey Milovidov
6f65176285
Explicitly disallow dummy data types and special Null data type to be in table declaration [#CLICKHOUSE-4].
2017-04-23 10:59:49 +03:00
Alexey Milovidov
69d7432f31
Added test for ALTERing Nullable columns [#CLICKHOUSE-4].
2017-04-23 10:27:31 +03:00
proller
f32862be60
Hotfix for functions lib in client
2017-04-21 22:16:31 +03:00
proller
8cf716fa29
Functions as separate lib
2017-04-21 21:30:16 +03:00
proller
2967fd7b41
Server default config: Full paths to certs
2017-04-21 16:03:48 +03:00
proller
05e9fa2b4b
Server default config: disable https client cert verification
2017-04-21 15:57:44 +03:00
Vladimir Chebotarev
0e0ccdccf1
dbms/src/Common: Comments for HyperLogLogCounter.h. [#CHEBOTAREV-4]
2017-04-21 15:20:03 +03:00
robot-metrika-test
f119fc84ea
Auto version update to [54227]
2017-04-21 13:29:02 +03:00
Vladimir Chebotarev
79e72a685d
dbms/src/Common: Comments for HyperLogLogCounter.h. [#CHEBOTAREV-4]
2017-04-21 12:58:21 +03:00
robot-metrika-test
ac1b7b178d
Auto version update to [54226]
2017-04-21 00:15:32 +03:00
Alexey Milovidov
48c9abc5cf
Added setting 'ignore_key_if_not_keyed' for quotas [#CLICKHOUSE-2969].
2017-04-20 23:30:33 +03:00
Alexey Milovidov
110defd56f
Disabled replicated max parallel fetches/sends, because it does not work properly [#CLICKHOUSE-2960].
2017-04-20 21:38:17 +03:00
Alexey Milovidov
ee6a7ee204
Allow to disable replicated max parallel fetches/sends [#CLICKHOUSE-2960].
2017-04-20 21:37:01 +03:00
Alexey Milovidov
563e21247e
Style [#CLICKHOUSE-2].
2017-04-20 21:35:39 +03:00
alexey-milovidov
512d86ceaf
Merge pull request #706 from yandex/lagging-replicas-failover
...
Check for stale replicas when performing distributed queries
2017-04-20 21:30:02 +03:00
Alexey Milovidov
b491ee7f63
Style [#CLICKHOUSE-2].
2017-04-20 19:41:03 +03:00
Alexey Zatelepin
baf0f70ba3
Failover if the needed table is missing on remote server [#CLICKHOUSE-2141]
2017-04-20 19:19:30 +03:00
Alexey Zatelepin
d1fa449f4a
PR fixes [#CLICKHOUSE-2141]
2017-04-20 17:04:38 +03:00
robot-metrika-test
63cba2a12c
Auto version update to [54225]
2017-04-20 16:24:40 +03:00
robot-metrika-test
0809389249
Auto version update to [54223]
2017-04-20 15:28:54 +03:00
Alexey Milovidov
2d3e09af82
Fixed error [#CLICKHOUSE-2960].
2017-04-20 05:22:17 +03:00
Alexey Zatelepin
ba254a082e
Merge branch 'master' into lagging-replicas-failover
...
Conflicts:
dbms/src/Core/ErrorCodes.cpp
2017-04-19 21:31:29 +03:00
Alexey Zatelepin
c91828e5bf
PR fixes [#CLICKHOUSE-2141]
2017-04-19 21:29:50 +03:00
Alexey Zatelepin
485c58b039
use only ConnectionPoolWithFailover in RemoteBlockInputStream [#CLICKHOUSE-2141]
2017-04-19 20:50:17 +03:00
robot-metrika-test
80c2fa2ba7
Auto version update to [54220]
2017-04-19 18:16:21 +03:00
artpaul
d43c9bb1d0
odbc: send header info even on empty result
2017-04-19 18:42:58 +05:00
Alexey Milovidov
1d93e93af3
Fixed test [#CLICKHOUSE-2].
2017-04-19 08:35:38 +03:00
Alexey Milovidov
53364dcc8d
Fixed totally wrong code; implemented function emptyArrayToSingle for generic case [#CLICKHOUSE-2963].
2017-04-19 08:08:22 +03:00
Alexey Milovidov
3de78d093b
Fixed LEFT ARRAY JOIN for constant arrays [#CLICKHOUSE-2946].
2017-04-19 07:03:11 +03:00
Alexey Milovidov
be316af758
Save stack trace on exception from typeid_cast [#CLICKHOUSE-4].
2017-04-19 06:38:54 +03:00
Alexey Milovidov
0224468be3
Save stack trace on exception from typeid_cast [#CLICKHOUSE-4].
2017-04-19 06:36:50 +03:00
Alexey Milovidov
ed3c0125cd
Added support for Nullable types in higher order functions [#CLICKHOUSE-4].
2017-04-19 06:35:11 +03:00
Alexey Milovidov
3af2bade1b
Added test [#CLICKHOUSE-4].
2017-04-19 06:33:54 +03:00
Alexey Milovidov
1cdb2a2797
Fixed error [#CLICKHOUSE-4].
2017-04-19 06:11:26 +03:00
alexey-milovidov
35abae95c8
Allow to disable ICU ( #711 )
...
* Allow to disable ICU [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 04:06:29 +03:00
Alexey Milovidov
3ad87ec820
Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 03:31:15 +03:00
alexey-milovidov
c9c8c8ec50
Better option to disable mysqlclient ( #710 )
...
* Better support for disabling libmysqlclient [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 03:25:57 +03:00
proller
ab5e6c4840
Fix build without installd unixodbc ( #708 )
...
* Fix build without installd unixodbc
* clean
* no openssl error
* fix
* fix
2017-04-19 03:21:16 +03:00
artpaul
0ba72436db
#214 fix conversion from fixed-string to string
2017-04-19 03:17:44 +03:00
Alexey Milovidov
1fedee71fb
Removed useless includes [#CLICKHOUSE-2].
2017-04-19 02:17:40 +03:00
Alexey Milovidov
0b5645db1a
Better code for parsing part names [#CLICKHOUSE-2].
2017-04-18 23:38:07 +03:00
Alexey Milovidov
47d2ca4136
Fixed error with fetches and sends limit when queue is traversed without pause [#CLICKHOUSE-2960].
2017-04-18 23:36:19 +03:00
Alexey Milovidov
9eca762013
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-18 22:13:20 +03:00
Alexey Milovidov
502f42a572
Fixed translation error [#CLICKHOUSE-3].
2017-04-18 22:13:12 +03:00
Alexey Zatelepin
aa62dc354f
ensure that empty entries are not returned from PoolWithFailoverBase [#CLICKHOUSE-2141]
2017-04-18 16:37:00 +03:00
robot-metrika-test
247d067aab
Auto version update to [54219]
2017-04-18 13:18:45 +03:00
proller
c8a1e19d8f
Some space changes for release testing (clang-format)
2017-04-18 13:17:37 +03:00
proller
4d8b3e7034
Auto version update to [54218]
2017-04-18 13:08:31 +03:00
robot-metrika-test
4200645155
Auto version update to [54217]
2017-04-18 11:12:49 +03:00
robot-metrika-test
3ebee0dbee
Auto version update to [54215]
2017-04-18 10:05:28 +03:00
Alexey Milovidov
95dd78cea4
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-18 06:03:47 +03:00
Alexey Milovidov
22e8b8029b
Implemented ColumnArray::replicate for Nullable, Tuple and for generic case [#CLICKHOUSE-4].
2017-04-18 06:03:39 +03:00
Alexey Milovidov
f51b3992f3
Little better [#CLICKHOUSE-4].
2017-04-17 23:19:09 +03:00
Alexey Zatelepin
d29f3c79c3
translate comments [#CLICKHOUSE-3]
2017-04-17 22:51:42 +03:00
Alexey Zatelepin
e30dc7c254
check replica delay when getting a connection from ConnectionPoolWithFailover [#CLICKHOUSE-2141]
2017-04-17 22:51:41 +03:00
artpaul
d259c0ea24
order results
2017-04-18 00:30:14 +05:00
Yuri Dyachenko
51d2ffc654
fix TODO
2017-04-17 21:15:14 +03:00
Yuri Dyachenko
8fb2b7ee3d
fix zookeeper format version 4
2017-04-17 21:15:14 +03:00
alexey-milovidov
5a8344382b
Update StorageReplicatedMergeTree.cpp
2017-04-17 21:15:14 +03:00
alexey-milovidov
9d3e3675fd
Update ReplicatedMergeTreeLogEntry.h
2017-04-17 21:15:14 +03:00
alexey-milovidov
acd3c3d4ab
Update MergeTreeDataMerger.cpp
2017-04-17 21:15:14 +03:00
Yuri Dyachenko
8792c4f3ca
add 'deduplicate' flag into zookeeper 'merge' Entry
2017-04-17 21:15:14 +03:00
Yuri Dyachenko
10082f3ef4
support DEDUPLICATE option in OPTIMIZE query
2017-04-17 21:15:14 +03:00
Yuri Dyachenko
5e61448f25
add support DEDUPLICATE to MergeTreeDataMerger
2017-04-17 21:15:14 +03:00
Alexey Milovidov
f76680d47e
Fixed function toStringCutToZero with argument of type String [#CLICKHOUSE-2958].
2017-04-17 20:49:11 +03:00
Alexey Zatelepin
0a98f43d3a
add TablesStatus request to protocol [#CLICKHOUSE-2141]
2017-04-17 19:02:48 +03:00
Alexey Zatelepin
2bd089d589
start counting absolute replica delay when there are problems with queue update [#CLICKHOUSE-2141]
2017-04-17 18:06:12 +03:00
f1yegor
b51c6e7592
translate comments
2017-04-17 15:35:21 +03:00
Vitaliy Lyudvichenko
dcb5371844
Fixed CAST(NULL AS Nullable(...)). [#CLICKHOUSE-2754]
2017-04-17 14:44:16 +03:00
f1yegor
0b243a8b01
translate comments
2017-04-16 23:17:32 +03:00
Alexey Milovidov
41e97787e3
Less dependencies [#CLICKHOUSE-2].
2017-04-16 08:40:17 +03:00
Alexey Milovidov
189b58b6c6
ForEach combinator of aggregate functions: more tests [#CLICKHOUSE-2952].
2017-04-16 07:48:17 +03:00
Alexey Milovidov
8ba5ef7a4d
ForEach combinator of aggregate functions: more tests [#CLICKHOUSE-2952].
2017-04-16 07:44:40 +03:00
Alexey Milovidov
3fa1639877
ForEach combinator of aggregate functions: more tests [#CLICKHOUSE-2952].
2017-04-16 07:38:13 +03:00
Alexey Milovidov
6b5e6104a9
ForEach combinator of aggregate functions: little better [#CLICKHOUSE-2952].
2017-04-16 07:35:21 +03:00
Alexey Milovidov
777adabde7
Client: fixed error with percentage [#CLICKHOUSE-2].
2017-04-16 07:28:04 +03:00
Alexey Milovidov
d9793bf5fe
Fixed -ForEach combinator of aggregate functions [#CLICKHOUSE-2952].
2017-04-16 07:16:22 +03:00
Alexey Milovidov
bf0e64e3b4
Less dependencies [#CLICKHOUSE-2952].
2017-04-16 07:13:18 +03:00
Alexey Milovidov
ef3557950c
Less dependencies [#CLICKHOUSE-2952].
2017-04-16 07:03:14 +03:00
Alexey Milovidov
83ed2a794b
Fixed -ForEach combinator of aggregate functions [#CLICKHOUSE-2952].
2017-04-16 06:38:37 +03:00
Maxim Fridental
99dc3ea016
Implement ForEach modifier for aggregate functions.
2017-04-16 02:49:11 +03:00
Alexey Milovidov
676192f16e
Fixed errors on clang [#CLICKHOUSE-2902].
2017-04-15 07:03:12 +03:00
alexey-milovidov
0d2b1f6b6b
Update InterpreterAlterQuery.h
2017-04-15 06:52:04 +03:00
artpaul
050f1d4b0a
drop column from partition for MergeTree
2017-04-15 06:52:04 +03:00
alexey-milovidov
7fcf570c43
Update MergeTreeDataPart.cpp
2017-04-15 06:48:24 +03:00
alexey-milovidov
5a7a155ca1
Update MergeTreeBlockReadUtils.cpp
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
994720682c
Add nullable PREWHERE test. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
8b54e9fc65
Removed extra diagnostic log messages. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
848c927bb7
Fix race condition. Add test. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
56b00a110a
Removed debug code and add docs. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
c78177a28a
More accurate prediction. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
f519100946
Split base and derived class implementations. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
4b566304ca
Tests are passed. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
82af2278fc
Avoid code duplication near MergeTreeBlockInputStream. [#CLICKHOUSE-2]
...
Add preferred_block_size_bytes for non-uniform reader. [#CLICKHOUSE-2902]
Make enums test more deterministic. [#CLICKHOUSE-2]
Refactored MergeTree readers.
Tabs -> spaces.
Move include/DB/ -> src/.
2017-04-15 06:48:24 +03:00
Alexey Milovidov
8075b70eac
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-15 00:09:15 +03:00
Alexey Milovidov
0f0fc68d50
Meaningless changes [#CLICKHOUSE-2].
2017-04-15 00:08:57 +03:00
alexey-milovidov
f03f32e2ab
Update DistinctSortedBlockInputStream.h
2017-04-14 23:00:44 +03:00
alexey-milovidov
e62769190e
Update DistinctSortedBlockInputStream.cpp
2017-04-14 23:00:44 +03:00
Yuri Dyachenko
c6d6f2de3d
add DataStreams::DistinctSortedBlockInputStream
2017-04-14 23:00:44 +03:00
Yuri Dyachenko
b9461b8a1b
add IBlockInputStream::isGroupedOutput
2017-04-14 22:40:04 +03:00
Alexey Milovidov
832cdfde7e
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-12 22:50:57 +03:00
Alexey Milovidov
00ebb1709d
Client: more correct code [#CLICKHOUSE-2].
2017-04-12 22:50:49 +03:00
robot-metrika-test
4c37ba8902
Auto version update to [54214]
2017-04-12 22:35:28 +03:00
Alexey Zatelepin
3ca6efbbd9
substitute parse<size_t>(config.getString()) for config.getUInt64()
2017-04-12 19:37:19 +03:00
Alexey Zatelepin
eb4f895ea5
fix integer overflow [#CLICKHOUSE-2927]
2017-04-12 19:10:06 +03:00
Alexey Zatelepin
935ec549ca
allow specifying log level in extract-from-config [#CLICKHOUSE-2914]
2017-04-12 18:08:52 +03:00
Alexey Zatelepin
0e6c38bd63
throw exception for invalid MergeTreeSettings config values [#CLICKHOUSE-2927]
2017-04-12 18:07:58 +03:00
Alexey Zatelepin
e1c9878c34
more descriptive exception message [#CLICKHOUSE-2927]
2017-04-12 18:07:58 +03:00
proller
c5fc866b66
Fix installing symlinks by cmake ( #682 )
2017-04-12 00:02:15 +03:00
robot-metrika-test
dd6ac568b5
Auto version update to [54213]
2017-04-11 22:47:28 +03:00
proller
824dc5c655
fix freebsd build ( #677 )
...
* fix freebsd build
* Fix freebsd build
* fix freebsd build
* fix freebsd build
* Update ArrayCache.h
* good fix
2017-04-11 22:39:43 +03:00
Alexey Milovidov
18edaca9a2
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-11 22:38:12 +03:00
Alexey Milovidov
fc77dc189b
ODBC driver was moved to separate repository: https://github.com/yandex/clickhouse-odbc [#CLICKHOUSE-6].
2017-04-11 22:37:23 +03:00
alexey-milovidov
d68ea42643
Fixed unbounded growth of total memory tracking (that hits max_memory_usage_for_all_queries limit) ( #681 )
...
* MemoryTracker: more convenient for investigations [#CLICKHOUSE-2935].
* Investigation [#CLICKHOUSE-2935].
* Investigation [#CLICKHOUSE-2935].
* Added comment [#CLICKHOUSE-2935].
2017-04-11 22:10:31 +03:00
Alexey Zatelepin
0b0e8fa7e1
stable column order in BufferBlockInputStream [#CLICKHOUSE-2940]
2017-04-11 21:45:41 +03:00
proller
38e9254d33
fix http methods for ReadWriteBufferFromHTTP ( #675 )
2017-04-11 17:13:19 +03:00
robot-metrika-test
49eb55fac9
Auto version update to [54212]
2017-04-11 16:33:41 +03:00
proller
b01a65f922
Remove missing allocator_stress from cmake
2017-04-11 16:25:27 +03:00
robot-metrika-test
17a06b1f03
Auto version update to [54211]
2017-04-11 16:20:38 +03:00
proller
a360112311
Fix freebsd build ( #672 )
...
* fix freebsd build
* Fix freebsd build
2017-04-11 15:57:31 +03:00
robot-metrika-test
10a735a883
Auto version update to [54210]
2017-04-11 14:43:32 +03:00
Alexey Milovidov
6256a40199
Merge branch 'array-cache'
2017-04-11 05:53:50 +03:00
Alexey Milovidov
174ef70e0a
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-11 05:53:39 +03:00
Alexey Milovidov
a37fa9ca6a
Whitespace [#CLICKHOUSE-2].
2017-04-11 05:53:29 +03:00
Alexey Milovidov
756df579b2
ArrayCache: development [#CLICKHOUSE-2].
2017-04-11 05:52:22 +03:00
Alexey Milovidov
5b29658aae
MemoryTracker: more convenient for investigations [#CLICKHOUSE-2935].
2017-04-11 00:43:59 +03:00
proller
72ccc69212
Debian: simpler package ( #662 )
...
* Allow use external re2 with re2_st=re2
* fix
* remove dupe
* use re2_st in FunctionsStringSearch.h
* fix
* move files from tools/etc to debian
* dont generate control
* version
* ok.
* wip
* Cmake: dont touch CMAKE_INSTALL_PREFIX
* wip
* works!
* clean
* okay
* like old
* wip
* wip
* okay
* clickhouse-server-base-dbg
* clean
* clickhouse-server-dbg
* Debian: Remove daemons
* Update rules
* add source/format
* control clean
* add watch
* clean
* clean
* temp fix build
* clean
* docs
* fake make_control
* fix
* testme
* testme
* add metrika package
* fake metrika files
2017-04-10 20:43:30 +03:00
Alexey Milovidov
ba108daf9d
ArrayCache: development [#CLICKHOUSE-2].
2017-04-10 03:24:58 +03:00
Alexey Milovidov
f418ed37cf
ArrayCache: development [#CLICKHOUSE-2].
2017-04-10 02:10:05 +03:00
Alexey Milovidov
5f8d99cbe9
ArrayCache: development [#CLICKHOUSE-2].
2017-04-09 10:02:13 +03:00
Alexey Milovidov
1005236a09
ArrayCache: development [#CLICKHOUSE-2].
2017-04-09 09:44:45 +03:00
Alexey Milovidov
5ededd6b51
ArrayCache: development [#CLICKHOUSE-2].
2017-04-09 09:39:26 +03:00
Alexey Milovidov
2d0421e801
ArrayCache: development [#CLICKHOUSE-2].
2017-04-09 09:29:26 +03:00
Alexey Milovidov
0ceb92b037
ArrayCache: development [#CLICKHOUSE-2].
2017-04-09 08:19:50 +03:00
Alexey Milovidov
ba9590d340
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-08 04:32:24 +03:00
Alexey Milovidov
a0b9bf5e97
Moved code to cpp [#CLICKHOUSE-2].
2017-04-08 04:32:05 +03:00
proller
957f105377
fix freebsd build
2017-04-08 04:01:21 +03:00
robot-metrika-test
82766247e2
Auto version update to [54209]
2017-04-07 23:50:27 +03:00
Yuri Dyachenko
f508f1e5f3
add ErrorCode OUTPUT_IS_NOT_SORTED
2017-04-07 23:31:53 +03:00
alexey-milovidov
d0629a9df6
Update IBlockInputStream.h
2017-04-07 23:31:53 +03:00
Yuri Dyachenko
d54d44d97d
provide SortedDescription to block pipe
2017-04-07 23:31:53 +03:00
Alexey Milovidov
7454185a0a
Fixed join_use_nulls setting [#CLICKHOUSE-4].
2017-04-07 23:30:52 +03:00
Alexey Milovidov
a7e557f2a3
clickhouse-client: Fixed terminal escape codes in Mosh [#CLICKHOUSE-2930].
2017-04-07 20:56:03 +03:00
Yuri Dyachenko
23e824d7a9
add ClearableSetVariant
2017-04-07 20:12:54 +03:00
Yuri Dyachenko
ad79394799
add ClearableHashSetWithSavedHash
2017-04-07 20:12:54 +03:00
Alexey Milovidov
463fddb2ca
Joins by Nullable keys: development [#CLICKHOUSE-4].
2017-04-07 00:44:52 +03:00
Alexey Milovidov
ab215c0fcd
join_use_nulls: development; added test [#CLICKHOUSE-4].
2017-04-07 00:09:39 +03:00
Alexey Milovidov
928b8d7653
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-06 22:51:53 +03:00
Alexey Milovidov
bd544bbe3a
Fixed error with NULLs [#CLICKHOUSE-4].
2017-04-06 22:51:44 +03:00
proller
adba3b8e6d
delete ReadBufferFromHTTP, use ReadWriteBufferFromHTTP instead
2017-04-06 22:39:25 +03:00
Alexey Milovidov
e36468af29
Renamed test [#CLICKHOUSE-2].
2017-04-06 19:35:23 +03:00
Alexey Milovidov
4132d0ed32
Fixed test [#CLICKHOUSE-2].
2017-04-06 19:34:39 +03:00
proller
1bc311eefd
ReplicatedMergeTree: Max streams to send data [#CLICKHOUSE-2878] ( #656 )
...
* ReplicatedMergeTree: Max streams to send data [#CLICKHOUSE-2878]
* fix
* better messages on client
* change code to 429 TOO_MANY_REQUESTS
* wip
* better message
* Update InterserverIOHandler.h
* Update InterserverIOHTTPHandler.cpp
* Update StorageReplicatedMergeTree.cpp
2017-04-06 16:03:23 +03:00
Alexey Milovidov
31f7fe42d6
Fool's day changed, continued [#CLICKHOUSE-3].
2017-04-05 14:52:23 +03:00
Vitaliy Lyudvichenko
74a92cb8d9
Add test for OPTIMIZE FINAL and more diagnostics. [#CLICKHOUSE-2886]
2017-04-04 15:54:21 +03:00
proller
11218b9ba5
cmake: remove hardcoded src/ in macros add_headers_and_sources
2017-04-04 15:37:04 +03:00
Alexey Milovidov
093c77559f
Added test [#CLICKHOUSE-2754].
2017-04-04 12:24:14 +03:00
Alexey Milovidov
a272614c3d
Fixed error with filtering by Nullable, continued [#CLICKHOUSE-2754].
2017-04-04 12:22:06 +03:00
Alexey Milovidov
5919dcae70
Fixed error in filtering by Nullable column [#CLICKHOUSE-2754].
2017-04-04 11:00:31 +03:00
Alexey Milovidov
baf2e6e95b
Added 'join_use_nulls' setting to allow using NULLs as default values for non-joined rows in case of outer joins [#CLICKHOUSE-2].
2017-04-04 09:52:39 +03:00
robot-metrika-test
af4b87e0ce
Auto version update to [54208]
2017-04-03 13:05:50 +03:00
f1yegor
b4c23f122a
Translated comments
2017-04-02 20:37:49 +03:00
Alexey Milovidov
7f53cec624
Moved headers and sources to same place (part 5) [#CLICKHOUSE-3].
2017-04-01 13:25:45 +03:00
Alexey Milovidov
0f775ef20b
Added missing modification [#CLICKHOUSE-2].
2017-04-01 13:15:01 +03:00
Alexey Milovidov
e91395fa14
Moved headers and sources to same place (part 2) [#CLICKHOUSE-3].
2017-04-01 13:10:04 +03:00
Alexey Milovidov
5784e4a898
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 13:10:04 +03:00
Alexey Milovidov
12dc10feaa
Revert "Moved headers and sources to same place [#CLICKHOUSE-3]."
...
This reverts commit abaa1501fc
.
2017-04-01 12:21:05 +03:00
Alexey Milovidov
abaa1501fc
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:19:00 +03:00
Alexey Milovidov
09e3134bf4
Revert "Using C++17 [#CLICKHOUSE-3]."
...
This reverts commit 431a735efe
.
2017-04-01 11:51:30 +03:00
Alexey Milovidov
ecb0b87bd8
Using C++17 [#CLICKHOUSE-3].
2017-04-01 11:51:30 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
robot-metrika-test
758473dcb1
Auto version update to [54207]
2017-03-31 21:06:36 +03:00
Alexey Milovidov
4423420c20
Merge branch 'master' of github.com:yandex/ClickHouse
2017-03-31 19:00:42 +03:00
Alexey Milovidov
4f44445ff0
Removed all trailing whitespaces [#CLICKHOUSE-2]. find . -name '*.h' -or -name '*.cpp' -or -name '*.cmake' -or -name 'CMakeLists.txt' -or -name '*.html' -or -name '*.xml' | grep -v contrib | xargs sed -i -r -e 's/\s+$//'
2017-03-31 19:00:30 +03:00
robot-metrika-test
5ad761a930
Auto version update to [54206]
2017-03-31 17:47:04 +03:00
proller
fbdcab343f
Limit fetching threads [#CLICKHOUSE-2878] ( #648 )
...
* Max parallel fetches limit
* use MergeTreeSettings.h
* clean
2017-03-31 17:46:48 +03:00
proller
1420c72c37
Auto version update to [54205]
2017-03-31 17:39:48 +03:00
Vitaliy Lyudvichenko
53a7abf77e
Fixed FreeBSD build. [#CLICKHOUSE-3]
2017-03-31 16:54:55 +03:00
Alexey Milovidov
aee25d49a7
Preparation [#CLICKHOUSE-2].
2017-03-31 15:38:22 +03:00
proller
f5a7498559
Fix building Server.cpp without poco NetSSL lib
2017-03-31 15:16:09 +03:00
George
1d317d994f
Fixed mistake that made % not show over 50%
2017-03-31 08:11:31 +03:00
proller
29d4471b9d
Fix build in gcc7 ( #641 )
...
* Fix build in gcc7
* try reduce warn area
* better fix
2017-03-31 08:09:11 +03:00
proller
633b829ca5
Config: example how to load UI tabix.io on http://localhost:8123
2017-03-30 17:11:10 +03:00
Alexey Milovidov
40ce6f86db
Allowed JOIN to work with Nullable keys [#CLICKHOUSE-4].
2017-03-30 17:09:24 +03:00
Igor
a5937ed024
Incriment max_size in Dictionaries:RegionsNames & RegionsHierarchy up to 15M
2017-03-30 14:44:30 +03:00
Alexey Milovidov
3fdb1dd629
Merge branch 'master' of github.com:yandex/ClickHouse
2017-03-29 16:00:17 +03:00
Alexey Milovidov
cc43f989bc
Preparation [#CLICKHOUSE-4].
2017-03-29 14:33:07 +03:00
Alexey Milovidov
034e53e6a4
JOIN: translated comments [#CLICKHOUSE-4].
2017-03-29 14:12:47 +03:00
proller
8a9d9dddb4
Allow build with poco with disabled MongoDB or DataODBC or NetSSL ( #636 )
...
* partial poco support
* fix
* fix optional ssl
* servier without netssl
* fix link order
* testme
* requested changes
* throw on https listen, shutdown tip
2017-03-28 23:30:57 +03:00
proller
5fe01a1e6c
requested fixes
2017-03-28 21:46:22 +03:00
proller
6b9cdd585a
On shutdown wait 5 seconds to complete queries
2017-03-28 21:46:22 +03:00
proller
37f3ccb1ab
cmake: split USE_STATIC_LIBRARIES to USE_STATIC_LIBRARIES + MAKE_STATIC_LIBRARIES
...
fix freebsd install path
fix TEST_COVERAGE flags
2017-03-28 20:50:58 +03:00
Vitaliy Lyudvichenko
b7b485f376
Removed unused settings.
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
60dfa8dbf3
Add requested changes. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
2ab25099cd
Move boost::tests to Google Tests. [#CLICKHOUSE-2]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
a1e27e2b84
Add ru doc. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
0290203f6d
Fix test, add more comments. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
44c9bad289
Add functional test, fixed error. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
b5b863a6f4
Better HTTPHandler and IReadableWriteBuffer. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
c73971d7ec
Split implementations to different files. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
15254f91d2
Improve CMakeLists.txt for tests. [#CLICKHOUSE-2]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
19a2195710
Implemented re-readable buffers, add unit tests. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Alexey Milovidov
3e48021f81
Style [#CLICKHOUSE-2].
2017-03-28 20:40:25 +03:00
robot-metrika-test
9dab131846
Auto version update to [54198]
2017-03-28 20:19:44 +03:00
Ravengg
a973e3898d
Add remove for part log ( #638 )
...
* Add REMOVE_PART
* fix
* fix
* fix codestyle
2017-03-28 20:18:49 +03:00
robot-metrika-test
99c79ba10d
Auto version update to [54197]
2017-03-28 13:13:16 +03:00
Alexey Milovidov
8cf0e87382
Unified JOIN variants (continued) [#CLICKHOUSE-4].
2017-03-28 10:00:03 +03:00
Alexey Milovidov
b859463296
Unified JOIN variants. Added all variants from Set [#CLICKHOUSE-4].
2017-03-28 09:51:22 +03:00
Alexey Milovidov
f55075b1ba
Removed deprecated functions from documentation [#CLICKHOUSE-2].
2017-03-28 07:59:05 +03:00
Alexey Milovidov
f2933e7623
Fixed double whitespace [#CLICKHOUSE-2].
2017-03-28 06:54:25 +03:00
Alexey Milovidov
a8f6a3127d
Implemented limited support for NULLs in IN operator [#CLICKHOUSE-4].
2017-03-28 06:00:33 +03:00
Alexey Milovidov
8b2f769f12
Fixed error after translated comments [#CLICKHOUSE-3].
2017-03-26 05:07:15 +03:00
Alexey Milovidov
14c8003081
Normalized formatting [#CLICKHOUSE-3].
...
Apply in a loop:
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l -P '^(\t*) ' | xargs sed -i -r -e 's/^(\t*) /\1\t/'
2017-03-26 04:28:07 +03:00
Alexey Milovidov
93890423f1
Fixed zero-width spaces [#CLICKHOUSE-3].
...
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l $'\xe2\x80\x8b' | xargs sed -i 's/'$'\xe2\x80\x8b''//g'
2017-03-26 04:20:25 +03:00
Alexey Milovidov
edd405ef29
Merge branch 'docs/translate' of https://github.com/f1yegor/ClickHouse into f1yegor-docs/translate
2017-03-26 04:17:58 +03:00
alexey-milovidov
3d7587cb84
Update DatabaseCloud.cpp
2017-03-26 04:14:49 +03:00
Alexey Milovidov
e6ba252507
Hierarchical dictionaries performance: continued [#CLICKHOUSE-2144].
2017-03-26 03:42:01 +03:00
Alexey Milovidov
d4992da546
Implemented isIn methods for cache dictionaries [#CLICKHOUSE-2144].
2017-03-26 02:42:04 +03:00
f1yegor
bc0d9a2cae
translate comments
2017-03-25 21:12:56 +01:00
Alexey Milovidov
f5434cd2ae
Separated functions for embedded and external dictionaries [#CLICKHOUSE-2144].
2017-03-25 21:11:09 +03:00
Alexey Milovidov
9e7813686e
Merge branch 'master' into hierarchical-dictionaries-performance
2017-03-25 20:53:41 +03:00
Alexey Milovidov
18ecccb856
Moved code to cpp [#CLICKHOUSE-2].
2017-03-25 08:55:49 +03:00
Alexey Milovidov
1ce132d068
Merge branch 'master' of github.com:yandex/ClickHouse
2017-03-25 08:47:34 +03:00
Alexey Milovidov
861684c554
Fixed error found with Svace static analyzer by ISP RAS [#CLICKHOUSE-2].
2017-03-25 08:46:50 +03:00
Alexey Zatelepin
3f9eb5f0f9
implemented clickhouse --extract-from-config tool [#CLICKHOUSE-2876]
2017-03-25 02:31:18 +03:00
Alexey Milovidov
e6a41a0256
Fixed error with NULLs [#CLICKHOUSE-2901].
2017-03-24 07:42:36 +03:00
robot-metrika-test
6042f1d5f9
Auto version update to [54196]
2017-03-23 20:32:02 +03:00
Vitaliy Lyudvichenko
6d1a8c7c97
Consider changes in default profile to initialize default users' settings. [#CLICKHOUSE-2906]
2017-03-23 21:30:22 +04:00
Vitaliy Lyudvichenko
84694ca269
Resolved #594 . Select least busiest buffer for insert into StorageBuffer. [#CLICKHOUSE-2892]
2017-03-23 21:25:14 +04:00
Alexey Zatelepin
1ce0300c51
better detection of local timezone id [#CLICKHOUSE-2852]
2017-03-23 20:13:04 +04:00
Alexey Milovidov
7fa4459f56
Fixed error in config [#CLICKHOUSE-2762].
2017-03-23 18:38:49 +03:00
George3d6
f338a747b0
Update Client.cpp ( #615 )
...
* Update Client.cpp
* Update Client.cpp
Added a check before displaying the % completed to see if progress.total_rows is equal to zero (in order not to display faulty information for table where the % can't be computed). Also added the "elapsed_ns > 500000000" check so that the % still renders in sync with the progress bar.
2017-03-23 04:57:11 +04:00
proller
670e98fa92
allow several <graphite> targets ( #603 )
...
* allow several <graphite> targets
* fix
* fix
* Adjustable parts
* changelog version
* fix
* changelog
* Style fixes
* attachSystemTables
* config describe
* fixes
* fixes
2017-03-21 23:08:09 +04:00
robot-metrika-test
daefb877df
Auto version update to [54190]
2017-03-21 21:41:01 +03:00
Alexey Milovidov
c21b4c52c5
Misc [#CLICKHOUSE-3].
2017-03-21 21:39:07 +03:00
Alexey Milovidov
9d5ea2163c
Fixed error with FixedString filtering [#CLICKHOUSE-2898].
2017-03-21 21:37:35 +03:00
Vitaliy Lyudvichenko
349c96ec8f
Resolved #619 . Eliminated copy paste from benchmark util. [#CLICKHOUSE-3]
2017-03-21 15:18:56 +03:00
robot-metrika-test
f1a66ab2ef
Auto version update to [54189]
2017-03-21 14:34:27 +03:00
Alexey Milovidov
d3ae1267eb
Fixed error when parts of unlimited total size could be selected for merge in case of low free disk space [#CLICKHOUSE-2895].
2017-03-20 23:29:12 +03:00
Alexey Milovidov
910c542994
Added more bitwise functions [#CLICKHOUSE-2884].
2017-03-20 22:16:02 +03:00
Alexey Zatelepin
fccbc82c24
translate comments
2017-03-19 21:58:12 +04:00
Alexey Zatelepin
faadab3034
Allow including config elements from ZooKeeper [#CLICKHOUSE-2794]
2017-03-19 21:58:12 +04:00
robot-metrika-test
72f4236656
Auto version update to [54187]
2017-03-17 00:04:41 +03:00
robot-metrika-test
24ae6cb539
Auto version update to [54185]
2017-03-16 19:47:27 +03:00
proller
4271ef80ea
fix moveing cmake files
2017-03-16 19:46:05 +03:00
Vitaliy Lyudvichenko
3bdb1b6bb0
Merge pull request #600 from yandex/CLICKHOUSE-2886
...
Fix Vertical merge in case of OPTIMIZE FINAL with single part.
2017-03-16 18:31:01 +03:00
proller
5b8ed657f9
fix build ( #602 )
...
* fix build
* fix freebsd
2017-03-16 18:04:05 +03:00
Vitaliy Lyudvichenko
d7d22b80e5
Fix Vertical merge in case of OPTIMIZE FINAL with single part. [#CLICKHOUSE-2886]
2017-03-16 13:42:00 +03:00
proller
8ea8b8a215
add missing file
2017-03-16 13:51:41 +04:00
proller
a08714105b
Simpler vercorclass
2017-03-16 13:51:41 +04:00
proller
930ac5b2ce
move ClickHouseRevision to dbms
2017-03-16 13:51:41 +04:00
proller
28ed324702
add cmake option USE_VECTORIZED_MATH_FUNCTIONS, reorganize auto configs
2017-03-16 13:51:41 +04:00
proller
9a1169fef6
fix tests
2017-03-16 13:51:21 +04:00
Bogdan Voronin
a3ff193fe3
Add log merge for replicas
2017-03-16 00:23:02 +04:00
proller
d777cab172
link Storages/System via lib
2017-03-15 23:43:02 +04:00
proller
25caed0c03
move all attaches of system tables to attach_system_tables.cpp
2017-03-15 23:43:02 +04:00
Alexander Prudaev
227312875c
fix PODArray::resize_fill
2017-03-15 23:42:37 +04:00
Alexey Milovidov
dd0b0205a1
More verbose error message [#CLICKHOUSE-2885].
2017-03-14 22:31:15 +03:00
Alexey Milovidov
701f69de6b
More specific error code [#CLICKHOUSE-2].
2017-03-14 22:06:25 +03:00
Ravengg
b47cc72701
Fix part log ( #591 )
...
* fix_part_log
* fixed language back
* add reset part_log back
* reset part_log when don't need more
* Fix header
* fix
2017-03-14 19:58:34 +04:00
Alexey Milovidov
4e67e05835
Fixed error [#CLICKHOUSE-2].
2017-03-14 03:14:19 +03:00
Alexey Milovidov
d877718bb6
Fixed error [#CLICKHOUSE-2].
2017-03-14 02:13:49 +03:00
Alexey Milovidov
df81e7458f
Addition to prev. revision [#CLICKHOUSE-2].
2017-03-14 00:50:15 +03:00
Alexey Milovidov
0a914b41a8
Addition to prev. revision [#CLICKHOUSE-2].
2017-03-14 00:48:58 +03:00
Alexey Milovidov
8f9a915fef
Addition to prev. revision [#CLICKHOUSE-2].
2017-03-14 00:46:18 +03:00
Alexey Milovidov
79dd801348
Fixed error [#CLICKHOUSE-2].
2017-03-14 00:37:53 +03:00
Alexey Milovidov
bd34b62f4a
Avoid most of cases when server is aborted after exception 'Memory limit (for user) exceeded' [#CLICKHOUSE-2863].
2017-03-13 23:38:42 +03:00
Alexey Milovidov
ef5b9a8c5c
Addition to prev. revision [#CLICKHOUSE-2].
2017-03-13 22:26:31 +03:00
Alexey Milovidov
1c6c751108
Better overloads [#CLICKHOUSE-2].
2017-03-13 22:23:56 +03:00
Alexey Milovidov
f9b4b2012f
Removed zero-width spaces [#CLICKHOUSE-2].
2017-03-13 21:02:45 +03:00
Alexey Milovidov
26788e3938
Formatting [#CLICKHOUSE-2].
2017-03-13 21:01:46 +03:00
Alexey Milovidov
a6a18db6da
Merge branch 'translate/comments' of https://github.com/f1yegor/ClickHouse into f1yegor-translate/comments
2017-03-13 20:51:22 +03:00
Alexey Milovidov
7606eef20c
Style [#CLICKHOUSE-2].
2017-03-13 20:37:20 +03:00
Alexey Milovidov
07f256015b
Revert "Update Client.cpp"
...
This reverts commit 4eb969087d
.
2017-03-13 20:35:17 +03:00
alexey-milovidov
4eb969087d
Update Client.cpp
2017-03-13 21:33:18 +04:00
ks1322
afbd2f78d8
pager for command line client
2017-03-13 00:10:52 +03:00
f1yegor
401425bb89
translate comments
2017-03-12 20:18:07 +01:00
Alexey Milovidov
9dc1f93427
Fixed error [#CLICKHOUSE-2].
2017-03-12 19:20:12 +03:00
Alexey Milovidov
59613e1da4
Fixed build [#CLICKHOUSE-2882].
2017-03-12 19:09:39 +03:00
Alexey Milovidov
a79eb483a2
Added test [#CLICKHOUSE-2882].
2017-03-12 18:54:40 +03:00
Alexey Milovidov
870d36ed5c
Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882].
2017-03-12 18:39:49 +03:00
Alexey Milovidov
8f6966de5a
Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882].
2017-03-12 16:27:25 +03:00
Alexey Milovidov
8184846ee0
Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882].
2017-03-12 16:16:48 +03:00
Alexey Milovidov
65beb6f961
Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882].
2017-03-12 16:03:07 +03:00
Alexey Milovidov
a564fa1872
Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882].
2017-03-12 16:01:19 +03:00
Alexey Milovidov
7532a1d564
Added support for NULLS FIRST and LAST in ORDER BY [#CLICKHOUSE-2882].
2017-03-12 15:56:59 +03:00
Alexey Milovidov
a380fa88da
Fixed debug build [#CLICKHOUSE-2].
2017-03-12 14:09:25 +03:00
Alexey Milovidov
8912e5ea2b
DataTypeNull: move code to cpp [#CLICKHOUSE-2].
2017-03-12 13:38:46 +03:00
Alexey Milovidov
13e1cdc7b5
DataTypeNull: move code to cpp [#CLICKHOUSE-2].
2017-03-12 13:35:26 +03:00
alexey-milovidov
6d5bfc8c6f
Refactoring of numeric DataTypes ( #581 )
...
* Better code [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-03-12 14:13:45 +04:00
Alexey Milovidov
03d525942a
Added generic version for comparison operators [#CLICKHOUSE-2881].
2017-03-12 07:22:52 +03:00
Alexey Milovidov
ef3e44e1bc
Comments [#CLICKHOUSE-2881].
2017-03-12 07:18:17 +03:00
Alexey Milovidov
290717a88c
Revert "Removed useless code [#CLICKHOUSE-2877]."
...
This reverts commit bd70653fc6
.
2017-03-11 08:23:18 +03:00
Alexey Milovidov
612194d53a
Miscellaneous [#CLICKHOUSE-2].
2017-03-11 08:23:01 +03:00
Alexey Milovidov
37d6ee8d49
Attempt to improve performance for comparisons of FixedString(16) [#CLICKHOUSE-2877].
2017-03-11 08:43:52 +04:00
Alexey Milovidov
724599a369
Added test [#CLICKHOUSE-2877].
2017-03-11 08:43:52 +04:00
Alexey Milovidov
4311a09a9f
Enabled fater equality/inequality comparisons for FixedString(16) [#CLICKHOUSE-2877].
2017-03-11 08:43:52 +04:00
Alexey Milovidov
66fa4b9e39
Faster comparison operations for FixedString(16), development [#CLICKHOUSE-2877].
2017-03-11 08:43:52 +04:00
Alexey Milovidov
3c38ba1f1c
Improved performance of ColumnFixedString::filter [#CLICKHOUSE-2877].
2017-03-11 07:41:28 +03:00
Alexey Milovidov
30aae40300
Removed usage of iconv [#CLICKHOUSE-2879].
2017-03-11 07:39:16 +03:00
Alexey Milovidov
93bb49cecd
Using ICU instead of iconv. Improved performance of 'convertCharset' function [#CLICKHOUSE-2879].
2017-03-11 07:36:14 +03:00
Alexey Milovidov
bd70653fc6
Removed useless code [#CLICKHOUSE-2877].
2017-03-11 04:36:07 +03:00
Alexey Milovidov
a3584e5a57
Fixed error [#CLICKHOUSE-2877].
2017-03-11 04:29:45 +03:00
Alexey Milovidov
f15efc4e63
Fixed error [#CLICKHOUSE-2877].
2017-03-11 04:25:27 +03:00
Alexey Milovidov
5441fd6ac6
Fixed error [#CLICKHOUSE-2877].
2017-03-11 04:20:14 +03:00
Alexey Milovidov
61add0f252
Fixed error [#CLICKHOUSE-2877].
2017-03-11 04:18:13 +03:00
Alexey Milovidov
785e32197c
Fixed error [#CLICKHOUSE-2877].
2017-03-11 04:15:25 +03:00
Alexey Milovidov
533a103c3a
Fixed error [#CLICKHOUSE-2877].
2017-03-11 04:15:03 +03:00
Alexey Milovidov
4871ff8ef5
Moved code to cpp [#CLICKHOUSE-2877].
2017-03-11 04:12:51 +03:00
Alexey Milovidov
2d6d90a2cc
ColumnFixedString: better 'replicate' method [#CLICKHOUSE-2877].
2017-03-11 04:12:14 +03:00
Alexey Milovidov
93a930859e
Fixed error [#CLICKHOUSE-2877].
2017-03-11 03:52:20 +03:00
Alexey Milovidov
48de103e0e
Fixed error [#CLICKHOUSE-2877].
2017-03-11 03:49:25 +03:00
Alexey Milovidov
7b33308853
Fixed error [#CLICKHOUSE-2877].
2017-03-11 03:44:07 +03:00
Alexey Milovidov
e8d2a5ece8
Moved code to .cpp [#CLICKHOUSE-2877].
2017-03-11 03:38:30 +03:00
proller
b6e01cd47e
Fix isolated usage of all .h files, move some code to .cpp ( #578 )
...
* split ColumnAggregateFunction.h
* format
* Allow use re2_st without cmake
* use std type in find_first_symbols.h
* fix ArrayEvaluator.h
* include fixes
* split ColumnConstAggregateFunction.h
* fix StorageMaterializedView.h
* split AddingDefaultBlockOutputStream.h
* move CSVRowInputStream::updateDiagnosticInfo to .cpp
* split ParserEnumElement.h
* format
* split DB/Parsers/ParserUseQuery.h
* clean
2017-03-11 04:27:59 +04:00
proller
81594df4d6
split FunctionsString.h ( #571 )
...
* split FunctionsString.h
* wip
* wip
* format
* wip
2017-03-10 21:53:32 +04:00
proller
cfdff04a34
try enable https dictionaries test
2017-03-10 21:53:07 +04:00
proller
a2d78e674f
split FunctionsStringSearch.h ( #572 )
...
* split FunctionsStringSearch.h
* wip
* includes
* format
2017-03-10 21:52:36 +04:00
proller
3284133169
better split FunctionsMiscellaneous.cpp
2017-03-10 16:13:32 +03:00
Alexey Milovidov
75f1d7b820
Added test [#CLICKHOUSE-2789].
2017-03-09 23:40:36 +03:00
Alexey Milovidov
abe0fca1a4
Better coalesce [#CLICKHOUSE-2789].
2017-03-09 23:39:20 +03:00
Alexey Milovidov
1abf959722
Added test [#CLICKHOUSE-2789].
2017-03-09 22:49:11 +03:00
Alexey Milovidov
3107156fd9
Added tests [#CLICKHOUSE-2789].
2017-03-09 22:45:22 +03:00
Alexey Milovidov
ee0f0a8818
Fixed ifNull function [#CLICKHOUSE-4].
2017-03-09 22:39:51 +03:00
Alexey Milovidov
82ae603426
Added function toNullable [#CLICKHOUSE-4].
2017-03-09 22:31:16 +03:00
Alexey Milovidov
8da4e576a9
Make function ifNull to allow to return non-Nullable result [#CLICKHOUSE-2789].
2017-03-09 21:58:44 +03:00
Alexey Milovidov
19354bef87
Renamed test [#CLICKHOUSE-4].
2017-03-09 21:57:53 +03:00
Alexey Milovidov
01d2498bb6
Renamed test [#CLICKHOUSE-4].
2017-03-09 21:56:38 +03:00
Alexey Milovidov
235dbe6183
Fixed error with PartLog [#CLICKHOUSE-2703].
2017-03-09 19:46:11 +03:00
Alexey Milovidov
093d5b8d36
Disabled tests for https source of external dictionaries because test environment has not been prepared yet [#CLICKHOUSE-2].
2017-03-09 07:58:48 +03:00
Alexey Milovidov
caebb93995
Merge remote-tracking branch 'origin/master' into if-support-nulls
...
Conflicts:
dbms/include/DB/Columns/ColumnArray.h
dbms/include/DB/Columns/ColumnString.h
dbms/include/DB/Functions/FunctionsMiscellaneous.h
2017-03-09 07:39:45 +03:00
Alexey Milovidov
5546f7f75b
Normalized formatting [#CLICKHOUSE-3].
2017-03-09 07:26:17 +03:00
Alexey Milovidov
f24df4b648
Removed zero-width spaces [#CLICKHOUSE-3].
2017-03-09 07:18:41 +03:00
Alexey Milovidov
9d37698e70
Updated test [#CLICKHOUSE-2789].
2017-03-09 07:06:41 +03:00
Alexey Milovidov
9c928a5b67
Fixed error [#CLICKHOUSE-2789].
2017-03-09 06:57:51 +03:00
Alexey Milovidov
f9a5902e76
Support for NULLs in function if: continued [#CLICKHOUSE-2873].
2017-03-09 06:34:09 +03:00
f1yegor
48bd5b696c
translate comments
2017-03-09 01:56:38 +01:00
Alexey Milovidov
169fc988b7
Added comment [#CLICKHOUSE-4].
2017-03-08 00:45:52 +03:00
Alexey Milovidov
520e891190
Added test [#CLICKHOUSE-2873].
2017-03-08 00:45:25 +03:00
Alexey Milovidov
f88b46c259
If for Nullable: continued [#CLICKHOUSE-2873].
2017-03-08 00:40:46 +03:00
Alexey Milovidov
9224161223
If for Nullable: continued [#CLICKHOUSE-2873].
2017-03-08 00:40:03 +03:00
Alexey Milovidov
130166ea0b
If for Nullable: continued [#CLICKHOUSE-2873].
2017-03-08 00:35:34 +03:00
Alexey Milovidov
7a3c2789c5
If for Nullable: continued [#CLICKHOUSE-2873].
2017-03-08 00:32:36 +03:00
Alexey Milovidov
8314262f25
If for Nullable: continued [#CLICKHOUSE-2873].
2017-03-07 23:52:09 +03:00
Alexey Milovidov
fe24bb25a0
If for Nullable types: additions [#CLICKHOUSE-2873].
2017-03-07 23:42:01 +03:00
Alexey Milovidov
e20441eee6
Fixed error [#CLICKHOUSE-2873].
2017-03-07 23:11:39 +03:00
Alexey Milovidov
cfbf2ea94d
Fixed totally wrong code [#CLICKHOUSE-4].
2017-03-07 23:03:45 +03:00
proller
1af6311a99
https server ( #561 )
...
* https support in dictionaries
* Style
* Update README.md
* https server wip
* wip
* cf
* wip
* add test
* wip
* wip
* wip
* wip
* clean
* cmt
2017-03-07 23:01:37 +04:00
proller
b3ea06ac12
Split FunctionsMiscellaneous.h ( #564 )
...
* Move funcs from .h to FunctionsMiscellaneous.cpp
* Move funcs from .h to FunctionsMiscellaneous.cpp - templates
* format
* clean includes
* newlines
* cmath
2017-03-07 22:57:15 +04:00
Ravengg
b079dacfd1
Added part_log with statistics scripts ( #549 )
...
* Added part_log
* first_test
* filter and hits_res
* Add renamer and drawer
* Add columns database and table into PartLog
* Add normal way to get table_name and database_name from part
* improve drawer
* add stats for random size parts
* Merge converter and drawer
* make drawer more informative
* add new data
* add new data
* new data
* add long range stats
* for checking best way
* Add add_parts script
* Good style for global merge
* delete commented code
* Fixed spaces to tabs
* Note that Stopwatch is started automatically.
* Style
* Update StorageMergeTree.cpp
* Update StorageReplicatedMergeTree.cpp
* Switch act_time_ms to duration_ms
* Added ability to disable part_log
* fixed getPartLog
* fix usage getPartLog
* fix
2017-03-07 21:13:54 +04:00
Alexey Milovidov
3d9d74e994
Merge branch 'master' into if-support-nulls
2017-03-07 19:11:22 +03:00
proller
293b8b958c
Allow use external re2 with re2_st=re2 ( #547 )
...
* Allow use external re2 with re2_st=re2
* fix
* remove dupe
* use re2_st in FunctionsStringSearch.h
* fix
2017-03-07 20:10:04 +04:00
alexey-milovidov
b6d3230185
Merge pull request #562 from yandex/issue-390
...
insert values by their positions instead of names
2017-03-07 20:08:11 +04:00
artpaul
457900cbb5
move EnrichedDataTypePtr to DataTypes
2017-03-07 19:34:49 +05:00
artpaul
0ef749839c
issue #390 : insert values by their positions instead of name
2017-03-07 15:30:05 +05:00
Alexey Milovidov
8eeeea200a
Better [#CLICKHOUSE-2872].
2017-03-07 04:35:36 +03:00
Alexey Milovidov
0a8d89e4ba
More safe [#CLICKHOUSE-4].
2017-03-07 00:36:33 +03:00
Alexey Milovidov
3d01985d55
Fixed error [#CLICKHOUSE-4].
2017-03-07 00:33:10 +03:00
artpaul
1d8da3f8aa
allow compiler to catch inconsistency
2017-03-06 18:39:29 +05:00
Alexey Milovidov
dc78586115
Added support for NULLs for function if [#CLICKHOUSE-4].
2017-03-06 10:16:29 +03:00
Alexey Milovidov
d7ad0f9fac
Added support for NULLs for function if [#CLICKHOUSE-4].
2017-03-06 10:08:27 +03:00
Alexey Milovidov
76e3c6076e
Added support for NULLs for function if [#CLICKHOUSE-4].
2017-03-06 09:46:45 +03:00
artpaul
f9a08d74a5
remove unused include
2017-03-06 10:58:29 +05:00
artpaul
7f8c41dd1e
remove unused includes
2017-03-06 02:20:02 +05:00
artpaul
91f5e7ae5c
add priority and is_default columns [#CLICKHOUSE-2084]
2017-03-05 16:00:25 +05:00
Alexey Milovidov
7934475779
Added missing line [#CLICKHOUSE-2871].
2017-03-05 06:37:34 +03:00
Alexey Milovidov
a706e96bc4
Added more metrics for StorageBuffer [#CLICKHOUSE-2871].
2017-03-05 04:23:10 +03:00
Alexey Milovidov
5f6f301d9b
Removed useless code [#CLICKHOUSE-2084].
2017-03-05 04:04:35 +03:00
artpaul
aed028eb96
remove meaningless comment
2017-03-05 04:45:35 +04:00
artpaul
76e9213141
system table with graphite configuration [#CLICKHOUSE-2084]
2017-03-05 04:45:35 +04:00
artpaul
1e13e68028
blank for system.graphite
2017-03-05 04:45:35 +04:00
proller
3e835a455f
http server: allow custom root response ( #553 )
...
* http server: allow custom root responce
* fix configs
* Update Server.cpp
2017-03-04 06:00:21 +04:00
alexey-milovidov
1ddc262eb8
Merge pull request #554 from proller/fix1
...
fix scope_exit formatting
2017-03-04 05:59:05 +04:00
proller
e96092c66c
Freebsd fixes ( #555 )
...
* freebsd fixes
* Update SocketImpl.cpp
2017-03-04 05:58:45 +04:00
Alexey Milovidov
d3b22774c9
Comments [#CLICKHOUSE-2788].
2017-03-04 00:15:46 +03:00
proller
05e87ad7a2
fix scope_exit formatting
2017-03-04 00:10:41 +03:00
proller
2252864b3a
clang-format Server.cpp ( #550 )
...
* clang-format Server.cpp
* SCOPE_EXIT
* fix sort includes
* format
2017-03-03 22:59:42 +04:00
artpaul
d43d692414
fix build
2017-03-03 12:38:30 +05:00
Alexey Milovidov
6635f50f75
Indentation [#CLICKHOUSE-2].
2017-03-03 03:39:42 +03:00
proller
107fb86a40
Support multiplie listen addresses, set listen_host to local only ( #545 )
...
* Support multiplie listen addresses, set listen_host to local only
* set correct default
* better config
* no include
* Update Server.cpp
2017-03-03 04:24:56 +04:00
proller
067ff7a5c7
Customizable internal compiler
2017-03-02 16:34:43 +03:00
alexey-milovidov
35215d077e
Merge pull request #544 from serebrserg/METR-23630
...
METR-23630: add pointInEllipses function
2017-03-02 17:05:26 +04:00
alexey-milovidov
5ee48f9f33
Update FunctionsGeo.h
2017-03-02 16:13:02 +04:00
serebrserg
6b3135959d
add test for pointInEllipses
2017-03-02 14:33:38 +03:00
artpaul
be7c70da5c
fix IN with nested tuples [#CLICKHOUSE-1999]
2017-03-01 19:48:21 +05:00
serebrserg
42ce089aa6
add pointInEllipses function
2017-03-01 12:23:49 +03:00
proller
0e91c47066
Allow build with external double-conversion lz4 zstd re2 zookeeper ( #531 )
...
* Allow build with external double-conversion lz4 zstd re2 zookeeper
* fix
* fix
* freebsd fixes
* spaces
* fix
* fix
* fix
* wip
* move
* fix
2017-03-01 03:49:04 +04:00
proller
5cf6f4d8c1
Fix host header in http request to dictionaries ( #526 )
...
* Tests: dictionaries: allow completely disable mongo and mysql
* Fix host header in http request to dictionaries
2017-02-28 01:09:57 +04:00
proller
57c336f267
HTTPDictionarySource support HTTPS ( #510 )
...
* https support in dictionaries
* Style
2017-02-28 01:07:57 +04:00
proller
deb956ce97
Tests: dictionaries: allow completely disable mongo and mysql ( #519 )
2017-02-26 21:45:46 +04:00
proller
1c1b6ce9f5
Mongo: support new sha1 auth with new external poco 1.7.8 ( #518 )
...
* Mongo: support new sha1 auth with new external poco 1.7.8
* add test
* disable test
2017-02-21 23:24:02 +04:00
proller
3e824b3b4f
add test (Not found column date in block. There are only columns: x.) [#CLICKHOUSE-1993]
2017-02-21 22:45:37 +04:00
Alexey Zatelepin
7090d0861a
reinitialize primary key after ALTER [#CLICKHOUSE-2853]
2017-02-21 21:32:04 +04:00
Vitaliy Lyudvichenko
3ee4e6b79b
Banned Null(AggregateFunction(...)) type in arrayReduce. Fix test. [#CLICKHOUSE-2845]
2017-02-18 22:25:19 +03:00
Vitaliy Lyudvichenko
411ba82a24
Fix after PR merge.
2017-02-18 03:26:32 +03:00
proller
7df722d731
Speedup of CacheDictionary (part2: complex) [#CLICKHOUSE-2176] ( #502 )
...
* Auto version update to [54146]
* Fixing dictionaries [#CLICKHOUSE-2176]
* fix
* Auto version update to [54194]
* Revert "Auto version update to [54194]"
This reverts commit 3367678a04
.
* wip
* wip
* clean
* const
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* Fixing dictionaries [#CLICKHOUSE-2176]
* style
* style
* style
* wip
* wip
* struct
* clean
* clean
* clean
* wip
* wip broken
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* clean
* space
* tester
* wip
* fix
* clean
* style
2017-02-18 00:37:03 +04:00
alexey-milovidov
1fa8c17f9f
Update ColumnConstAggregateFunction.h
2017-02-18 00:36:31 +04:00
alexey-milovidov
5755891325
Update PODArray.h
2017-02-18 00:36:31 +04:00
alexey-milovidov
554688bd89
Update evaluateConstantExpression.h
2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
453ab0423c
Fixed compiler errors after rebase.
2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
1572cf39fb
Translate doc comments in IColumn.h to English. [#CLICKHOUSE-3]
2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
8bcb1fe970
Add support of AggregateFunction constants in VALUES and Set. [#CLICKHOUSE-2845]
2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
f1b5e927a5
Fixed typo in test.
2017-02-18 00:36:31 +04:00
Vitaliy Lyudvichenko
97c4211409
Add support of scalars with AggregateFunction() type. [#CLICKHOUSE-2845]
...
Fixed segfaults for arrayReduce. [#CLICKHOUSE-2787]
2017-02-18 00:36:31 +04:00
alexey-milovidov
c52670776c
Merge pull request #507 from proller/fix1
...
Tests: external: add more options to script
2017-02-17 18:52:57 +04:00
Alexey Milovidov
96449a2bc9
Changed default implementation of COUNT(DISTINCT ...) to avoid confusion [#CLICKHOUSE-3].
2017-02-17 17:12:23 +03:00
proller
fdf634125e
Tests: external: add more options to script
2017-02-17 17:12:02 +03:00
Artemkin Pavel
cc62477403
extra distinct pass was eliminated in case of single stream mode [#METR-23942] ( #492 )
2017-02-16 00:17:46 +04:00
Alexey Zatelepin
93a9e64624
fix usage of possibly invalidated iterator [#CLICKHOUSE-2]
2017-02-15 22:39:18 +03:00
proller
2ec141d5e9
Speedup of CacheDictionary (part1) [#CLICKHOUSE-2176] ( #474 )
...
* Auto version update to [54146]
* Fixing dictionaries [#CLICKHOUSE-2176]
* fix
* Auto version update to [54194]
* Revert "Auto version update to [54194]"
This reverts commit 3367678a04
.
* wip
* wip
* clean
* const
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* Fixing dictionaries [#CLICKHOUSE-2176]
* style
* style
* style
* struct
* clean
* clean
* clean
2017-02-14 22:06:21 +04:00
proller
b5b64ceb2b
Fix apple .so version ( #490 )
...
* Cmake: fix fallback to internal libs if no external found
* wip
* style
* fix
* Fix apple .so version
2017-02-14 16:34:32 +04:00
Alexey Milovidov
354bed5bd7
Merge branch 'master' of github.com:yandex/ClickHouse
2017-02-13 19:12:46 +03:00
Alexey Milovidov
db9935337c
Misc [#CLICKHOUSE-2].
2017-02-13 19:12:34 +03:00
proller
f8d2f19280
Fix odbc include, clang-format fixes, misc ( #484 )
...
* Cmake: fix fallback to internal libs if no external found
* wip
* style
* fix
2017-02-13 17:59:34 +04:00
Alexey Milovidov
8f9b70a1d7
Style [#CLICKHOUSE-2].
2017-02-13 13:38:50 +03:00
Alexey Milovidov
bb7247993a
Merge branch 'uncompressed-size-in-system-tables'
2017-02-13 01:08:31 +03:00
Alexey Milovidov
7bf5373390
Added comments [#CLICKHOUSE-2831].
2017-02-13 01:07:38 +03:00
Alexey Milovidov
792bcbb5af
Merge branch 'master' into uncompressed-size-in-system-tables
2017-02-13 01:06:21 +03:00
Alexey Milovidov
1073c39cb3
Translated comments [#CLICKHOUSE-3].
2017-02-13 00:13:14 +03:00
proller
f84833f69b
fix missing includes ( #483 )
2017-02-12 14:40:47 +03:00
artpaul
f8a0f55335
#360 explicit types
2017-02-12 16:09:55 +05:00
artpaul
0c1dab92a3
#360 ordinary
2017-02-12 15:34:08 +05:00
Alexey Milovidov
c9b4a163be
Added info about uncompressed size to system.columns table [#CLICKHOUSE-2831].
2017-02-12 01:31:22 +04:00
alexey-milovidov
4593d363d1
Fix poor distributed insertion scalability ( #481 )
...
* Fix poor scalability of INSERT into Distributed table [#CLICKHOUSE-2791].
* Fix poor scalability of INSERT into Distributed table (continued) [#CLICKHOUSE-2791].
* Misc [#CLICKHOUSE-2791].
* Fixed error [#CLICKHOUSE-2791].
2017-02-12 00:20:57 +04:00
Alexey Milovidov
6a24e21f77
Renamed test [#CLICKHOUSE-2].
2017-02-11 23:03:23 +03:00
Alexey Milovidov
30737aa7a1
Added info about uncompressed size to system.columns table [#CLICKHOUSE-2831].
2017-02-11 20:43:28 +03:00
alexey-milovidov
9f243d1637
Merge pull request #477 from yandex/merge_with_metrika
...
Merge with metrika
2017-02-11 00:32:34 +04:00
alexey-milovidov
cee5ab01fb
Merge branch 'master' into merge_with_metrika
2017-02-11 00:27:15 +04:00
ivanzhukov
2b725f87c4
Translate comments to English
2017-02-11 00:22:08 +04:00
Alexey Zatelepin
66501c8026
ALTER primary key tests [#CLICKHOUSE-2027]
2017-02-10 22:19:40 +04:00
Alexey Zatelepin
9918965c5f
Allow metadata-only ALTER of primary key columns [#CLICKHOUSE-2027]
2017-02-10 22:19:40 +04:00
Alexey Zatelepin
7b57402291
allow ALTERing Enum types in primary key columns [#CLICKHOUSE-2795]
2017-02-10 22:19:40 +04:00
Alexey Milovidov
d065087506
Fixed timeouts of ALTER [#CLICKHOUSE-2836].
2017-02-10 21:09:49 +03:00
Alexey Milovidov
a39f333c1b
Fixed test [#CLICKHOUSE-2755].
2017-02-10 19:57:12 +03:00
Alexey Milovidov
0673f75265
Fixed absolutely incorrect code; added test [#CLICKHOUSE-2755].
2017-02-10 13:20:06 +03:00
Alexey Milovidov
74cef1d69e
Miscellaneous [#CLICKHOUSE-2].
2017-02-10 12:07:27 +03:00
Alexey Milovidov
c4ff9b52e9
Miscellaneous [#CLICKHOUSE-2].
2017-02-10 12:04:31 +03:00
Alexey Milovidov
17e3a4ff1f
Implemented aggregate function 'count' with Nullable arguments to count number of not-NULL values [#CLICKHOUSE-2833].
2017-02-10 12:02:10 +03:00
Alexey Milovidov
1ad4e2752e
Block::unshareColumns: more complete implementation [#CLICKHOUSE-2].
2017-02-10 09:12:22 +03:00
Alexey Milovidov
0d903dbf07
Addition to prev. revision; added test [#CLICKHOUSE-2832].
2017-02-10 09:03:09 +03:00
Alexey Zatelepin
6b47ac1fc0
translate comments [#CLICKHOUSE-3]
2017-02-10 09:05:33 +04:00
Alexey Zatelepin
aace171ef6
forbid multidimensional array columns in MergeTree tables [#CLICKHOUSE-2803]
2017-02-10 09:05:33 +04:00
Alexey Zatelepin
8d001db5d5
forbid altering of date column in MergeTree engines
2017-02-10 09:05:33 +04:00
alexey-milovidov
0d5c0b8350
Proper behaviour of aggregate functions of nullable arguments ( #473 )
...
* Proper behaviour of aggregate functions of Nullable arguments [#CLICKHOUSE-2832].
* Proper behaviour of aggregate functions of Nullable arguments [#CLICKHOUSE-2832].
2017-02-10 09:03:42 +04:00
Alexey Milovidov
434500e98d
More tests [#CLICKHOUSE-2804].
2017-02-09 09:58:18 +03:00
Alexey Milovidov
abdb714b35
Added test [#CLICKHOUSE-2804].
2017-02-09 09:53:51 +03:00
Alexey Milovidov
82f3f5ad66
Fixed error with GraphiteMergeTree [#CLICKHOUSE-2804].
2017-02-09 09:45:29 +03:00
Alexey Milovidov
f4cb4cafb1
Fixed error with usage of 'version' column in GraphiteMergeTree [#CLICKHOUSE-2804].
2017-02-09 07:21:56 +03:00
Alexey Milovidov
d95663865f
Miscellaneous [#CLICKHOUSE-2].
2017-02-09 02:56:40 +03:00
Alexey Milovidov
297d5653ae
Merge remote-tracking branch 'origin/better-graphite-merge-tree'
2017-02-09 02:49:47 +03:00
Alexey Milovidov
b9a96b480d
Added test [#CLICKHOUSE-2825].
2017-02-09 00:49:15 +03:00
Alexey Milovidov
2e9ab88cb7
Fixed error by removal of obsolete optimization [#CLICKHOUSE-2825].
2017-02-09 00:45:19 +03:00
Alexey Milovidov
40e71651e5
Allowed hash functions to be constant expressions [#CLICKHOUSE-2819].
2017-02-08 23:33:50 +03:00
proller
9bbe8fe5c4
Dynamic library mode ( #471 )
...
* Cmake: UNBUNDLED option
* Dynamic library mode
2017-02-08 22:53:00 +04:00
Pavel Kartavyy
b28f41250c
RegionNames: add ability to set directory without config
2017-02-08 20:39:20 +03:00
proller
131283de5b
Fix external poco and empty http responce
2017-02-08 20:54:32 +04:00
Pavel Kartavyy
730f23793e
add missed header
2017-02-08 18:46:20 +03:00
proller
045fd6f55d
fix build without readline
2017-02-08 01:40:08 +03:00
proller
f87ae6808f
cmake: USE_INTERNAL_ZLIB_LIBRARY ( #463 )
...
* Correct fix of building with external poco with disabled sending progress
Revert "Removed wrong code [#CLICKHOUSE-2]."
This reverts commit 33f9917f53
.
* fix
* fix
* cmake: USE_INTERNAL_ZLIB_LIBRARY
2017-02-08 01:28:13 +04:00
proller
b2b16b407f
More include fixes ( #462 )
...
* More include fixes
* fix
2017-02-08 01:26:32 +04:00
Alexey Milovidov
f0ca756f52
GraphiteMergeTree: fixed handling of 'version' column [#CLICKHOUSE-2804].
2017-02-08 00:20:28 +03:00
proller
083e9cc3aa
Correct fix of building with external poco with disabled sending progress ( #461 )
...
* Correct fix of building with external poco with disabled sending progress
Revert "Removed wrong code [#CLICKHOUSE-2]."
This reverts commit 33f9917f53
.
* fix
2017-02-07 23:45:55 +04:00
Vitaliy Lyudvichenko
38c900bf2f
Add request changes for #436 PR.
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
d6385af19b
Add test for _table index in storage Merge. [#CLICKHOUSE-2758]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
98af273cbc
Fixed and refactored storage Merge. [#CLICKHOUSE-2758]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
e92862a7d7
Use intuitive side-by-side diff if test failed. [#CLICKHOUSE-2]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
df9ada58fb
Add CAST(NULL AS Null) support. [#CLICKHOUSE-2787]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
11b3aad985
Interpret subquery with empty result as Null literal. [#CLICKHOUSE-2760]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
67d8ce3568
Fast SIGINT handling and correct exception handling in Benchmark. [#CLICKHOUSE-2774]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
240a6c242f
Fixed clickhouse-local options. [#CLICKHOUSE-2779]
2017-02-07 23:43:31 +04:00
Vitaliy Lyudvichenko
76916739e2
Fixed arrayReduce. Refactoring of ObjectPool. [#CLICKHOUSE-2787]
2017-02-07 23:43:31 +04:00
Alexey Milovidov
1302c3958a
Comments [#CLICKHOUSE-3].
2017-02-07 22:21:59 +03:00
artpaul
4c57c9731e
#437 encode name of default_database so it's can be passed through connection
2017-02-07 20:11:02 +04:00
Vitaliy Lyudvichenko
d6e9af834a
Refined comments and status codes. [#CLICKHOUSE-2799]
2017-02-07 20:08:43 +04:00
Vitaliy Lyudvichenko
7e5a075ef3
Fixed long ProcessList lock in case of remote server timeout. [#CLICKHOUSE-2799]
2017-02-07 20:08:43 +04:00
proller
326e382387
Include fixes ( #454 )
...
* Fix some includes and missing definitions
* fix
2017-02-07 19:38:57 +04:00
Pavel Kartavyy
fb5ff00c4a
RegionsHierarchies add missed ctor for tests
2017-02-07 15:25:18 +03:00
Pavel Kartavyy
1ec7e349ac
add missed header
2017-02-07 13:41:44 +03:00
Alexey Milovidov
33f9917f53
Removed wrong code [#CLICKHOUSE-2].
2017-02-07 09:24:23 +03:00
Alexey Milovidov
3465997629
Merge branch 'master' of github.com:yandex/ClickHouse
2017-02-07 09:18:34 +03:00
Alexey Milovidov
099f8038d4
Fixed error [#CLICKHOUSE-2].
2017-02-07 09:18:16 +03:00
Alexey Zatelepin
3479a5dddf
fix incorrect usage of memcpySmall [#CLICKHOUSE-2808]
2017-02-07 09:33:07 +04:00
Alexey Zatelepin
7522cecd67
differentiate setrlimit error messages
2017-02-07 09:28:53 +04:00
Alexey Milovidov
26646001e3
Style [#CLICKHOUSE-2].
2017-02-07 08:21:31 +03:00
artpaul
d85edff892
implement conversion from error codes to different http statuses
2017-02-07 09:20:20 +04:00
Pavel Kartavyy
224ba16dcb
use project source and binary dirs instead of global dirs
2017-02-06 18:15:19 +03:00
artpaul
245b715723
#455 also update tmp_files_info_path when files_info_path is changed
2017-02-06 17:09:54 +05:00
proller
edd9da119f
External poco fix
...
y
2017-02-03 03:08:42 +04:00
proller
90ab2b57c8
Fix external poco
2017-02-03 01:43:09 +03:00
proller
27cde5f8c8
Fix some includes and missing definitions ( #446 )
2017-02-03 02:08:19 +04:00
proller
85533eab57
Fix compiling with external poco ( #445 )
...
* Freebsd: libcctz build fix
* Fix compiling with external poco
2017-02-02 23:08:12 +04:00
proller
7b397b89cd
Add missing counters [#CLICKHOUSE-2197] ( #439 )
...
* Add missing counters [#CLICKHOUSE-2197]
* ../../tests/external_dictionaries/generate_and_test.py : allow not break tests when one type fail
2017-02-02 22:11:00 +04:00
proller
4f83c8c291
Server: print info about listen address and port on start
2017-02-02 22:09:26 +04:00
proller
fa3467bad8
Add missing include
2017-02-02 19:30:27 +03:00
proller
b8f1ea4805
Fix reloading http dictionaries [#CLICKHOUSE-2176] ( #433 )
...
* Fixing dictionaries [#CLICKHOUSE-2176]
2017-02-01 20:53:18 +03:00
Alexey Milovidov
8d4a08cf9f
Updated test [#CLICKHOUSE-32].
2017-02-01 07:15:20 +03:00
Alexey Milovidov
b8ac19999c
Settings 'max_memory_usage_for_user' and 'max_memory_usage_for_all_queries': do not interfere between different queries [#CLICKHOUSE-2796].
2017-02-01 06:53:10 +03:00
Alexey Milovidov
172b385247
Added missing modification [#CLICKHOUSE-2184].
2017-02-01 06:10:12 +03:00
Alexey Milovidov
9d04189793
Updated test [#CLICKHOUSE-32].
2017-02-01 05:40:27 +03:00
Alexey Milovidov
1c8841b04e
Fixed error [#CLICKHOUSE-2184].
2017-02-01 05:35:06 +03:00
Alexey Milovidov
8cabe639f5
Fixed errors in exception message [#CLICKHOUSE-2184].
2017-02-01 05:31:35 +03:00
Alexey Milovidov
6efae7240e
Merge branch 'master' of github.com:yandex/ClickHouse
2017-02-01 04:20:21 +03:00
Alexey Milovidov
efbfbdc7a3
Added setting 'send_progress_in_http_headers', disabled by default [#CLICKHOUSE-32].
2017-02-01 04:19:32 +03:00
proller
c51801d776
Change default user and paths [#CLICKHOUSE-2715] ( #382 )
...
* Changing default user to clickhouse and path to /var/lib/clickhouse [#CLICKHOUSE-2715]
* wip
* Auto version update to [54141]
* Get version from saved in cmake
2017-01-31 23:53:05 +04:00
proller
3135ff17b6
Fix compiling utils without readline ( #429 )
...
* Fix compiling utils without readline
* fix
2017-01-31 23:34:30 +04:00
Vitaliy Lyudvichenko
abf5066618
Fix spelling errors. [#CLICKHOUSE-3]
2017-01-31 23:28:37 +04:00
Vitaliy Lyudvichenko
1b7b2b8373
Avoid extra current limits checks in non-root streams. [#CLICKHOUSE-2745]
2017-01-31 23:28:37 +04:00
Vitaliy Lyudvichenko
6500a84dd0
Fix overestimation of AggregateFunction columns size during remote aggregation. [#CLICKHOUSE-2745]
2017-01-31 23:28:37 +04:00
Alexey Zatelepin
4ecfd44015
[#CLICKHOUSE-2115] PR changes:
...
* do not insert produced value into the cache if the cache has been reset.
* less logging
* cosmetic fixes
2017-01-31 22:45:10 +04:00
Alexey Zatelepin
b3264620c3
translate comments [#CLICKHOUSE-3]
2017-01-31 22:45:10 +04:00
Alexey Zatelepin
0fdcdd7bdb
Introduce LRUCache::getOrSet(), use it to avoid mark cache stampede [#CLICKHOUSE-2115]
2017-01-31 22:45:10 +04:00
Alexey Milovidov
48db8d121d
Moved code out of header [#CLICKHOUSE-2].
2017-01-31 21:39:01 +03:00
proller
79a7e893c7
system.build_options: move generated data to cpp, dont regenerate every compile ( #423 )
...
* system.build_options: move generated data to cpp, dont regenerate every compile
* Fix linking iconv under macos and freebsd
Partially Revert "Removed usage of glib [#CLICKHOUSE-2]."
This reverts commit e4ff740ef1
.
* fix
2017-01-31 22:03:56 +04:00
alexey-milovidov
bce4ea38e5
Merge pull request #428 from yandex/ch-2044
...
check keys inside attribute section of dictionary's config
2017-01-31 19:54:31 +04:00
artpaul
5c1d2af4d8
check keys inside attribute section of dictionary's config [#CLICKHOUSE-2044]
2017-01-31 18:27:02 +05:00
proller
9cea606881
Fix linking iconv under macos and freebsd
...
Partially Revert "Removed usage of glib [#CLICKHOUSE-2]."
This reverts commit e4ff740ef1
.
2017-01-31 04:15:59 +03:00
alexey-milovidov
9e94066e98
Merge pull request #418 from ludv1x/query-kill
...
Fix SHOW PROCESSLIST segfault. [#CLICKHOUSE-2120]
2017-01-31 00:50:33 +04:00
Vladimir Chebotarev
995a773865
dbms: More customizable HyperLogLogCounter. [#METR-24057]
2017-01-30 22:17:00 +03:00
Alexey Milovidov
48ed301e56
Revert "Revert "KILL QUERY""
...
This reverts commit 720781a7bc
.
2017-01-30 18:43:20 +03:00
Vitaliy Lyudvichenko
9f8a967e6c
Fix SHOW PROCESSLIST segfault. [#CLICKHOUSE-2120]
2017-01-30 16:24:42 +03:00
alexey-milovidov
720781a7bc
Revert "KILL QUERY"
2017-01-30 16:20:11 +04:00
Alexey Milovidov
4ae2bed9b6
Fixed wrong test [#CLICKHOUSE-2785].
2017-01-30 11:28:42 +03:00
Alexey Milovidov
d4d3d36ff0
Removed useless code; improved performance [#CLICKHOUSE-2785].
2017-01-30 09:48:10 +03:00
Alexey Milovidov
ecc6d2a7b9
Moved a function to header for inlining [#CLICKHOUSE-2].
2017-01-30 08:22:49 +03:00
Alexey Milovidov
3b0900e6cf
Moved code to .cpp [#CLICKHOUSE-2027].
2017-01-30 08:13:58 +03:00
Alexey Milovidov
3552de49ea
Added comment; fixed uninitialized read [#CLICKHOUSE-20227].
2017-01-30 01:53:29 +03:00
Vitaliy Lyudvichenko
7f73f91705
Made test for KILL QUERY more deterministic. [#CLICKHOUSE-2120] [resloved #283 ]
2017-01-28 02:30:19 +03:00
Alexey Milovidov
ff54b9466d
Fixed error [#CLICKHOUSE-2191].
2017-01-28 00:46:15 +03:00
proller
46037bb670
Allow link with jemalloc ( #404 )
...
* Allow link with jemalloc
* wip
* fix
* fix
2017-01-28 00:00:02 +04:00
proller
8b4b1534e3
Cmake: Test on having sse ( #405 )
...
* Cmake: Test on having sse
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* fix
* fix
* fix
* fix
* fix
* fix
2017-01-27 23:55:33 +04:00
proller
bff12c5f93
Fix clang 4.0
2017-01-27 20:30:23 +03:00
proller
9462f568fa
Fix external http test: move server start from run.sh to generate_and_test.py ( #409 )
...
* Fix external http test: move server start from run.sh to generate_and_test.py
* fix
2017-01-27 17:40:23 +03:00
alexey-milovidov
de9bc1dc75
Text formats allow to skip errors ( #407 )
...
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Allow to skip errors in text formats: added settings 'input_format_allow_errors_num' and 'input_format_allow_errors_ratio' [#CLICKHOUSE-2778]. https://github.com/yandex/ClickHouse/issues/134
* Added test [#CLICKHOUSE-2778].
2017-01-27 08:29:47 +04:00
Vitaliy Lyudvichenko
55390715b1
Add requested changes. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
891437e531
Add docs. Add TEST version of KILL QUERY. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
649fd1922b
Add TOO_MUCH_SIMULTANEOUS_QUERIES exception. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
6bd306ca8c
Improve KILL QUERY. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
b1bccb0bb2
Query KILL QUERY. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +04:00
Alexey Milovidov
a106520a0d
Added requested change [#CLICKHOUSE-2191].
2017-01-27 00:51:30 +03:00
Artemkin Pavel
06d1509da1
check that sharding_key exists in the table and has numeric type ( #392 )
...
* check that sharding_key exists in the table and has numeric type [#CLICKHOUSE-2191]
* style
* infer type of sharding expression [#CLICKHOUSE-2191]
2017-01-27 01:47:33 +04:00
proller
20d6c20a72
Dont throw if setrlimit failed (just print warning), Little build_options fix ( #403 )
...
* Little improve system.build_options
* Dont throw if setrlimit failed (just print warning)
Little build_options fix
2017-01-27 01:46:17 +04:00
Alexey Milovidov
43971faf32
Merge branch 'localhost' of https://github.com/proller/ClickHouse into proller-localhost
2017-01-27 00:42:56 +03:00
alexey-milovidov
0e38fdcbf3
Remove stringstream performance on very short queries ( #406 )
...
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Renamed variable in test [#CLICKHOUSE-2].
* Benchmark: whitespace [#CLICKHOUSE-2].
* Manual version update [#CLICKHOUSE-2].
2017-01-27 01:30:11 +04:00
Alexey Milovidov
1e2553afed
Enabled vertical merge [#CLICKHOUSE-2069].
2017-01-26 23:09:06 +03:00
proller
d319d97bb6
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-26 17:36:38 +03:00
proller
51e17fc6c5
Tests: Allow change http port in http_server.py
2017-01-26 17:29:13 +03:00
proller
35dce017a2
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-26 15:07:29 +03:00
proller
987e8833b5
test http server: listen on ipv6
2017-01-26 03:22:40 +03:00
proller
e715ddd72a
SELECT * FROM system.build_options [#METR-24175] ( #398 )
...
* start [#METR-24175]
* missing
* wip
* add spaces
* wip
* wip
* fix
* fix
* missing
* style fix
2017-01-26 02:24:36 +04:00
proller
70e641f58a
Fix readline finding on mac; use config for readline vars ( #397 )
...
* Fix readline finding on mac; use config for readline vars
* fix
2017-01-26 00:14:41 +04:00
proller
f8d1573946
Various arm64 compile fixes on utils ( #394 )
2017-01-25 23:17:13 +04:00
Alex Zatelepin
543b6ee757
ensure that all streams point to to_mark after reading even if max_rows_to_read is zero [#CLICKHOUSE-2775] ( #396 )
2017-01-25 23:16:31 +04:00
proller
4f00b3833d
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-25 22:08:56 +03:00
proller
f04dffc05c
External dictionary profiling [#CLICKHOUSE-2197] ( #381 )
...
* Profiling external cached dictonaries [#CLICKHOUSE-2197]
* style
2017-01-25 22:40:44 +04:00
proller
3fc4998a01
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-25 21:27:23 +03:00
proller
59a4a94b9e
fix
2017-01-25 21:27:16 +03:00
proller
f890af1f8d
Remove code and includes from Collator.h, fix including <unicode/...> in dbms ( #395 )
2017-01-25 22:19:15 +04:00
proller
7982d84904
wip
2017-01-25 18:14:39 +03:00
proller
3219d20df8
Group all tests with 127.0.0.{1,2} into 'shard' tag
2017-01-25 17:00:08 +03:00
proller
b7cedc1ad2
wip
2017-01-25 16:21:35 +03:00
proller
9c3133deac
wip
2017-01-25 16:17:13 +03:00
proller
1b7054e15b
Merge remote-tracking branch 'upstream/master' into localhost
2017-01-25 15:38:46 +03:00
alexey-milovidov
8c0e81f8cb
Remove stringstream performance on very short queries ( #391 )
...
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
2017-01-25 05:53:29 +04:00
Alexey Zatelepin
281744667d
use common cur_mark_idx for all streams [#CLICKHOUSE-2116]
2017-01-25 00:48:58 +04:00
Alexey Zatelepin
dc1f0d96bd
add clarifying comment [#CLICKHOUSE-2116]
2017-01-25 00:48:58 +04:00
Alexey Zatelepin
f7ca39da77
translate comments [#CLICKHOUSE-3]
2017-01-25 00:48:58 +04:00
Alexey Zatelepin
32e5713822
do not load marks when reading the whole part [#CLICKHOUSE-2116]
2017-01-25 00:48:58 +04:00
Vitaliy Lyudvichenko
c9e52a5cf9
Add requested PR changes. [#CLICKHOUSE-2145] [issue #325 ]
2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
20a5ae4bc4
Add protection from accidental DROP queries. [#CLICKHOUSE-2184]
2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
74cd2c2334
Add more docs for OPTIMIZE. [#CLICKHOUSE-3]
2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
ef6a4e08db
Resolved #325 . Add 401 HTTP status code if auth failed. [#CLICKHOUSE-3]
2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
1c38a89785
Add source_part_names column into system.merges. [#CLICKHOUSE-2145]
2017-01-24 22:26:29 +04:00
Alexey Milovidov
0c31684721
Addition to prev. revision [#CLICKHOUSE-32].
2017-01-24 00:33:46 +03:00
Alexey Milovidov
f51f52e0df
Added test [#CLICKHOUSE-32].
2017-01-24 00:29:05 +03:00
Alexey Milovidov
8282998f5c
Fixed error with progress in HTTP headers [#CLICKHOUSE-32].
2017-01-24 00:21:38 +03:00
alexey-milovidov
17a4ead1ef
Setting fsync metadata ( #380 )
...
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
2017-01-23 22:05:07 +04:00
Alexey Milovidov
791198e619
Comments [#CLICKHOUSE-3].
2017-01-23 20:10:31 +03:00
Alexey Milovidov
38d25022c6
Comments [#CLICKHOUSE-3].
2017-01-23 19:00:26 +03:00
Alexey Milovidov
e527980799
Comments [#CLICKHOUSE-3].
2017-01-23 18:55:56 +03:00
Alexey Milovidov
18782e1473
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-23 11:22:46 +03:00
Alexey Milovidov
6894df0304
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 20:26:55 +03:00
Alexey Milovidov
c9b761f7b6
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 20:09:00 +03:00
Alexey Milovidov
48ae82e1c7
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 19:34:17 +03:00
Alexey Milovidov
4aa90e908d
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 19:19:24 +03:00
Alexey Milovidov
c903a23864
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 19:12:30 +03:00
Alexey Milovidov
3476e4d4c4
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:48:53 +03:00
Alexey Milovidov
b2457e076a
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:42:42 +03:00
Alexey Milovidov
f1eb84bd48
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:20:37 +03:00
Alexey Milovidov
e56ccc9754
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:13:50 +03:00
Alexey Milovidov
bfa46f9dff
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:13:04 +03:00
Alexey Milovidov
2d324ed4df
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:12:18 +03:00
Alexey Milovidov
f29f6b787d
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:11:34 +03:00
Alexey Milovidov
22527f52f3
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:10:09 +03:00
Alexey Milovidov
d8b95e6d2a
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 18:06:04 +03:00
Alexey Milovidov
00475da25e
Sending progress in HTTP headers [#CLICKHOUSE-32].
2017-01-22 18:03:55 +03:00
Alexey Milovidov
579667cef3
Added test for fixed bad behaviour [#CLICKHOUSE-2765]. https://github.com/yandex/ClickHouse/pull/183#discussion_r87731018
2017-01-22 16:24:50 +03:00
Alexey Milovidov
25d87ff135
Updated test according to changed semantic of some time zone functions [#CLICKHOUSE-2765].
2017-01-22 16:21:59 +03:00
Alexey Milovidov
6ec9380510
Allow to set server timezone from configuration file [#CLICKHOUSE-2765].
2017-01-22 15:53:24 +03:00
Alexey Milovidov
b1a5efffc0
Fixed error [#CLICKHOUSE-2765].
2017-01-22 14:45:41 +03:00
Alexey Milovidov
cf84e8e646
Fixed error [#CLICKHOUSE-2765].
2017-01-22 14:40:03 +03:00
Alexey Milovidov
0197e4dd3d
Fixed error [#CLICKHOUSE-2765].
2017-01-22 14:37:38 +03:00
Alexey Milovidov
8f79ee0f87
Addition to prev. revision [#CLICKHOUSE-2765].
2017-01-22 14:36:10 +03:00
Alexey Milovidov
e7976421a2
Fixed error in test [#CLICKHOUSE-2].
2017-01-22 14:25:45 +03:00
Alexey Milovidov
989e76b16c
Fixed test [#CLICKHOUSE-2].
2017-01-22 14:10:11 +03:00
Alexey Milovidov
812fd4fe87
Added function 'timezone' for introspection [#CLICKHOUSE-2765].
2017-01-22 14:07:45 +03:00
Alexey Milovidov
8ce006aa69
Fixed error in prev. revision [#CLICKHOUSE-2765].
2017-01-22 13:56:48 +03:00
Alexey Milovidov
bcdf3ce82c
Translated comment [#CLICKHOUSE-3].
2017-01-22 12:07:34 +03:00
Alexey Milovidov
641faac912
More correct time zones support; removed support for non-constant time zone argument [#CLICKHOUSE-2765].
2017-01-22 11:57:34 +03:00
alexey-milovidov
ed5b521110
Less dependencies 2 ( #378 )
...
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
2017-01-21 08:24:28 +04:00
Alexey Milovidov
28f4efa461
Allowed one test to take less time under valgrind [#CLICKHOUSE-2].
2017-01-21 05:55:23 +03:00
proller
1adf0bb3e1
Remove -metrika-yandex postfix from package names ( #377 )
2017-01-20 23:58:13 +04:00
proller
2688f4563f
cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config ( #375 )
...
* Manual version update to [54135]
* Temporary release script fix [#METRIQA-732]
* cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config
2017-01-20 21:58:07 +04:00
proller
89190cfdd0
fix external dictionary tests (use forking http server) [#CLICKHOUSE-22] ( #373 )
...
* renamed: debian/compressor-metrika-yandex.install -> debian/clickhouse-compressor-metrika-yandex.install
* fix external dictionary tests (use forking http server) [#CLICKHOUSE-22]
2017-01-20 15:44:21 +03:00
Alexey Milovidov
fde7ef7d6c
Field: exception safety [#CLICKHOUSE-2756].
2017-01-20 11:28:44 +03:00
Alexey Milovidov
94bfc2ee4b
Added test [#CLICKHOUSE-2761].
2017-01-20 09:05:27 +03:00
Alexey Milovidov
4d1ac56ba9
Fixed rare memory leak [#CLICKHOUSE-2761].
2017-01-20 08:25:25 +03:00
Alexey Milovidov
459db30c29
Preparations [#CLICKHOUSE-2761].
2017-01-20 08:00:04 +03:00
Alexey Milovidov
63c3870fd0
Modified test [#CLICKHOUSE-2756].
2017-01-20 07:27:51 +03:00
Alexey Milovidov
2468021bbb
Addition to prev. revision [#CLICKHOUSE-2756].
2017-01-20 07:10:41 +03:00
Alexey Milovidov
d95edafa96
Addition to prev. revision [#CLICKHOUSE-2756].
2017-01-20 07:08:31 +03:00
Alexey Milovidov
89fd071e1c
Addition to prev. revision [#CLICKHOUSE-2756].
2017-01-20 07:06:05 +03:00
Alexey Milovidov
7fa73c5462
Field: fixed memory leak [#CLICKHOUSE-2756].
2017-01-20 06:36:04 +03:00
Alexey Milovidov
6226132be0
Modified test [#CLICKHOUSE-2756].
2017-01-20 06:24:57 +03:00
Alexey Milovidov
bb61f917b8
Memory leak in Field: investigation [#CLICKHOUSE-2763].
2017-01-20 05:34:35 +03:00
Alexey Milovidov
5c1ae060a4
Miscellaneous [#CLICKHOUSE-2761].
2017-01-20 05:22:18 +03:00
Alexey Milovidov
7a971df887
Fixed error in function multiIf [#CLICKHOUSE-2763].
2017-01-20 04:41:30 +03:00
Alexey Milovidov
904ac284da
Fixed error with multiIf function [#CLICKHOUSE-2763].
2017-01-20 04:18:57 +03:00
Alexey Milovidov
7f0e61bfbd
Misc [#CLICKHOUSE-2].
2017-01-20 04:05:09 +03:00
Alexey Milovidov
039914dfa4
Fixed error with replaceRegexp functions [#CLICKHOUSE-2763].
2017-01-20 04:00:13 +03:00
Alexey Milovidov
f9d0b94c62
replaceRegexp: fixed bad code and error [#CLICKHOUSE-2763].
2017-01-20 00:31:51 +03:00
proller
04d2149e8a
enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR… ( #372 )
...
* enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR=1' option
* add -Werror for utils
2017-01-19 23:30:58 +04:00
Alexey Zatelepin
2184d4d51b
stabilize flappy test [#CLICKHOUSE-2133]
2017-01-19 17:01:11 +03:00
Alexey Zatelepin
0eb48dc84e
cosmetic fixes [#CLICKHOUSE-2133]
2017-01-19 15:02:30 +03:00
Alexey Zatelepin
f5a25c341c
translate comments [#CLICKHOUSE-3]
2017-01-19 03:48:59 +04:00
Alexey Zatelepin
5de1975bc4
parse INTO OUTFILE clause [#CLICKHOUSE-2133]
2017-01-19 03:48:59 +04:00
proller
cafc2fbbb1
Fix ENABLE_LIBTCMALLOC=0 build ( #359 )
...
Again fix ENABLE_LIBTCMALLOC=0 build
2017-01-18 18:09:10 +03:00
proller
04e2baebed
Cmake ( #358 )
...
cmake: dont install files from CLICKHOUSE_PRIVATE_DIR
2017-01-18 17:35:59 +03:00
proller
7e21f1dd14
Fix build with -D NO_TCMALLOC, better sanitizers calls ( #355 )
...
* Fix generate includes for clang
* Fix build with -D NO_TCMALLOC, better sanitizers calls
2017-01-18 16:41:47 +04:00
proller
db0fce346a
Freebsd clang3.8 compile fixes ( #352 )
...
* Freebsd clang3.8 compile fixes
* clean
2017-01-18 01:00:23 +04:00
Alexey Milovidov
ffed6b1d5e
Added one more column to system.parts [#CLICKHOUSE-2757].
2017-01-17 23:54:32 +03:00
Alexey Milovidov
e407bf879c
system.parts: added a column for primary key size in bytes in RAM [#CLICKHOUSE-2757].
2017-01-17 23:49:16 +03:00
Alexey Milovidov
c74d585b0b
Merge branch 'master' of github.com:yandex/ClickHouse
2017-01-17 23:48:14 +03:00
Alexey Milovidov
9f48890a8e
NULLs: added missing method [#CLICKHOUSE-4].
2017-01-17 23:47:37 +03:00
proller
0fc364165f
fix space
2017-01-17 19:00:24 +00:00
proller
2fe033d00e
Fix compiling in freebsd/clang
2017-01-17 18:03:32 +00:00
Alexey Milovidov
2730267bdc
Fixed test, that was dependent on time zones [#CLICKHOUSE-3].
2017-01-17 15:58:10 +03:00
Alexey Milovidov
00d848d927
Test 'merge_tree_alter': removed dependency on system time zone [#CLICKHOUSE-3].
2017-01-17 15:58:10 +03:00
Alexey Milovidov
930b947393
Make 'formats' test time-zone independent [#CLICKHOUSE-3].
2017-01-17 15:58:10 +03:00
Alexey Milovidov
4e6125c92b
Fixed test, that was dependent on time zones [#CLICKHOUSE-3].
2017-01-17 08:00:49 +03:00
Alexey Milovidov
e86c46d937
Test 'merge_tree_alter': removed dependency on system time zone [#CLICKHOUSE-3].
2017-01-17 07:53:37 +03:00
Alexey Milovidov
7934a6e259
Make 'formats' test time-zone independent [#CLICKHOUSE-3].
2017-01-17 07:45:30 +03:00
Alexey Milovidov
06b2404e6a
Merge branch 'master' into hierarchical-dictionaries-performance
...
Conflicts:
dbms/include/DB/Functions/FunctionsDictionaries.h
2017-01-17 03:31:31 +03:00
Alexey Milovidov
01c2caef8c
Miscellaneous [#CLICKHOUSE-11].
2017-01-17 03:25:43 +03:00
proller
29475c94c0
Reorganize includes, less depends in .h files
2017-01-16 22:47:11 +03:00
Alexey Milovidov
7a526b88d4
Fixed error on clang [#CLICKHOUSE-2].
2017-01-14 12:17:40 +03:00
Alexey Milovidov
5c89153e5e
Fixed error on clang [#CLICKHOUSE-2].
2017-01-14 12:11:11 +03:00
Alexey Milovidov
7c4010441c
Fixed error on clang [#CLICKHOUSE-2].
2017-01-14 12:09:38 +03:00
Alexey Milovidov
530796a5f8
Fixed error on clang [#CLICKHOUSE-2].
2017-01-14 12:07:26 +03:00
Alexey Milovidov
58e5dad1a1
Squashed commit of the following:
...
commit e712f469a5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:59:13 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2a00282308
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:58:30 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 9e06f407c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:55:14 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 9581620f1e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:54:22 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2a8564c68c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:47:34 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit cf60632d78
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:40:09 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit ee3d1dc6e0
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:22:49 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 65592ef711
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:18:17 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 37972c2573
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:17:06 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit dd909d1499
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:16:28 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 3cf43266ca
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:15:42 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 6731a3df96
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:13:35 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 1b5727e0d5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:11:18 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit bbcf726a55
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:09:04 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit c03b477d5e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:06:30 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2986e2fb04
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:05:44 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 5d6cdef13d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:04:53 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit f2b819b25c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:01:47 2017 +0300
Less dependencies [#CLICKHOUSE-2]
2017-01-14 12:00:19 +03:00
Alexey Milovidov
335a69d79c
Added type inference for lambdas [#CLICKHOUSE-11].
2017-01-14 10:19:47 +03:00
Alexey Milovidov
0493c3ff77
Added missing file [#CLICKHOUSE-11].
2017-01-14 09:22:28 +03:00
Alexey Milovidov
c83ae92d41
Analyzers: added AnalyzeLambdas step [#CLICKHOUSE-11].
2017-01-14 08:19:48 +03:00
Alexey Milovidov
d99a642b9b
Fixed error in 'distributed_product_mode' setting, which breaks 'allow_databases' option [#CLICKHOUSE-2718].
2017-01-14 06:10:16 +03:00
Alexey Milovidov
0440e031c5
Translated comments [#CLICKHOUSE-3].
2017-01-14 05:53:40 +03:00
Alexey Milovidov
4fe2a4432a
External dictionaries: MySQL source: Allow columns with names from reserved words [#CLICKHOUSE-2717].
2017-01-14 05:30:03 +03:00
Alexey Milovidov
b16c9a3e12
Fixed error with 'max_memory_usage_for_user' setting during distributed query execution [#METR-24117].
2017-01-14 04:55:35 +03:00
Vitaliy Lyudvichenko
c56d3724e4
Speedup accurate integer comparisons. Simplified code. [#CLICKHOUSE-29] [#CLICKHOUSE-194]
2017-01-13 23:01:24 +03:00
proller
821121fe3f
Use localhost by name
2017-01-13 18:43:43 +00:00
Vitaliy Lyudvichenko
a1dcd24a76
New behavior for least() and greatest() function with (Int64, UInt64) arguments. [#CLICKHOUSE-29]
2017-01-13 21:17:50 +03:00
proller
ee3882f251
Allow link with external libs: poco, tcmalloc
2017-01-13 14:25:44 +03:00
Alexey Milovidov
c3b69f1052
Removed fragile (over-complicated) test [#CLICKHOUSE-2].
2017-01-13 04:07:02 +03:00
Alexey Milovidov
012c5f1079
Disabled flappy tests [#CLICKHOUSE-2].
2017-01-13 02:31:04 +03:00
alexey-milovidov
9808a5ab9e
Merge pull request #323 from ludv1x/accurate-compare
...
Accurate numbers comparison
2017-01-12 23:31:07 +04:00
alexey-milovidov
915495634c
Merge pull request #327 from proller/freebsd
...
Freebsd: preparing port, misc build/install chandes
2017-01-12 23:26:10 +04:00
artpaul
3292ca81cb
fix distinct on single string field [#CLICKHOUSE-28]
2017-01-12 20:34:41 +05:00
Vitaliy Lyudvichenko
0807fb6d86
Interpret .py files in test dir as tests. [#CLICKHOUSE-194]
...
More precise performance test.
2017-01-12 18:21:47 +03:00
Vitaliy Lyudvichenko
9dd3bc3b60
Removed old code. [#CLICKHOUSE-194]
2017-01-12 18:21:29 +03:00
Vitaliy Lyudvichenko
3e53e3268a
Add test for accurate numbers comparisons. [#CLICKHOUSE-194]
2017-01-12 18:21:24 +03:00
Vitaliy Lyudvichenko
7d86246b46
Add safe_convervsion case optimization. Fixed MIN_INT64 comparison. Fixed NaN comparisons between floats. [#CLICKHOUSE-194]
2017-01-12 18:21:17 +03:00
Vitaliy Lyudvichenko
b264b853a5
Added accurate numbers comparison. [#CLICKHOUSE-194]
2017-01-12 18:20:45 +03:00
proller
ecb7642c4f
Freebsd: preparing port, misc build/install chandes
2017-01-12 13:51:30 +00:00
Alexey Milovidov
eb2c8196fd
Analyzers: development [#METR-23947].
2017-01-12 05:08:33 +03:00
Alexey Milovidov
522e96d4bf
Analyzers: added support for lambda expressions when searching for columns [#METR-23947].
2017-01-12 05:06:50 +03:00
Alexey Milovidov
916552f175
Improved formatting of lambda expressions [#METR-23947].
2017-01-12 04:55:14 +03:00
Alexey Milovidov
38c9ad9761
Fixed error [#METR-2944].
2017-01-12 04:29:32 +03:00
Alexey Milovidov
480cb57a2f
Added test [#METR-24079].
2017-01-12 03:33:02 +03:00
Alexey Milovidov
e8855c6f0f
Fixed error with multiple calls of LogicalExpressionAnalyzer [#METR-24079].
2017-01-12 03:26:39 +03:00
proller
d00765fb15
Find pthread lib by cmake
2017-01-11 16:40:02 +03:00
Alexey Milovidov
0f03a7bbdc
Fixed error with checking number of arguments of functions [#METR-24078].
2017-01-11 05:47:43 +03:00
artpaul
402f974fb7
fix where <const> in (<const>) expression; [#METR-24043]
2017-01-10 19:16:37 +05:00
alexey-milovidov
c58cb0ccf2
Merge pull request #295 from proller/METR-23811
...
Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811]
2017-01-09 23:21:03 +04:00
alexey-milovidov
1d641212c8
Merge pull request #309 from ludv1x/METR-24025
...
Fixed segfault in aggregation combinators for complex nested functions
2017-01-09 20:14:16 +04:00
proller
1649b003a0
Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811]
2017-01-09 16:42:29 +03:00
artpaul
79eb282eda
fix formatting of LIMIT BY; add tests with remote() [#METR-23881]
2017-01-09 18:24:54 +05:00
Vitaliy Lyudvichenko
fb40b74270
Fixed segfault in aggregation combinators using complex functions with Arenas. [#METR-24025]
2017-01-09 15:41:47 +03:00
alexey-milovidov
a07898cc5a
Merge pull request #306 from yandex/issue-200
...
#200 : remove dependency to the view if backend storage can't be created
2017-01-09 02:34:00 +04:00
artpaul
903e1eab98
#200 : remove dependency to the view if backend storage can't be created
2017-01-09 01:34:40 +05:00
Alexey Zatelepin
1b61f2a9d3
use zlib-ng from contrib everywhere [#METR-23582]
2017-01-08 22:24:38 +03:00
Alexey Zatelepin
502864b40a
Merge branch 'master' into METR-23582
...
Conflicts:
dbms/include/DB/IO/WriteBufferFromHTTPServerResponse.h
dbms/src/Core/ErrorCodes.cpp
2017-01-08 12:53:17 +03:00
Alexey Zatelepin
600bb5f29a
[#METR-23582]
...
* introduce ZlibDeflatingWriteBuffer and ZlibInflatingReadBuffer
* use them instead of Poco streams
* seamlessly uncompress multiple concatenated gzip streams
2017-01-07 20:22:58 +03:00
Alexey Milovidov
6e5dd26dda
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-07 02:47:16 +03:00
Alexey Milovidov
2436d43637
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-07 01:54:05 +03:00
Alexey Milovidov
d89ee33ce2
Squashed commit of the following:
...
commit c567d4e1fe
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:35:01 2017 +0300
Style [#METR-2944].
commit 26bf3e1228
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:33:11 2017 +0300
Miscellaneous [#METR-2944].
commit eb946f4c6f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:30:19 2017 +0300
Miscellaneous [#METR-2944].
commit 78c867a147
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:11:41 2017 +0300
Miscellaneous [#METR-2944].
commit 6604c5c83c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:56:15 2017 +0300
Miscellaneous [#METR-2944].
commit 23fbf05c1d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:47:52 2017 +0300
Miscellaneous [#METR-2944].
commit 98772faf11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:46:05 2017 +0300
Miscellaneous [#METR-2944].
commit 3dc636ab9f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:39:46 2017 +0300
Miscellaneous [#METR-2944].
commit 3e16aee954
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:38:03 2017 +0300
Miscellaneous [#METR-2944].
commit ae7e7e90eb
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:34:15 2017 +0300
Miscellaneous [#METR-2944].
2017-01-06 20:41:19 +03:00
Alexey Milovidov
2f7ff07e1f
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-06 19:33:05 +03:00
Alexey Milovidov
89d4873b9e
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-06 16:36:08 +03:00
Alexey Milovidov
a1a6ddd01e
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-05 19:34:05 +03:00
Alexey Milovidov
76b06c3d42
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-05 14:03:59 +03:00
Alexey Milovidov
c63882f048
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-05 14:03:24 +03:00
Alexey Milovidov
0f7d0c3969
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-05 12:26:49 +03:00
Alexey Milovidov
51df4e19e2
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-05 10:25:23 +03:00
Alexey Milovidov
96e1ed3412
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-04 21:16:18 +03:00
Alexey Milovidov
f553cb5197
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-04 21:13:41 +03:00
Alexey Milovidov
60623e7ca5
Preparations [#METR-20307].
2017-01-04 20:34:45 +03:00
Alexey Milovidov
ed107f675a
Preparations [#METR-20307].
2017-01-04 20:25:07 +03:00
Alexey Milovidov
37e1c9d18f
Miscellaneous [#METR-20307].
2017-01-04 19:31:09 +03:00
Alexey Milovidov
779d549d3d
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-04 18:05:31 +03:00
Alexey Milovidov
a1ebd7f103
Added support for qualified asterisk in parser [#METR-20307].
2017-01-04 14:23:27 +03:00
Alexey Milovidov
25dd3affb3
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-04 12:05:23 +03:00
Alexey Milovidov
9acd77d985
Miscellaneous [#METR-2944].
2017-01-04 12:04:01 +03:00
Alexey Milovidov
a4d9d766b6
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-04 09:52:02 +03:00
Alexey Milovidov
3af6d65c2b
Miscellaneous [#METR-2944].
2017-01-04 09:51:01 +03:00
Alexey Milovidov
8074f2de59
Implemented TODO [#METR-19266].
2017-01-04 07:30:18 +03:00
Alexey Milovidov
f7fa5b73b9
Changed names of files with NULL-related data to be more consistent [#METR-19266].
2017-01-04 07:15:38 +03:00
Alexey Milovidov
cf295ee681
Style [#METR-2944].
2017-01-04 07:00:37 +03:00
Alexey Milovidov
625b6c6050
Function "sleep": do not sleep during query analyze (continued) [#METR-21574].
2017-01-04 06:43:43 +03:00
Alexey Milovidov
d6735c2a23
Function "sleep": do not sleep during query analyze [#METR-21574].
2017-01-04 06:37:59 +03:00
Alexey Milovidov
77a0159ff8
Miscellaneous [#METR-2944].
2017-01-04 06:35:05 +03:00
Alexey Milovidov
95e9ef2fc4
Reworked InJoinSubqueriesPreprocessor [#METR-2944].
2017-01-04 05:37:47 +03:00
Alexey Milovidov
4140e7e889
Get out garbage from AST [#METR-2944].
2017-01-03 10:37:29 +03:00
Alexey Milovidov
af5e2c9953
Less const_casts [#METR-2944].
2017-01-03 04:49:19 +03:00
Alexey Milovidov
604bd6c5a3
Less const_casts [#METR-2944].
2017-01-03 04:42:17 +03:00
Alexey Milovidov
9dc44c1a3a
Renamed methods for bulk binary serialization (continued) [#METR-2944].
2017-01-03 02:31:26 +03:00
Alexey Milovidov
1f3aeb066a
Renamed methods for bulk binary serialization (continued) [#METR-2944].
2017-01-03 02:08:09 +03:00
Alexey Milovidov
701ca28c85
Renamed methods for bulk binary serialization [#METR-2944].
2017-01-03 01:47:28 +03:00
Alexey Milovidov
3fbb597694
Addition to prev. revision [#METR-2944].
2017-01-02 23:52:30 +03:00
Alexey Milovidov
5460a13d58
Addition to prev. revision [#METR-2944].
2017-01-02 23:47:59 +03:00
Alexey Milovidov
ca37f28b5f
Renamed methods Block::rows and Block::rowsInFirstColumn [#METR-2944].
2017-01-02 23:45:27 +03:00
Alexey Milovidov
2b4f3b5d34
Renamed method (less confusion) [#METR-2944].
2017-01-02 23:12:12 +03:00
Alexey Milovidov
00127a1d37
Miscellaneous [#METR-2944].
2017-01-02 23:08:23 +03:00
artpaul
b64e7a45b6
rename tests
2016-12-31 13:36:22 +05:00
Alexey Milovidov
de845f7801
Fixed style [#METR-23933].
2016-12-31 05:05:37 +03:00
alexey-milovidov
376db5785b
Merge pull request #297 from proller/METR-23933
...
Add header Keep-Alive: timeout=.. to http server response [#METR-23933]
2016-12-31 06:04:49 +04:00
alexey-milovidov
0dd2191c87
Merge branch 'master' into issue-111
2016-12-31 05:53:52 +04:00
Vitaliy Lyudvichenko
694b0fad97
Reverted system.events changes. Added docs for system.metrics. [#METR-239111]
2016-12-31 03:06:23 +03:00
Vitaliy Lyudvichenko
07d720565c
Added profile events for INSERTs. [#METR-23930]
...
Added new column and CurrentMetrics data into system.events table.
Removed unnecessary code from Context and Merge list. [#METR-23911]
2016-12-31 02:39:53 +03:00
Vitaliy Lyudvichenko
108bfac17e
Added memory tracking events and columns for merges. [#METR-23911]
2016-12-31 02:39:53 +03:00
proller
c2a6681522
Add header Keep-Alive: timeout=.. to http server responce [#METR-23933]
2016-12-30 23:52:56 +03:00
artpaul
3987df8233
rename tests
2016-12-30 23:32:51 +05:00
Vitaliy Lyudvichenko
35485c03d9
Fixed race condition during dictionaries' config file update. [#METR-22224]
2016-12-30 21:30:29 +03:00
artpaul
c74b8e2366
add comments; count exact number of inserted rows [#METR-23881]
2016-12-30 18:40:12 +05:00
artpaul
273e58f8d7
add tests [#METR-23881]
2016-12-30 17:57:09 +05:00
artpaul
333d47ee2e
don't allow partial sort in case if LIMIT BY is present [#METR-23881]
2016-12-30 17:56:07 +05:00
artpaul
9cfc019a12
fix calculation of condition for skipping all block [#METR-23881]
2016-12-30 16:15:17 +05:00
Alexey Milovidov
4dee097ba8
Fixed build with clang on Xenial [#METR-2944].
2016-12-30 11:07:02 +03:00
Alexey Milovidov
943717b8d0
Merge branch 'master' of github.com:yandex/ClickHouse
2016-12-30 09:48:43 +03:00
Alexey Milovidov
1c9d06638e
Removed function that was in a wrong place [#METR-2944].
2016-12-30 09:48:11 +03:00
Alexey Milovidov
2f6e582f78
Updated test [#METR-19266].
2016-12-30 09:28:20 +03:00
Alexey Milovidov
0a83cfccde
NULLs: Test also output formats [#METR-19266].
2016-12-30 09:23:30 +03:00
Alexey Milovidov
9a17c907b0
Added test for parsing NULLs in various formats [#METR-19266].
2016-12-30 09:18:57 +03:00
Alexey Milovidov
81a08bcd87
Addition to prev. revision [#METR-19266].
2016-12-30 08:55:23 +03:00
Alexey Milovidov
3f9fc77e22
Fixed most cases of misleading messages "Could not print diagnostic info because two last rows aren't in buffer (rare case)" [#METR-20000].
2016-12-30 08:40:49 +03:00
Alexey Milovidov
3336a66161
Addition to prev. revision [#METR-19266].
2016-12-30 08:31:52 +03:00
Alexey Milovidov
80937d8226
Addition to prev. revision [#METR-19266].
2016-12-30 08:31:14 +03:00
Alexey Milovidov
1dd26b4487
Addition to prev. revision [#METR-19266].
2016-12-30 08:22:45 +03:00
Alexey Milovidov
0323a74942
Added test [#METR-19266].
2016-12-30 08:17:55 +03:00
Alexey Milovidov
baf29f5c48
NULLs support: fixed totally wrong code [#METR-19266].
2016-12-30 08:13:14 +03:00
Alexey Milovidov
cefec8be5a
Great simplification [#METR-2944].
2016-12-30 04:53:21 +03:00
Alexey Milovidov
de30204c00
Added test for pretty formats [#METR-2944].
2016-12-30 04:30:47 +03:00
Alexey Milovidov
025bfd414f
Allowed to create tuples with NULLs [#METR-19266].
2016-12-30 03:55:59 +03:00
Alexey Milovidov
e3849124f1
Fixed wrong code [#METR-19266].
2016-12-30 03:31:38 +03:00
Alexey Milovidov
c1a635a3d2
NULLs: fixed error and added TODO [#METR-19266].
2016-12-30 03:28:49 +03:00
Alexey Milovidov
ee2c5f0d65
Fixed error in format PrettySpace [#METR-2944].
2016-12-30 03:24:56 +03:00
Alexey Milovidov
a4a77d8bc0
Function visibleWidth: fixed error [#METR-2944].
2016-12-30 03:19:44 +03:00
Alexey Milovidov
6e1ec28840
Addition to prev. revision [#METR-2944].
2016-12-30 03:19:05 +03:00
Alexey Milovidov
b4e18e2222
Cut dependendy (code must depend on Functions only via FunctionFactory) [#METR-2944].
2016-12-30 03:15:50 +03:00
Alexey Milovidov
0eb5d53133
Translated comment [#METR-20000].
2016-12-30 02:17:51 +03:00
Alexey Milovidov
94c64a758f
Miscellaneous [#METR-2944].
2016-12-30 02:17:05 +03:00
Alexey Milovidov
f71c49ff6f
Addition to prev. revision [#METR-22189].
2016-12-30 02:12:56 +03:00
Alexey Milovidov
77aa5d17c8
Addition to prev. revision [#METR-22189].
2016-12-30 02:04:56 +03:00
Alexey Milovidov
ee80b16488
Fixed error with creation of GraphiteMergeTree table [#METR-22189].
2016-12-30 01:56:37 +03:00
Alexey Milovidov
5a5ddebe19
Fixed test [#METR-19266].
2016-12-30 01:45:19 +03:00
Alexey Milovidov
5dad134760
Fixed error in reading config with settings for GraphiteMergeTree table engine [#METR-23978].
2016-12-30 01:06:31 +03:00
Alexey Milovidov
8ff20e1ecc
Fixed test [#METR-2944].
2016-12-29 23:41:49 +03:00
Alexey Milovidov
ddc8fcf623
Addition to prev. revision [#METR-23999].
2016-12-29 23:22:27 +03:00
Alexey Milovidov
1a64417044
Added setting "output_format_pretty_max_rows" [#METR-23999].
2016-12-29 23:15:18 +03:00
Alexey Milovidov
18f0e83b51
Fixed parsing of NULL literal [#METR-19266].
2016-12-29 22:52:15 +03:00
Alexey Milovidov
3f678a3042
Functions: little better [#METR-2944].
2016-12-29 22:38:10 +03:00
Alexey Milovidov
32be008327
Added test [#METR-23983].
2016-12-29 21:29:21 +03:00
artpaul
1f49735581
disable some optimization related to LIMIT clause if LIMIT BY clause is present [#METR-23881]
2016-12-29 17:53:35 +05:00
artpaul
2b38babb89
organize code [#METR-23881]
2016-12-29 16:55:10 +05:00
artpaul
405382b092
getAliasOrColumnName instead of getColumnName [#METR-23881]
2016-12-29 15:42:08 +05:00
artpaul
3b88b1ff14
clone and format limit_by asts [#METR-23881]
2016-12-29 13:22:19 +05:00
artpaul
3f064d9ff7
first dirty implementation of LIMIT BY clause [#METR-23881]
2016-12-28 20:12:54 +05:00
Alexey Milovidov
cbaf9d79eb
Added function 'toStartOfDay'; fixed tiny error [#METR-23983].
2016-12-28 15:10:29 +03:00
Alexey Milovidov
9c39a324f2
Fixed extremes calculation in presense of NaNs [#METR-22882].
2016-12-28 12:20:42 +03:00
proller
ca9c4bbdbb
Dont use tcmalloc TCMALLOC_AGGRESSIVE_DECOMMIT patch
2016-12-28 03:47:46 +03:00
Alexey Milovidov
cf4f8d6ce4
Modified comment [#METR-2944].
2016-12-27 18:50:31 +03:00
artpaul
938663aa7a
parse LIMIT BY [#METR-23881]
2016-12-27 19:08:33 +05:00
artpaul
9bfd80b412
style of constructor init list
2016-12-27 13:33:32 +05:00
Alexey Milovidov
ad6507f9df
Preparation [#METR-23490].
2016-12-27 09:36:53 +03:00
Alexey Milovidov
7771a3aa13
Miscellaneous [#METR-2944].
2016-12-27 09:34:01 +03:00
Alexey Milovidov
dd0b5a1b82
Added test [#METR-23945].
2016-12-25 07:50:06 +03:00
Alexey Milovidov
c195b0212b
Fixed long delay when querying Merge table based on very large amount of StripeLog tables; fixed error in Merge table [#METR-23945].
2016-12-25 07:39:22 +03:00
Alexey Milovidov
72888b48ef
Printing user name in exception messages about exceeded quota [#METR-19622].
2016-12-25 07:00:33 +03:00
Alexey Milovidov
3e15e81fab
Fixed overflow in quota [#METR-23944].
2016-12-24 05:42:22 +03:00
Alexey Milovidov
901c6a8d50
Addition to prev. revision [#METR-22799].
2016-12-24 04:30:05 +03:00
proller
4bc003c4c1
Porting to freebsd: initial, compile ok, most tests ok.
2016-12-24 01:03:10 +00:00
Alexey Milovidov
2552e7de4b
Added test [#METR-22799].
2016-12-24 00:35:22 +03:00
Alexey Milovidov
47756eda45
Fixed error with --external command line arguments for clickhouse-client [#METR-22799].
2016-12-24 00:34:49 +03:00
proller
22371fdead
Add initial test for executable and http dictonaries [METR-23466]
2016-12-23 22:20:07 +03:00
alexey-milovidov
d1383c5f62
Merge pull request #288 from yandex/issue-199
...
Issue #199 : speedup DISTINCT
2016-12-23 19:02:48 +04:00
artpaul
2467a010c9
translate comments
2016-12-23 13:01:35 +05:00
Alexey Milovidov
3d5005016b
Applied a patch, sent by aSealBack [#METR-2944].
2016-12-23 04:24:19 +03:00
artpaul
c904d31882
translate comments
2016-12-23 03:19:57 +05:00
artpaul
964afabf6a
check limit hint only at beginning of block processing [#METR-23882]
2016-12-23 01:50:12 +05:00
artpaul
c5eb898416
organize code [#METR-23882]
2016-12-22 22:00:23 +05:00
artpaul
200f84c046
add test for DISTINCT with nullable values [#METR-23882]
2016-12-22 21:39:00 +05:00
artpaul
5d1cfc0517
use swtich instead of if ... else, so we will get error about unhandled enum on the compile time [#METR-2944]
2016-12-22 21:35:54 +05:00
alexey-milovidov
690ab98b91
Merge pull request #287 from ludv1x/METR-23783
...
[WIP] Vertical merge optimization, fix and perf tests.
2016-12-22 17:40:01 +04:00
Alexey Milovidov
dc3a25dd63
Addition to prev. revision [#METR-23920].
2016-12-22 16:37:47 +03:00
Alexey Milovidov
433673871c
Fixed error with dynamic builds [#METR-23920].
2016-12-22 16:27:20 +03:00
Vitaliy Lyudvichenko
ba2b32b0ad
Added vertical_merge_algorithm_min_columns_to_activate option. [#METR-23783]
2016-12-22 16:19:03 +03:00
Vitaliy Lyudvichenko
3432f3c013
Added draft scripts for performance testing of vertical merge. [#METR-23783]
2016-12-22 16:19:02 +03:00
Vitaliy Lyudvichenko
e2bd364844
Added whole block optimization. [#METR-23783]
2016-12-22 16:19:02 +03:00
artpaul
fe9c28ad49
distinct filtration was rewrited with SetVariants [#METR-23882]
2016-12-22 13:51:34 +05:00
Alexey Milovidov
536f88ea55
Adjusted coefficients [#METR-23916].
2016-12-22 05:04:32 +03:00
Alexey Milovidov
e5440d0f67
Fixed desinformation [#METR-23305].
2016-12-22 04:37:05 +03:00
Alexey Milovidov
7ebbf72ca6
Removed unused variable [#METR-23305].
2016-12-22 04:27:41 +03:00
Alexey Milovidov
168472fc9f
Fixed typo [#METR-23305].
2016-12-22 04:14:19 +03:00
Alexey Milovidov
c47406c42d
StorageBuffer: addition to prev. modification [#METR-23909].
2016-12-22 03:13:59 +03:00
proller
999b181aa5
fix 'env bash -e'
2016-12-21 23:43:35 +03:00
proller
d270053c3c
Replace all !/bin/bash by !/usr/bin/env bash : allow running scripts with bash in non standard path. also on freebsd.
2016-12-21 23:04:27 +03:00
Alexey Milovidov
7222afe5eb
StorageBuffer: fixed exception safety [#METR-23909].
2016-12-21 20:10:32 +03:00
artpaul
b160e2a1cf
SetVariants was extracted into separated file [#METR-23882]
2016-12-21 17:42:54 +05:00
Alexey Milovidov
87695c02da
MongoDBDictionarySource: fixed incompatibility with MongoDB 3.4.0 [#METRIQA-599].
2016-12-21 05:13:51 +03:00
Alexey Milovidov
02af261c07
Cleanups [#METR-2944].
2016-12-21 03:18:11 +03:00
Vitaliy Lyudvichenko
6ee0cc795a
Prevent "variable tracking size limit exceeded" compiler notice. [#METR-20000]
2016-12-21 02:05:43 +03:00
alexey-milovidov
d277d55763
Merge pull request #280 from aSealBack/BlockStructureDiff
...
Added new diff for block structures.
2016-12-21 02:59:41 +04:00
Alexey Milovidov
df54b52db0
Revert "Fixed 'variable tracking size limit exceeded' notice (again) [#METR-23101]."
...
This reverts commit b6fb08c77f
.
2016-12-21 01:22:32 +03:00
Alexander Makarov
15118dec81
Added new diff for block structures.
2016-12-21 01:22:23 +03:00
Alexey Milovidov
b6fb08c77f
Fixed 'variable tracking size limit exceeded' notice (again) [#METR-23101].
2016-12-20 23:58:54 +03:00
Alexey Milovidov
5e5c3b5661
Merge branch 'master' of github.com:yandex/ClickHouse
2016-12-20 23:49:05 +03:00
Alexey Milovidov
5fe11c0697
Fixed MongoDBDictionarySource [#METR-2944].
2016-12-20 23:48:40 +03:00
alexey-milovidov
111aaae0d3
Merge pull request #273 from ludv1x/METR-23765
...
clickhouse-local enhancements
2016-12-21 00:11:00 +04:00
Vitaliy Lyudvichenko
836f641f5f
Fix rare race condition which occurrs during update of config files. [#METRIKASUPP-7653]
2016-12-20 22:03:12 +03:00
Vitaliy Lyudvichenko
6fe581c172
Added --stacktrace option to clickhouse-local. [#METR-23765]
...
Added support of path config variable and ability to load clickhouse-server data. [#METR-20000]
Default database of clickhouse-local is changed to "_local" to avoid collisions with clickhouse-server.
Small fixes and enhancements of command line options (setting and limits). [#METR-23101]
2016-12-20 18:01:05 +03:00
artpaul
2ebe00ffab
move constructor was implemented for Field [#METR-2944]
2016-12-20 17:04:22 +05:00
Alexey Milovidov
a3e22e10d9
MongoDBDictionarySource: fixed error [#METR-2944].
2016-12-20 05:31:25 +03:00
Alexey Milovidov
54587fec1b
Tracking memory used in merges [#METR-23888].
2016-12-20 05:29:35 +03:00
Alexey Milovidov
47b75e6c1e
MongoDBDictionarySource: preparation [#METR-2944].
2016-12-20 04:20:59 +03:00
Alexey Milovidov
442ff1d3b8
StorageBuffer: simplification; added metrics [#METR-23888].
2016-12-20 02:55:13 +03:00
Vitaliy Lyudvichenko
8398baea85
Fixed getFlagsPath() for clickhouse-local use case. [#METR-23761]
2016-12-19 17:15:45 +03:00
Vitaliy Lyudvichenko
e39b41e158
Typo and codestyle fix.
2016-12-18 22:38:30 +03:00
Vitaliy Lyudvichenko
5aa1822fb2
Consecutive optimization for vertical merge. [#METR-23783]
2016-12-18 22:12:25 +03:00
Vitaliy Lyudvichenko
8835275713
More detail log for merges. [#METR-23770] [#METR-23769] [#METR-23783]
2016-12-18 22:12:25 +03:00
Alexey Milovidov
57426cafc8
Improved test of external dictionaries [#METRIQA-599].
2016-12-18 21:43:08 +03:00
Alexey Milovidov
ca4438d470
Fixed style [#METR-2944].
2016-12-18 21:34:49 +03:00
Alexey Milovidov
927721baee
Fixed error in autotests of external dictionaries [#METR-2944].
2016-12-17 03:25:10 +03:00
alexey-milovidov
4fa9390840
Merge pull request #264 from ekonkov/master
...
METRIQA-599 port parameter
2016-12-17 00:31:20 +04:00
Eugene Konkov
6f7a359079
METRIQA-599 port parameter
2016-12-16 17:37:06 +03:00
alexey-milovidov
f5b5b274a3
Merge pull request #262 from drrtuy/benchmark-testing-greenplum
...
Greenplum benchmark test environment description and test results.
2016-12-16 15:37:04 +04:00
Vitaliy Lyudvichenko
d2e594cdf7
Fixed groupUniqArray for Date and DateTime types. [#METR-23869]
2016-12-16 13:59:16 +03:00
Roman Nozdrin
934b715a7d
Greenplum benchmark test environment description and test results.
2016-12-16 12:08:55 +03:00
Alexey Milovidov
08bf108961
Fixed error in tests [#METRIQA-599].
2016-12-16 03:10:37 +03:00
Alexey Milovidov
9ab111640c
Fixed error after changing MongoDB driver for external dictionaries [#METR-2944].
2016-12-16 02:40:30 +03:00
Alexey Milovidov
989d542f66
Fixed error (tnx. artpaul) [#METR-23793].
2016-12-15 23:33:35 +03:00
Alexey Milovidov
1311b93c9c
Fixed error (tnx. artpaul) [#METR-23793].
2016-12-15 23:29:42 +03:00
Alexey Milovidov
b113a7a473
Tiny modifications [#METR-23793].
2016-12-15 22:35:32 +03:00
artpaul
4025dbe7af
style
2016-12-15 23:59:07 +05:00
artpaul
0b0dc43e9b
fix
2016-12-15 23:56:31 +05:00
artpaul
945f879765
fix
2016-12-15 23:21:38 +05:00
artpaul
722e4dab6d
merge with master
2016-12-15 23:19:12 +05:00
alexey-milovidov
6d164a363b
Merge pull request #259 from ekonkov/METRIQA-599
...
METRIQA-599
2016-12-15 21:57:12 +04:00
artpaul
eb80837355
use find_first_symbols
2016-12-15 22:55:12 +05:00
artpaul
d3657d311b
fix decodeUrl; decode all values; add more tests
2016-12-15 22:12:41 +05:00
Eugene Konkov
3e67ac7232
METRIQA-599
...
JUnit output
2016-12-15 19:10:12 +03:00
alexey-milovidov
2de93a2a78
Merge pull request #257 from excitoon/quorum
...
StorageReplicatedMergeTree: Correct taking /quorum/last_part into acc…
2016-12-15 19:01:43 +04:00
Vladimir Chebotarev
d172cb1fc2
StorageReplicatedMergeTree: Correct taking /quorum/last_part into account when merging. [#METR-23826]
2016-12-15 17:32:47 +03:00
alexey-milovidov
a3886babed
Revert "Issue 219"
2016-12-15 18:19:16 +04:00
Alexey Milovidov
082820b405
Removed executable attribute from test files [#METR-20000].
2016-12-15 17:12:31 +03:00
alexey-milovidov
fea00eb595
Merge pull request #239 from yandex/issue-219
...
Issue 219
2016-12-15 17:21:35 +04:00
artpaul
92a7dc6908
style
2016-12-15 17:33:50 +05:00
artpaul
785a98e624
move all url's functions to FunctionsURL
2016-12-15 17:05:05 +05:00
kmeaw
8667a0e044
Minor fix: update <graphite_rollup/> conf example
...
Update the example usage of <graphite_rollup /> given in comments to
contain somewhat meaningful values.
2016-12-14 18:54:06 +03:00
alexey-milovidov
1ee5ad2ce0
Merge pull request #250 from hatarist/tsv_format_synonym
...
Added TSV format synonyms
2016-12-14 17:53:33 +04:00
Igor Hatarist
76365c3c15
Fixed the test
2016-12-14 08:56:19 +03:00
alexey-milovidov
5af401721e
Merge pull request #251 from proller/METR-23466
...
Dictonary: executable: rename 'path' to 'command' [#METR-23466]
2016-12-14 01:45:48 +04:00
proller
357d995e75
Dictonary: executable: rename 'path' to 'command' [#METR-23466]
2016-12-14 00:28:31 +03:00
Alexey Milovidov
cdfeccd38d
clickhouse-client: Fixed error that 'host' and 'port' parameters cannot have default values set in configuration file [#METR-23829].
2016-12-14 00:26:31 +03:00
Alexey Milovidov
fbb0a3e734
Working on performance of hierarchical external dictionaries [#METR-23747].
2016-12-14 00:15:27 +03:00
Igor Hatarist
9be107e89e
Removed TSVBlock format by Alexey's request
2016-12-13 21:26:34 +03:00
Igor Hatarist
96fa052839
Added TSV format synonyms for the TabSeparated formats
2016-12-13 21:03:10 +03:00
artpaul
6694c14338
try resolve conflicts
2016-12-13 16:51:40 +05:00
Vladimir Chebotarev
cc7db759fe
create_init_script: Avoid generation of init file each configuration phase. [#METR-21516]
2016-12-13 14:09:22 +03:00
Alexey Milovidov
dd1636abdd
Improved performance of 'flat' and 'hashed' hierarchical external dictionaries [#METR-23747].
2016-12-13 00:37:57 +03:00
Vitaliy Lyudvichenko
876ad28dd8
Merge remote-tracking branch 'origin/master' into metrics_refinement
2016-12-12 19:17:23 +03:00
Igor Hatarist
b22e4981df
Add clickhouse-client option: --version
2016-12-12 12:25:33 +03:00
Alexey Milovidov
f9c31c42c5
Fixed error after updating boost [#METR-2944].
2016-12-12 10:56:49 +03:00
Alexey Milovidov
a0dfb3e179
Addition to prev. revision [#METR-2944].
2016-12-12 10:29:21 +03:00
Alexey Milovidov
6dcabed912
Addition to prev. revision [#METR-2944].
2016-12-12 10:27:47 +03:00
Alexey Milovidov
c1ecc41804
Fixed error after merge [#METR-19266].
2016-12-12 10:25:31 +03:00
Alexey Milovidov
54af522de1
Preparation [#METR-2944].
2016-12-12 10:24:56 +03:00
artpaul
fb900881da
resolve conflicts
2016-12-12 11:15:01 +05:00
artpaul
529f75c8b4
- use std::experimental::string_view
...
- rename unquoteUrl to decodeURLComponent
- fix code-style
2016-12-12 11:09:00 +05:00
Alexey Milovidov
3d643fc786
Fixed build on clang [#METR-2944].
2016-12-12 09:02:35 +03:00
Alexey Milovidov
8a69df19c4
Fixed error after merge [#METR-19266].
2016-12-12 09:00:37 +03:00
Alexey Milovidov
de82683197
Fixed build on clang [#METR-2944].[C
2016-12-12 08:56:34 +03:00
Alexey Milovidov
7e37460c38
Merge branch 'master' of github.com:yandex/ClickHouse
2016-12-12 08:53:56 +03:00
Alexey Milovidov
e2ed20999c
Fixed build on clang [#METR-2944].
2016-12-12 08:53:37 +03:00
alexey-milovidov
52c34b4276
Merge pull request #240 from vavrusa/master
...
HTTPHandler: added support for X-ClickHouse-*
2016-12-12 09:47:40 +04:00
Alexey Milovidov
dae8814a71
Addition to prev. revision [#METR-2944].
2016-12-12 08:20:56 +03:00
Alexey Milovidov
0bdd22efe0
Addition to prev. revision [#METR-2944].
2016-12-12 08:15:34 +03:00
Alexey Milovidov
70b01f0a53
Do not include ClickHouseRevision.h in header files [#METR-2944].
2016-12-12 08:14:46 +03:00
Alexey Milovidov
31c4636538
Using internal boost library [#METR-2944].
2016-12-12 07:59:19 +03:00
Alexey Milovidov
d5a002f441
Using internal boost library [#METR-2944].
2016-12-12 07:57:55 +03:00
Alexey Milovidov
d605bfdc9d
Using internal boost library [#METR-2944].
2016-12-12 07:57:09 +03:00
Marek Vavrusa
f7a7e8e858
HTTPHandler: added support for X-ClickHouse-*
...
Support X-ClickHouse-* to allow running behind authenticating LBs, that
pass through user information or enforce fixed user.
The format of the new options follows X-Auth-*
Supported headers are:
* X-ClickHouse-User (identical to "user" URL parameter)
* X-ClickHouse-Key (identical to "password" URL parameter)
* X-ClickHouse-Quota (identical to "quota_key" URL parameter)
2016-12-11 20:46:37 -08:00
Alexey Milovidov
58a8cff3ae
Using internal boost library [#METR-2944].
2016-12-12 07:17:16 +03:00
Alexey Milovidov
fc43827a6c
Preparation [#METR-2944].
2016-12-12 06:33:34 +03:00
Alexey Milovidov
927b84323b
Addition to prev. revision [#METR-2944].
2016-12-12 04:51:27 +03:00
Alexey Milovidov
8b06b09f34
Moved code to cpp [#METR-2944].
2016-12-12 04:33:18 +03:00
artpaul
bea52b8631
lost files
2016-12-11 18:55:13 +05:00
artpaul
9ec6688397
move char2DigitTable to hex.cpp
2016-12-11 18:54:38 +05:00
Alexey Milovidov
b3e85e6469
Addition to prev. revision [#METR-22442].
2016-12-11 14:59:55 +03:00
Alexey Milovidov
436d2c43c9
Addition to prev. revision [#METR-22442].
2016-12-11 14:47:09 +03:00
Alexey Milovidov
ce6556639e
Fixed tests after merge [#METR-19266] [#METR-22442].
2016-12-11 14:33:51 +03:00
Alexey Milovidov
31dbff77c4
Little better [#METR-23792].
2016-12-11 14:15:24 +03:00
Alexey Milovidov
d77b4f12fb
Added UUID functions [#METR-23792].
2016-12-11 13:57:34 +03:00
Alexey Milovidov
599308aef0
Get rid of obsolete mongodb client library [#METR-23791].
2016-12-11 12:43:16 +03:00
artpaul
99cec8b165
implement unquoteUrl
2016-12-11 02:04:58 +05:00
Alexey Milovidov
4aeb017093
Renamed test [#METR-19266].
2016-12-10 09:40:46 +03:00
Alexey Milovidov
02cb56653a
Merging [#METR-19266].
2016-12-10 09:22:03 +03:00
Alexey Milovidov
dc9e88a9d7
Merging [#METR-19266].
2016-12-10 09:16:06 +03:00
Alexey Milovidov
2aa02d0547
Merging [#METR-19266].
2016-12-10 09:12:21 +03:00
Alexey Milovidov
c937d75a78
Merging [#METR-19266].
2016-12-10 09:10:29 +03:00
Alexey Milovidov
f4815364f6
Merging [#METR-19266].
2016-12-10 08:03:12 +03:00
Alexey Milovidov
e53e32130d
Merging [#METR-19266].
2016-12-10 07:58:40 +03:00
Alexey Milovidov
e97ecb6cf7
Merge branch 'master' into METR-19266
...
Conflicts:
dbms/CMakeLists.txt
dbms/include/DB/Functions/FunctionsArray.h
dbms/include/DB/Functions/FunctionsString.h
dbms/include/DB/Parsers/ExpressionListParsers.h
dbms/include/DB/Storages/MergeTree/MergeTreeBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergeTreeReader.h
dbms/include/DB/Storages/MergeTree/MergeTreeThreadBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergedBlockOutputStream.h
dbms/src/Core/ErrorCodes.cpp
dbms/src/Parsers/ASTFunction.cpp
dbms/src/Storages/MergeTree/MergeTreeData.cpp
dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
dbms/src/Storages/MergeTree/MergeTreeReader.cpp
dbms/src/Storages/StorageLog.cpp
2016-12-10 07:51:36 +03:00
Alexey Milovidov
95b08c9b03
Miscellaneous [#METR-2944].
2016-12-10 02:35:18 +03:00
artpaul
396ccccfce
fix extraction of TLD from fqdn
2016-12-10 03:49:21 +05:00
artpaul
4cf4fa68e1
parametrize StringView
2016-12-10 03:13:33 +05:00
artpaul
228b43bc95
calculate size of 'https' at compile time
2016-12-10 00:33:52 +05:00
artpaul
dfb466d156
host extraction functionality was moved to UrlUtils
2016-12-10 00:31:16 +05:00
artpaul
544143f5c9
url's scheme extraction was fixed according to rfc3986.
2016-12-09 22:38:15 +05:00
Vitaliy Lyudvichenko
ea11f61433
Added requested changes. [#METR-19372]
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
855dc56598
Added treshold setting for Vertical merge algorithm. [#METR-23305]
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
774eb01fd3
Added MergesTime metric. [#METR-23305]
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
fc4c02c510
StorageSystemMerges refactoring.
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
6540156100
Removed redundant code from CMakeLists.
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
f8eb9028fd
Refined query_log, processes and merges metrics.
...
Also, dbms/CMakeLists.txt was rewritten.
2016-12-09 13:11:25 +03:00
Alexey Milovidov
a1c599fc57
Autotests for external dictionaries: removed garbage [#METR-23766].
2016-12-08 08:58:45 +03:00
Alexey Milovidov
be5a07463e
Server: fixed error [#METR-23766].
2016-12-08 08:29:53 +03:00
Alexey Milovidov
959e31402b
Autotests for external dictionaries: back to life.
2016-12-08 08:12:49 +03:00
Alexey Milovidov
a8eedafcd0
Fixed error in cached dictionary when using C++11 ABI [#METR-23764].
2016-12-08 07:56:52 +03:00
Alexey Milovidov
2dc425b7e6
Preparation [#METR-23747].
2016-12-08 06:04:30 +03:00
Alexey Milovidov
6998b5ecd9
ODBC: refreshment [#METR-18538].
2016-12-08 05:55:58 +03:00
Alexey Milovidov
514715589b
Preparation [#METR-23747].
2016-12-08 05:49:04 +03:00
Alexey Milovidov
9303a07b39
Removed garbage [#METR-23747].
2016-12-08 04:11:44 +03:00
Alexey Milovidov
f2cd8de5b4
Removed garbage [#METR-23747].
2016-12-08 04:08:19 +03:00
alexey-milovidov
5923df80e4
Merge pull request #204 from proller/METR-23466
...
Metr-23466 : dictonary sources: http and executable
2016-12-08 05:04:50 +04:00
Alexey Milovidov
6546b73dcc
Added setting 'input_format_values_interpret_expressions' [#METR-23720].
2016-12-08 03:25:52 +03:00
Alexey Milovidov
59da0fd12a
Added metrics and events for Context lock [#METR-23763].
2016-12-08 01:49:42 +03:00
Vitaliy Lyudvichenko
450cee3641
Fixed flags/force_restore_data.
2016-12-07 22:16:41 +03:00
proller
76dc51aae5
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-12-07 22:08:09 +03:00
Vladimir Chebotarev
64380109e9
dbms: Adjusting compiler paths. [#METR-21516]
2016-12-07 02:22:33 +03:00
Vladimir Chebotarev
8e1a6aaf3e
cmake: Boost, OpenSSL into find_package(). [#METR-23701]
2016-12-06 16:20:32 +03:00
Alexey Milovidov
072f2fc7b8
Merges: start to lower maximum size of merge only when number of free entries in pool/queue is lower than specified threshold [#METR-21504].
2016-12-06 06:09:07 +03:00
Alexey Milovidov
0717bfa4d2
Simplified LevelMergeSelector [#METR-21504].
2016-12-06 00:34:46 +03:00
Vladimir Chebotarev
bcc5500f91
cmake: More options. [#METR-23701]
2016-12-05 15:43:14 +03:00
Alexey Milovidov
02eb36fd03
MergeSelector: attempt to make something better [#METR-21504].
2016-12-05 09:31:48 +03:00
artpaul
f344c85cb7
#214 add tests
2016-12-03 04:29:16 +05:00
artpaul
2616453263
#214 fix offsets assigments
2016-12-03 02:18:29 +05:00
Alexey Milovidov
2def6778e7
Merge branch 'master' of github.com:yandex/ClickHouse
2016-12-02 23:27:42 +03:00
Alexey Milovidov
4110b6865f
Merge branch 'METR-23305' of git://github.com/ludv1x/ClickHouse into ludv1x-METR-23305
...
Conflicts:
contrib/CMakeLists.txt
2016-12-02 23:22:11 +03:00
alexey-milovidov
5e5acd850f
Merge pull request #224 from artpaul/build
...
move impls to cpp
2016-12-03 00:06:20 +04:00
proller
4054d1a465
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-12-02 19:32:25 +03:00
artpaul
a2b4b85ed5
show type of argument in case of type missmatching
2016-12-02 13:59:23 +05:00
artpaul
7eb7cc38f7
move impls of FunctionsString to cpp
2016-12-02 12:32:39 +05:00
artpaul
41fda59c95
move impls of FunctionsArray to cpp
2016-12-02 12:15:35 +05:00
Alexey Milovidov
21f8501ccc
Benchmark: update [#METR-2944].
2016-12-02 06:39:11 +03:00
alexey-milovidov
9cea29e9a8
Merge pull request #213 from vavrusa/master
...
IO: Added ProfileEvents to Open/Read/Write failures
2016-12-01 22:28:36 +04:00
Marek Vavrusa
64f86b7d20
IO: Added ProfileEvents to Open/Read/Write failures
2016-11-30 12:21:57 -08:00
alexey-milovidov
21ce8a44f7
Merge pull request #216 from yandex/if_with_const_condition
...
ExpressionAnalyzer: make aliases and ast consistent after constant if optimization
2016-11-30 17:58:02 +04:00
Pavel Kartavyy
5dfbd57bad
ExpressionAnalyzer: make aliases and ast consistent after constant if optimization
2016-11-30 16:19:39 +03:00
Vitaliy Lyudvichenko
4df22acea9
Try to fix LIBTCMALLOC linking.
2016-11-30 15:10:39 +03:00
proller
33cc46d225
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-30 00:42:05 +03:00
Vitaliy Lyudvichenko
202ba912ce
Vertical merging algorithm for MergeTree engines. [#METR-23305]
2016-11-29 22:41:31 +03:00
alexey-milovidov
08cb8e506b
Merge pull request #211 from yandex/if_with_const_condition
...
ExpressionAnalyzer: added more tests for aliases. fix bug [METR-23545]
2016-11-29 23:28:50 +04:00
Pavel Kartavyy
106bb24fd8
ExpressionAnalyzer: added more tests for aliases. fix bug [#METR-23545]
2016-11-29 22:19:15 +03:00
proller
30cd3176d9
Merge branch 'autotest-external-dictionaries' into move-autotest-external-dictionaries
2016-11-29 20:06:09 +03:00
proller
936efe55f1
move * -> dbms/tests/external_dictionaries
2016-11-29 20:03:54 +03:00
proller
b529f29bb7
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-29 19:57:01 +03:00
Vitaliy Lyudvichenko
1472629799
Updated pk_condition test after recent changes.
2016-11-28 20:59:39 +03:00
Alexey Milovidov
ae413e051b
Fixed error [#METRIQA-526].
2016-11-28 18:22:10 +03:00
Alexey Milovidov
0a2d1ebbb3
Attempt to improve merge selecting algorithm [#METR-23632].
2016-11-28 06:46:08 +03:00
Alexey Milovidov
cac8f9216f
MergeSelector: attempt to do something that has sense [#METR-23632].
2016-11-28 06:17:31 +03:00
Alexey Milovidov
8bc84e29ac
Increased default background_pool_size [#METR-23632].
2016-11-28 02:50:46 +03:00
proller
5e6cac10e5
no copypaste
2016-11-27 16:01:35 +03:00
proller
4c90ffd61d
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-27 15:03:35 +03:00
Alexey Milovidov
6209092b15
Added heuristic for merge algorithm [#METR-23615].
2016-11-26 07:08:49 +03:00
proller
2aeb488d96
add writePrefix
2016-11-25 23:37:06 +03:00
proller
556bd12de1
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-25 20:46:59 +03:00
alexey-milovidov
7fda6394b8
Merge pull request #202 from yandex/if_with_const_condition
...
ExpressionAnalyzer: optimize if with constant condition [METR-23545]
2016-11-25 20:03:04 +04:00
Pavel Kartavyy
cd15651dfd
optimize if. added test for aliases
2016-11-25 12:29:17 +03:00
proller
26fe10a7b4
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-25 03:22:30 +03:00
proller
40e674407f
return http write callback
2016-11-25 03:16:20 +03:00
Alexey Milovidov
7d280a55a3
Fixed error that server could not shutdown while fetching parts [#METR-23616].
2016-11-25 02:18:24 +03:00
Alexey Milovidov
167782c230
Addition to prev. revision [#METR-23615].
2016-11-25 01:43:49 +03:00
Alexey Milovidov
8e5889cf0e
Improved merge selecting algorithm for Replicated tables [#METR-23615].
2016-11-25 01:41:27 +03:00
Alexey Milovidov
36553dd653
Fixed deadlock [#METR-23605].
2016-11-24 23:25:02 +03:00
proller
3b335b5546
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-24 22:58:40 +03:00
proller
e6d3c8855e
http ook
2016-11-24 22:57:24 +03:00
alexey-milovidov
8c2e228856
Revert "New "vertical" algorithm for MergeTrees' parts merges"
2016-11-24 23:08:54 +04:00
proller
e855c16f4a
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-24 21:25:56 +03:00
alexey-milovidov
8544a8b852
Merge pull request #171 from ludv1x/METR-23305
...
New "vertical" algorithm for MergeTrees' parts merges
2016-11-24 22:07:41 +04:00
Pavel Kartavyy
84a89b3b3d
ExpressionAnalyzer: optimize if with constant condition [#METR-23545]
2016-11-24 17:18:44 +03:00
Vitaliy Lyudvichenko
544ef67c28
Fixed IN <Set> usage inside PK expressions.
...
Refactoring of type conversion functions convertFieldToType().
2016-11-24 15:32:04 +03:00
proller
8c07957e38
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-24 04:01:18 +03:00
proller
2e02e29652
wip
2016-11-24 04:01:11 +03:00
proller
43e057d5e9
dont use OwningBufferBlockInputStream
2016-11-24 02:49:46 +03:00
alexey-milovidov
fdabcd4e38
Merge pull request #192 from ludv1x/enums-fix
...
Fixed Enum usage in PK expressions.
2016-11-24 03:13:16 +04:00
proller
8f573d7308
clean
2016-11-24 01:44:53 +03:00
proller
c919c02ed4
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-24 00:04:38 +03:00
Alexey Milovidov
a2e9359b18
Fixed rare deadlock after startup when structure of query_log was changed [#METR-23594].
2016-11-23 23:41:39 +03:00
Vitaliy Lyudvichenko
4f9064ca19
Fixed case when pk column is wrapped by functions.
2016-11-23 22:58:33 +03:00
Vitaliy Lyudvichenko
d27951b4a7
Added requested changes. [#METR-23473]
2016-11-23 16:33:05 +03:00
Vitaliy Lyudvichenko
e07fc7cea5
Fixed Enum usage in PK expressions. [#METR-23473]
...
Added check for duplicates of column names in CREATE query.
2016-11-23 16:19:15 +03:00
Vitaliy Lyudvichenko
fe891eb198
Removed extra check.
2016-11-23 16:09:29 +03:00
Vitaliy Lyudvichenko
ef593d1b01
Added merge_tree.enable_vertical_merge_algorithm setting.
2016-11-23 15:59:25 +03:00
Vitaliy Lyudvichenko
588add5a49
Added requested changes.
...
Also fixed single thread read from empty storage Log.
2016-11-23 15:52:12 +03:00
Vitaliy Lyudvichenko
2cd5b8b604
Updated MergeInfo and progress callbacks with respect to vertical merge alg.
2016-11-23 15:52:12 +03:00
Vitaliy Lyudvichenko
ec9bcd8054
Vertical merging algorithm for ordinary MergeTreee.
2016-11-23 15:47:19 +03:00
proller
4f39c04854
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-23 01:33:37 +03:00
proller
eeeacd0805
merge upstream
2016-11-23 01:33:02 +03:00
Alexey Milovidov
4cab31a60e
Tiny improvement [#METR-2944].
2016-11-22 23:55:45 +03:00
Alexey Milovidov
bba5dcbcfa
Fixed deadlock [#METR-23557].
2016-11-22 22:27:45 +03:00
Alexey Milovidov
94e344ee38
Part checks don't lock ALTERs [#METR-22214].
2016-11-22 21:49:17 +03:00
Alexey Milovidov
886919a5c9
Removed excessive part checks [#METR-22214].
2016-11-22 21:29:36 +03:00
Alexey Milovidov
5e799ca8cd
Better [#METR-22214].
2016-11-22 21:17:24 +03:00
Alexey Milovidov
3b635bf641
Merge branch 'master' of github.com:yandex/ClickHouse
2016-11-22 20:42:21 +03:00
Alexey Milovidov
a464f2303d
Better logic for ALTER in ReplicatedMergeTree [#METR-22214].
2016-11-22 20:41:45 +03:00
proller
e280569453
Everything [maybe] works!
2016-11-22 18:03:54 +03:00
proller
0b40a13ea7
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-22 14:56:57 +03:00
Eugene Konkov
d8973b61cf
flush after print test case name
2016-11-21 22:16:31 +03:00
Pavel Kartavyy
3569176cbf
clickhouse-test: make status messages to be bold
2016-11-21 11:37:51 +03:00
Alexey Milovidov
820659b71c
Fixed error in URL functions [#METR-2944].
2016-11-21 05:39:37 +03:00
Alexey Milovidov
b0fa239612
Fixed error [#METR-2944].
2016-11-21 03:56:59 +03:00
Alexey Milovidov
ef3fb70123
Fixed error [#METR-2944].
2016-11-21 03:36:50 +03:00
Alexey Milovidov
e2b8236cf4
Fixed error [#METR-2944].
2016-11-20 16:17:51 +03:00
Alexey Milovidov
43eea71930
Addition to prev. revision [#METR-2944].
2016-11-20 15:51:56 +03:00
Alexey Milovidov
8236fd2076
Addition to prev. revision [#METR-2944].
2016-11-20 15:46:32 +03:00
Alexey Milovidov
9018906e1a
Better [#METR-2944].
2016-11-20 15:43:20 +03:00
Alexey Milovidov
c38a9118b1
More tolerant to previous errors [#METR-22327].
2016-11-20 12:17:30 +03:00
Alexey Milovidov
60c62055ba
Added comment [#METR-22327].
2016-11-20 12:13:06 +03:00
Alexey Milovidov
c8c86208aa
Fixed error with ALTER of Enums in Nested fields [#METR-22442].
2016-11-20 11:57:11 +03:00
Alexey Milovidov
37d6ecc372
Allowed to sort one array by values of another array [#METR-23547].
2016-11-20 09:49:24 +03:00
Alexey Milovidov
23257cd562
Added functions arraySort and arrayReverseSort [#METR-23547].
2016-11-20 09:44:38 +03:00
Alexey Milovidov
7c53fd5867
Miscellaneous [#METR-2944].
2016-11-20 08:48:07 +03:00
Alexey Milovidov
312ec5f817
Style [#METR-2944].
2016-11-20 08:13:55 +03:00
Alexey Milovidov
75a058fbab
Added test [#METR-23546].
2016-11-20 07:51:37 +03:00
Alexey Milovidov
126be841c6
Merge branch 'master' of github.com:yandex/ClickHouse
2016-11-20 07:49:20 +03:00
Alexey Milovidov
3a16cd3ecc
Added string concatenation operator [#METR-23546].
2016-11-20 07:47:51 +03:00
Vladimir Chebotarev
cdfcea7488
dbms: Fixed build under OS X. [#METR-21516]
2016-11-20 01:21:00 +03:00
proller
ee2d9503c8
wip
2016-11-19 03:56:15 +03:00
proller
fd3a9da076
httd dict wip
2016-11-19 03:07:58 +03:00
proller
636cbe4323
fix GET /path?params
2016-11-19 03:07:15 +03:00
proller
02b4a4aded
wip
2016-11-18 23:20:08 +03:00
proller
61e6ee9100
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-18 15:14:34 +03:00
Alexey Milovidov
ea0c752852
Investigated flappy test [#METR-23540].
2016-11-18 12:02:49 +03:00
Alexey Milovidov
643c2b747a
Added test [#METR-23539].
2016-11-18 11:31:46 +03:00
Alexey Milovidov
6d914bc4db
Fixed error with default value of Enum and WITH TOTALS [#METR-23539].
2016-11-18 11:29:45 +03:00
Alexey Milovidov
ef85902daa
Little better [#METR-22327].
2016-11-18 06:15:49 +03:00
Alexey Milovidov
dfd7f54c1c
Little improvement in case of too much parts [#METR-22327].
2016-11-18 05:50:28 +03:00
Alexey Milovidov
e73e4e887a
Better logic when there is very large number of parts in non-replicated MergeTree [#METR-22327].
2016-11-18 05:34:34 +03:00
Alexey Milovidov
a44e5193b0
Better backpressure for INSERT SELECT into MergeTree [#METR-22327].
2016-11-18 05:05:25 +03:00
proller
881319c4ec
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-18 04:48:21 +03:00
proller
63eaa97086
wip
2016-11-18 04:48:13 +03:00
Alexey Milovidov
b19e61757e
Little improvement for large number of small inserts [#METR-22327].
2016-11-18 04:03:57 +03:00
Alexey Milovidov
cfcdb3f881
Added check [#METR-22327].
2016-11-18 03:20:22 +03:00
Alexey Milovidov
0700f53665
Fixed error with 'intersects previous part' [#METR-22327].
2016-11-18 03:19:35 +03:00
proller
d055d82777
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-17 18:34:52 +03:00
Vitaliy Lyudvichenko
51f57e7079
Small clickhouse-local fixes.
2016-11-17 16:58:21 +03:00
proller
da6f40ac12
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-17 04:09:58 +03:00
proller
cc0e0e739e
ExecutableDictionarySource ok
2016-11-17 04:09:46 +03:00
Alexey Milovidov
84b4907b2a
Merge branch 'master' of github.com:yandex/ClickHouse
2016-11-17 03:40:02 +03:00
Alexey Milovidov
942a000009
Allow to run 'clickhouse-local' program by pressing enter in source directory of server [#METR-23101].
2016-11-17 03:39:11 +03:00
Alexey Zatelepin
307e397dce
adopt server timezone in non-interactive mode also
2016-11-17 00:12:08 +00:00
Alexey Zatelepin
cbed811b95
use_client_time_zone test
2016-11-17 00:11:02 +00:00
proller
278fbbb4da
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-17 00:02:25 +03:00
proller
5c9d42d4f4
wip
2016-11-17 00:02:07 +03:00
Alexey Milovidov
a4aae7e047
Fixed ClientInfo [#METR-19471].
2016-11-16 23:46:02 +03:00
Pavel Kartavyy
3ad04a0f39
updated test for hasColumnInTable
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
5d7afb7588
clickhouse-test: fix error
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
edd6c25c2c
clickhouse-client: some tests has non unicode symbols in stdout
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
aac646ccfc
update after review
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
631d9ea0a0
add getSessionContext() const
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
51cf368e1f
clickhouse-test: use termcolor for text highlighting
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
09a24f2b48
clickhouse-test: fix reading of non ascii test output
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
766caff3dc
add tests for hasColumnInTable [#METR-23248]
2016-11-16 18:52:35 +03:00
Pavel Kartavyy
bdb7e9745b
add hasColumnInTable function [#METR-23248]
2016-11-16 18:52:35 +03:00
Alexey Milovidov
c6c94cbcef
Added missing modification [#METR-23505].
2016-11-16 09:15:38 +03:00
Alexey Milovidov
866e64a65e
Fixed deadlock in test when many replicas on single server try to execute multiple attaches and wait for each other [#METR-23507].
2016-11-16 09:08:29 +03:00
Alexey Milovidov
d5155fbe7a
Added quota_key to query_log and processlist [#METR-23505].
2016-11-16 08:09:41 +03:00
Alexey Milovidov
5f5407db26
Merge branch 'master' of github.com:yandex/ClickHouse
2016-11-16 08:05:29 +03:00
Alexey Milovidov
bee6183d35
Fixed error [#METR-2944].
2016-11-16 08:05:14 +03:00
Alexey Milovidov
bade1519ba
Fixed 'variable tracking size limit exceeded' notice [#METR-23101].
2016-11-16 05:51:00 +03:00
alexey-milovidov
3432f84409
Merge pull request #183 from ztlpn/METR-23447
...
Client uses server timezone for interpreting DateTime strings [#METR-23447]
2016-11-16 05:22:28 +04:00
proller
099edebc28
wip
2016-11-16 03:34:57 +03:00
proller
d56fc2fd39
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-16 02:56:08 +03:00
proller
8fec8e2ac4
simple get works
2016-11-16 02:55:45 +03:00
Vitaliy Lyudvichenko
4cd2909899
Merged new packages into clickhouse-client.
...
More detail diagnostic for test.
2016-11-16 02:49:27 +03:00
proller
60ec3506a9
wip
2016-11-16 01:05:49 +03:00
proller
593e3c26bf
initial
2016-11-15 22:51:06 +03:00
Alexey Zatelepin
e1bb33cad0
PR fixes:
...
* add forgotten const
* print exception string if switching to server timezone failed
* protocol compatibility with old versions
* use ALWAYS_INLINE in DateLUT.h
2016-11-15 10:24:55 +00:00
alexey-milovidov
1afac6a36c
Merge pull request #187 from ludv1x/METR-23101
...
Removed binary stripping, try to fix clickhouse-local test.
2016-11-15 02:52:43 +04:00
Vitaliy Lyudvichenko
26fe84b3d0
Removed binary stripping, try to fix clickhouse-local test.
2016-11-15 00:58:17 +03:00
Alexey Milovidov
0dfb616093
Merge branch 'master' of github.com:yandex/ClickHouse
2016-11-14 23:32:33 +03:00
alexey-milovidov
eb6605bf17
Merge pull request #186 from ludv1x/METR-23101
...
Fixed debian build install.
2016-11-14 23:29:28 +04:00
Vitaliy Lyudvichenko
73e5f828f4
Fixed debian build install.
2016-11-14 22:14:11 +03:00
Alexey Milovidov
e7fccc4044
Modified backpressure method for MergeTree [#METR-23488].
2016-11-14 21:19:08 +03:00
alexey-milovidov
56e7e380ca
Merge pull request #185 from ludv1x/METR-23101
...
Fixed debian package build.
2016-11-14 19:58:33 +04:00
Vitaliy Lyudvichenko
bfbe8f8ed1
Fixed debian package build.
2016-11-14 18:32:55 +03:00
Alexey Milovidov
eb1ae65eda
Fixed error with analyzing double-distributed subqueries [#METR-23472].
2016-11-14 04:13:56 +03:00
alexey-milovidov
52390b0180
Merge pull request #150 from ludv1x/METR-23101
...
clickhouse-local application and File(...) storage
2016-11-14 04:03:03 +04:00
Vitaliy Lyudvichenko
107f7b34c7
Added requested PR changes, 2nd iteration.
2016-11-14 02:57:18 +03:00
Alexey Zatelepin
3a7260e200
[#METR-23447] Client uses server timezone for DateTime string parsing
2016-11-13 19:34:31 +00:00
Alexey Milovidov
bfdc262f87
Added comment [#METR-23472].
2016-11-13 05:25:03 +03:00
Alexey Milovidov
be7cc18d00
Fixing bad test [#METR-23472].
2016-11-13 05:19:38 +03:00
artpaul
e1cda4b760
move impl of common parsers to cpp
2016-11-12 22:55:40 +05:00
artpaul
c617565f3b
q!Merge branch 'master' of git://github.com/yandex/ClickHouse
2016-11-12 21:04:38 +05:00
artpaul
b5ad7c021b
fix clang: remove unused variable
2016-11-12 21:03:44 +05:00
Alexey Milovidov
5b72f0956a
Setting level to zero after ATTACH [#METR-23438].
2016-11-11 20:33:43 +03:00
artpaul
1e34e7a15c
move some impl details of DistinctBlockInputStream to cpp
2016-11-11 02:24:40 +05:00
Vitaliy Lyudvichenko
c05f512637
Merged server, client and local into single binary, more args for local mode.
2016-11-09 22:06:29 +03:00
Vitaliy Lyudvichenko
bae8c7edf8
Added more command line features and docs. Fixed queries splitting.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
9ae568e51f
Added fix after rebase, and recognition of local mode by argv[0].
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
bf924009b9
Added support of seekable files for StorageFile, more options for clickhouse-local. [#METR-23101]
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
2242cfd6b0
Put DatabaseMemory class into separated file.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
05620299cd
Reverted changes in main Server and BaseDaemon classes.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
d952dd39b0
Merged clickhouse-server and clickhouse-local into common app.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
48a3d25f99
Implemented tiny clickhouse-local app.
2016-11-09 22:03:47 +03:00
Vitaliy Lyudvichenko
cf24f6e2d1
Implemented draft version of clickhouse-local service.
2016-11-09 22:03:47 +03:00
Vitaliy Lyudvichenko
0e2eb5436b
Added StorageFile and template for clickhouse-local app.
2016-11-09 22:03:47 +03:00
Vladimir Chebotarev
cdaece7dfa
: More specific usage of static libraries. [#METR-21516]
2016-11-09 21:49:01 +03:00
Alexey Milovidov
34a9af27bf
Inreased default ALTERs safety threshold [#METR-2944].
2016-11-09 17:14:39 +03:00
alexey-milovidov
5905556db5
Merge pull request #161 from yandex/chebotarev-osx
...
dbms: max_open_files for server. [#METR-21516]
2016-11-07 22:44:35 +04:00
Vladimir Chebotarev
72a533bc11
dbms: max_open_files for server, readline in OS X. [#METR-21516]
2016-11-07 14:33:25 +03:00
Alexey Milovidov
efa056fc77
Attempt to improve merge selecting algorithm [#METR-21840].
2016-11-05 04:11:51 +03:00
alexey-milovidov
3d05948c45
Merge pull request #159 from yandex/chebotarev-osx
...
[WIP] OS X 10.12 build
2016-11-03 21:14:30 +04:00
Vladimir Chebotarev
e2ceb63c54
libcommon, libre2, tools: Fixed build under OS X Sierra. [#METR-21516]
2016-11-03 15:41:13 +03:00
Alexey Milovidov
8ba7a32410
Fixed error with BackgroundProcesssingPool [#METRIKASUPP-7484].
2016-11-02 18:26:16 +03:00
Alexey Milovidov
621da9c2f7
Added test [#METR-22971].
2016-11-02 00:10:22 +03:00
Alexey Milovidov
5af20c3dd2
Fixed error with ColumnAggregateFunction [#METR-22971].
2016-11-02 00:06:41 +03:00
Alexey Milovidov
22719b1114
MergeSelector: further [#METR-21840].
2016-11-01 23:30:40 +03:00
Alexey Milovidov
aaec9d1db6
Attempt for improvement [#METR-21840].
2016-11-01 22:20:24 +03:00
Alexey Milovidov
751f3913ee
Fixed build [#METR-20000].
2016-11-01 20:56:25 +03:00
alexey-milovidov
d1f11af2c2
Merge pull request #151 from Civil/osx_compatibility
...
[WIP] Make it compilable on OS X
2016-11-01 21:09:48 +04:00
Vladimir Smirnov
d36f52502e
Make it compilable on OS X
...
It's still hackish and dirty, but server and client compies.
Server starts, but throwes meaningless exception on any query.
Client seems to be working fine.
Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Alexey Milovidov
5d394a20a1
MergeSelector: changed logic of selection of parts for OPTIMIZE (more like it was before) [#METR-21841].
2016-11-01 18:22:04 +03:00
Alexey Milovidov
48f14be32b
RegionsHierarchy: fix for negative type [#METR-20000].
2016-11-01 17:55:58 +03:00
Alexey Milovidov
bdde1b05cc
Returned support of (ignored) negative region ids or parent region ids in regions embedded dictionaries [#MTRSADMIN-2425].
2016-11-01 15:57:58 +03:00
Alexey Milovidov
ecf2f6b6ab
MergeSelector: development [#METR-21841].
2016-11-01 14:27:29 +03:00
Alexey Milovidov
a3a8b49e80
MergeSelector: development [#METR-21841].
2016-11-01 14:26:36 +03:00
Alexey Milovidov
91dbf74ac0
MergeSelector: development [#METR-21841].
2016-11-01 11:38:55 +03:00
Alexey Milovidov
933c8f3d68
MergeSelector: development [#METR-21841].
2016-11-01 01:53:54 +03:00
Alexey Milovidov
573a84c89a
MergeSelector: development [#METR-21841].
2016-10-31 22:45:22 +03:00
Alexey Milovidov
49602c44a9
MergeSelector: development [#METR-21841].
2016-10-31 22:32:08 +03:00
Alexey Milovidov
4fd7183049
MergeSelector: fixed error [#METR-21841].
2016-10-31 22:11:09 +03:00
Alexey Milovidov
89328b498f
MergeSelector: development [#METR-21841].
2016-10-31 08:35:29 +03:00
Alexey Milovidov
bee00bfcfc
MergeSelector: development [#METR-21841].
2016-10-30 14:05:45 +03:00
Alexey Milovidov
b7f635d8df
Merge selector: development [#METR-21840].
2016-10-30 12:13:30 +03:00
Alexey Milovidov
a832a8cd71
MergeSelector: development [#METR-21840].
2016-10-30 11:54:27 +03:00
Alexey Milovidov
4dec8babf1
MergeSelector: development [#METR-21840].
2016-10-30 11:47:47 +03:00
Alexey Milovidov
bab6e9ea22
MergeSelector: development [#METR-21840].
2016-10-30 11:32:05 +03:00
Alexey Milovidov
1b2bbcd359
MergeSelector: development [#METR-21840].
2016-10-30 11:25:07 +03:00
Alexey Milovidov
ba48688f25
MergeSelector: development [#METR-21840].
2016-10-30 11:15:55 +03:00
Alexey Milovidov
c5c63bdf5d
MergeSelector: development [#METR-21840].
2016-10-30 06:39:28 +03:00
Alexey Milovidov
3d48f9d34b
MergeSelector: development [#METR-21840].
2016-10-30 06:12:25 +03:00
Alexey Milovidov
e5539af681
Merge branch 'master' into merge-selector
2016-10-29 22:47:34 +03:00
Alexey Milovidov
024799acee
Fixed error in Poco::UTF8Encoding::isLegal function [#METR-23332].
2016-10-29 20:15:43 +03:00
Alexey Milovidov
ebbe877a70
Preparation [#METR-23332].
2016-10-29 20:13:35 +03:00
Alexey Milovidov
b5156a115d
Additions [#METR-21504].
2016-10-28 02:28:35 +03:00
Alexey Milovidov
74c3b30622
dbms: Simplified logic of selecting merges [#METR-21841].
2016-10-28 01:50:02 +03:00
Alexey Milovidov
f9eb536825
RegionsHierarchy: improvement [#METR-20000].
2016-10-27 20:53:47 +03:00
Alexey Milovidov
e9067a5f2d
Merge branch 'master' of github.com:yandex/ClickHouse
2016-10-27 20:48:32 +03:00
Alexey Milovidov
968bcb6f66
Preparation [#METR-2944].
2016-10-27 20:48:12 +03:00
alexey-milovidov
77e3d75ca0
Merge pull request #153 from ludv1x/METR-23285
...
Fixed segfaults in quantiles* functions with empty levels set.
2016-10-27 19:17:10 +04:00
Vitaliy Lyudvichenko
07f4bfc844
Fixed segfaults in quantiles* functions with empty levels set. [#METR-23285]
2016-10-27 17:51:43 +03:00
Alexey Milovidov
350f73da02
Fixed error in Dictionaries [#METR-20000].
2016-10-27 16:04:49 +03:00
Alexey Milovidov
f6f92cb7bc
Fixed error with falsely reported large memory consumption of long running INSERT queries [#METR-23288].
2016-10-25 17:22:10 +03:00
Alexey Milovidov
687a6d1496
Addition to prev. revision [#METR-2944].
2016-10-25 09:57:12 +03:00
Alexey Milovidov
8be993bd1e
Preparation [#METR-2944].
2016-10-25 09:49:24 +03:00
Alexey Milovidov
c2fa56b905
ClientInfo: fixes [#METR-23279].
2016-10-25 08:07:29 +03:00
Alexey Milovidov
3a5300b8d1
Addition to prev. revision [#METR-23279].
2016-10-25 01:46:27 +03:00
Alexey Milovidov
72f0dba30d
Addition to prev. revision [#METR-23279].
2016-10-25 01:33:40 +03:00
Alexey Milovidov
1527176378
Addition to prev. revision [#METR-23279].
2016-10-25 01:30:51 +03:00
Alexey Milovidov
a081f5f05b
Addition to prev. revision [#METR-23279].
2016-10-25 01:11:36 +03:00
Alexey Milovidov
61646cbd01
Addition to prev. revision [#METR-23279].
2016-10-25 00:53:12 +03:00
Alexey Milovidov
daeac24f04
Added ClientInfo: passing original source of query during distributed query execution; improvement of per-user limits in ProcessList [#METR-23279].
2016-10-25 00:40:39 +03:00
Alexey Milovidov
15b369bd08
More instrumentation [#METR-23272].
2016-10-24 16:47:15 +03:00
Alexey Milovidov
9a3deed1ea
Added metric about leadership [#METR-23272].
2016-10-24 15:46:54 +03:00
Alexey Milovidov
2dd43be6e6
Don't hold shared_ptr to zookeeper for long time, because it makes very difficult to remove ephemeral nodes in case of temporary communication errors and thus breaks leader election [#METR-23272].
2016-10-24 15:34:08 +03:00
Alexey Milovidov
9373b87639
Added missing malloc metrics [#METR-23231].
2016-10-24 11:03:25 +03:00
Alexey Milovidov
5b562c63d5
Addition to prev. revision [#METR-23231].
2016-10-24 09:08:53 +03:00
Alexey Milovidov
ff661a8492
Added tcmalloc-related metrics [#METR-23231].
2016-10-24 08:40:00 +03:00
Alexey Milovidov
ea852bb9d8
Separate compilation of CurrentMetrics; Separated AsynchronousMetrics from CurrentMetrics; Comments [#METR-23237].
2016-10-24 07:06:27 +03:00
Alexey Milovidov
de479eb36a
Comment [#METR-2944].
2016-10-24 06:08:56 +03:00
Alexey Milovidov
fefb714b76
Tiny modification [#METR-2944].
2016-10-24 06:07:58 +03:00
Alexey Milovidov
cac493d0a0
Addition to prev. revision [#METR-23237].
2016-10-24 05:06:52 +03:00
Alexey Milovidov
32eeb84992
Merge branch 'master' of github.com:yandex/ClickHouse
2016-10-24 05:03:22 +03:00
Alexey Milovidov
9af5ce1e3b
Separate compilation of ProfileEvents; comments [#METR-23237].
2016-10-24 05:02:37 +03:00
f1yegor
af01f6fdcc
translate config.xml and MergeTreeSettings.h
2016-10-23 22:13:10 +02:00
Alexey Milovidov
4d9b3fd3ee
Better [#METR-23198].
2016-10-23 13:59:53 +03:00
Alexey Milovidov
692bb379e3
Fixes; faster shutdown [#METR-23237].
2016-10-23 13:52:32 +03:00
Alexey Milovidov
181c2302fc
Addition to prev. revision [#METR-23237].
2016-10-23 13:34:11 +03:00
Alexey Milovidov
6c9dea8a8b
Addition to prev. revision [#METR-23237].
2016-10-23 09:38:53 +03:00
Alexey Milovidov
be84b78b93
Added actively updating metrics [#METR-23237].
2016-10-23 09:12:50 +03:00
Alexey Milovidov
f05fa7695a
Removed useless code [#METR-2944].
2016-10-23 08:37:45 +03:00
Alexey Milovidov
afcd933237
Probably better [#METR-23198].
2016-10-23 06:46:51 +03:00
Alexey Arno
27fbef6ace
dbms: Server: renaming [#METR-19266]
2016-10-21 19:55:34 +03:00
Alexey Arno
a75cfb6df5
Merge branch 'master' into METR-19266 [#METR-19266]
2016-10-21 19:53:35 +03:00
Alexey Arno
8a0ecc3587
dbms: Server: Added nullable support for sets [#METR-19266]
2016-10-21 19:50:41 +03:00
Alexey Arno
38f4ebade8
dbms: Server: fixes [#METR-19266]
2016-10-21 17:57:43 +03:00