Commit Graph

6078 Commits

Author SHA1 Message Date
Pavel Kartavyy
6647ba628f ConcurrentBoundedQueue: move if nothrow assign possible. copy otherwise 2016-08-23 17:01:45 +03:00
Pavel Kartavyy
457109ac71 ColumnVector: renamed get() to getElement() 2016-08-23 15:58:49 +03:00
Alexey Milovidov
e0f3cbb432 Added optional 'default_database' parameter for Cluster (allow Distributed tables to connect to different databases on different shards/replicas) [#METR-22462]. 2016-08-22 23:34:21 +03:00
Pavel Kartavyy
2032acd557 Merge commit 'e960efd5e63e4de51151724db92e6c2548aa88d9'
Conflicts:
	metrica/src/ClickHouse/libs/libdaemon/include/daemon/GraphiteWriter.h
	metrica/src/ClickHouse/libs/libdaemon/src/GraphiteWriter.cpp
2016-08-22 17:22:27 +03:00
Alexey Milovidov
22b57b060c Fixed error [#METR-22304]. 2016-08-20 23:10:47 +03:00
Alexey Milovidov
d76514fbe1 Added test [#METR-22329]. 2016-08-20 20:19:06 +03:00
Alexey Milovidov
902c70bfa9 Fixed error with duplicate columns in subqueries [#METR-22381]. 2016-08-20 20:10:00 +03:00
Alexey Milovidov
2c16a4ad2a Removed unused method [#METR-2944]. 2016-08-20 17:34:34 +03:00
Pavel Kartavyy
6e7bb0cd65 Merge branch 'master' into METR-19530
Conflicts:
	metrica/src/CMakeLists.txt
	metrica/src/ClickHouse/libs/libdaemon/include/daemon/GraphiteWriter.h
	metrica/src/ClickHouse/libs/libdaemon/src/GraphiteWriter.cpp
	metrica/src/libs/CMakeLists.txt
	metrica/src/libs/liblogbroker-client/src/LogBroker.cpp
	metrica/src/libs/liblogbroker-log-import/include/logbroker-log-import/LogBrokerLogImportTask-inl.h
	metrica/src/libs/libstatdaemons/include/statdaemons/write_destinations/ClickHouseCluster.h
	metrica/src/programs/cleanerd/src/config.xml
	metrica/src/programs/deduplicatord/src/Task.cpp
	metrica/src/programs/visit-log-processor/src/VisitLogHandler.h
	metrica/src/tools/ssqls/templates/header.tpl
2016-08-19 17:15:58 +03:00
Alexey Milovidov
e960efd5e6 Changed semantic of intDiv, intDivOrZero functions for floating point arguments [#METR-19446]. 2016-08-19 06:17:53 +03:00
Alexey Milovidov
06bcc34be2 Don't do DNS requests for each fetch from replica [#METR-22304]. 2016-08-19 04:54:23 +03:00
Alexey Milovidov
374b2bc356 Client: fixed error that 'format' command line option was collided between common arguments and arguments for external tables [#METR-22057]. 2016-08-19 00:00:00 +03:00
Pavel Kartavyy
9c8697655e build: fix build after merge with clickhouse repo 2016-08-18 14:17:07 +03:00
Alexey Milovidov
80e8c38c28 Addition [#METR-22400]. 2016-08-18 02:02:50 +03:00
Alexey Milovidov
349d303558 Addition to prev. revision [#METR-22400]. 2016-08-17 23:17:16 +03:00
Alexey Milovidov
a50c733345 Make tests deterministic [#METR-22400]. 2016-08-17 23:03:22 +03:00
Alexey Milovidov
e387d94275 More verbose error message when conversion function cannot parse value from string [#METR-22408]. 2016-08-17 10:51:39 +03:00
Alexey Milovidov
09563dc4da More verbose error message when conversion function cannot parse value from string [#METR-22408]. 2016-08-17 10:47:03 +03:00
Alexey Milovidov
1d6e77fd9b More verbose error message when conversion function cannot parse value from string [#METR-22408]. 2016-08-17 10:41:44 +03:00
Alexey Milovidov
dc0f76bc87 More verbose error message when conversion function cannot parse value from string [#METR-22408]. 2016-08-17 10:40:06 +03:00
Alexey Milovidov
d713c2971d More verbose error message when conversion function cannot parse value from string [#METR-22408]. 2016-08-17 10:02:00 +03:00
Alexey Milovidov
cafd27c496 More verbose error message when conversion function cannot parse value from string [#METR-22408]. 2016-08-17 09:55:47 +03:00
Alexey Milovidov
df9c5ff547 Translation of comments [#METR-22400]. 2016-08-17 09:41:43 +03:00
Alexey Milovidov
d13190a2db Fixed error with 'visibleWidth' function when applied to Array(Enum...) or Tuple(Enum...) [#METR-22432]. 2016-08-17 09:25:01 +03:00
Alexey Milovidov
9012d0727d Updated comment [#METR-22252]. 2016-08-17 09:12:17 +03:00
Alexey Milovidov
ffbd901c9c Added test [#METR-22252]. 2016-08-17 09:11:25 +03:00
Alexey Milovidov
635fed9055 Added test [#METR-22252]. 2016-08-17 09:03:46 +03:00
Alexey Milovidov
7a04c805c4 Added test [#METR-22400]. 2016-08-17 08:53:14 +03:00
Alexey Milovidov
56a091cb6e Throw exception when multi-statements are disabled [#METR-22252]. 2016-08-17 08:38:51 +03:00
Alexey Milovidov
a9eca34a14 Statistics in JSON formats: development [#METR-22400]. 2016-08-17 07:55:57 +03:00
Alexey Milovidov
dfa46b9fcb Statistics in JSON formats: development [#METR-22400]. 2016-08-17 07:54:43 +03:00
Alexey Milovidov
9531d6413b Statistics in JSON formats: development [#METR-22400]. 2016-08-17 07:53:14 +03:00
Alexey Milovidov
01b3f8e90e Statistics in JSON formats: development [#METR-22400]. 2016-08-17 07:38:19 +03:00
Alexey Milovidov
ee40dfb9cb Statistics in JSON formats: development [#METR-22400]. 2016-08-17 06:29:26 +03:00
Alexey Milovidov
70d7451c8c Miscellaneous [#METR-2944]. 2016-08-17 05:44:45 +03:00
Alexey Milovidov
27d42574fc Added test result [#METR-22428]. 2016-08-17 00:45:35 +03:00
Alexey Milovidov
3d4a40156f Added test [#METR-22428]. 2016-08-17 00:44:28 +03:00
Alexey Milovidov
b1de66f6d3 Added comment [#METR-22428]. 2016-08-17 00:39:49 +03:00
Alexey Milovidov
278d56ea4c Allow to parse Java-style floating point denormals 'NaN' and 'Infinity' [#METR-22428]. 2016-08-17 00:23:53 +03:00
Alexey Milovidov
db4950c868 Added address and query into (text) error log [#METR-22441]. 2016-08-16 23:33:00 +03:00
Alexey Milovidov
54beaf7f8d Miscellaneous [#METR-22428]. 2016-08-16 23:21:28 +03:00
Alexey Milovidov
63834bf441 Style [#METR-2944]. 2016-08-15 23:07:31 +03:00
Alexey Milovidov
6bbac4b06c Added test [#METR-21993]. 2016-08-15 22:43:51 +03:00
Alexey Milovidov
73a2ddcaf8 Attempt to fix an error with defaults [#METR-21993]. 2016-08-15 22:41:44 +03:00
alexey-milovidov
2f232b25c2 Merge pull request #72 from serebrserg/METR-22322
METR-22322: add geo distance function
2016-08-15 21:02:07 +04:00
serebrserg
191d8b9707 METR-22322: add functional test 2016-08-15 19:34:03 +03:00
serebrserg
c8bbb26802 METR-22322: array instead of vector 2016-08-15 15:41:06 +03:00
serebrserg
db5bae495b METR-22322: rename function, add comments 2016-08-14 15:18:11 +03:00
Alexey Milovidov
1bb6ccd7f8 Better [#METR-22410]. 2016-08-13 08:29:53 +03:00
Alexey Milovidov
9efc240f34 Corrected tests whose sensitivity may have degraded after introduced squashing blocks on INSERT by default [#METR-21877]. 2016-08-13 08:06:36 +03:00
Alexey Milovidov
5fc8043b6f Fixed error [#METR-22410]. 2016-08-13 07:31:15 +03:00
Alexey Milovidov
0cf32c8aed Renamed method [#METR-22400]. 2016-08-13 05:21:17 +03:00
Alexey Milovidov
b3b2cd110a Tiny modification [#METR-22327]. 2016-08-13 04:59:09 +03:00
Alexey Milovidov
19f861464a Moving code [#METR-2944]. 2016-08-13 04:57:35 +03:00
Alexey Milovidov
af7e4a0c73 Try to improve performance of ColumnString::insertInto [#METR-22173]. 2016-08-12 23:50:34 +03:00
serebrserg
429b73422f METR-22322: add geo distance function 2016-08-12 19:51:08 +03:00
Alexey Milovidov
d5ad347532 Fixed probable source of race conditions [#METR-22327]. 2016-08-12 08:20:06 +03:00
Alexey Milovidov
8224217e25 Fixed build [#METR-2944]. 2016-08-11 23:59:17 +03:00
Alexey Milovidov
9f51a59322 Merge branch 'master' of github.com:yandex/ClickHouse 2016-08-11 03:47:47 +03:00
Alexey Milovidov
715cb482fa Miscellaneous [#METR-2807]. 2016-08-11 03:47:01 +03:00
Alexey Milovidov
6cc8dadd6d Fixed error [#METR-21993]. 2016-08-11 00:20:46 +03:00
Alexey Milovidov
225d6bf30a Fixed possible overflow [#METR-22187]. 2016-08-10 23:09:37 +03:00
Alexey Milovidov
b0256b9935 Fixed stack overflow [#METR-22219]. 2016-08-10 21:49:10 +03:00
Alexey Milovidov
d8eb52c189 Improvement [#METR-22352]. 2016-08-10 10:20:21 +03:00
Alexey Milovidov
65e557a105 Fixed test [#METR-22352]. 2016-08-10 08:22:52 +03:00
Alexey Milovidov
a71f846d27 Client: added --echo option to simlify investigating diff of functional tests [#METR-22352]. 2016-08-10 08:13:45 +03:00
Alexey Milovidov
e0182a035c clickhouse-test: removed unused option; added support to run subset of tests [#METR-22352]. 2016-08-10 07:48:14 +03:00
Alexey Milovidov
6bc1840b88 Fixed error [#METR-22352]. 2016-08-10 07:20:50 +03:00
Alexey Milovidov
dde2c4c3c5 Creating directory for flags [#METR-21594]. 2016-08-10 03:47:00 +03:00
Alexey Milovidov
5e9be50a52 Fixed build of test [#METR-21594]. 2016-08-10 02:14:36 +03:00
Alexey Milovidov
8cbf62236f Fixed build of test [#METR-21594]. 2016-08-10 02:13:41 +03:00
Alexey Milovidov
b51bdbd0c0 Allow to set 'force_restore_data' flag with creating file on local filesystem [#METR-21594], [#METR-17811]. 2016-08-10 00:48:05 +03:00
Alexey Milovidov
4b41c52747 Attempt to improve performance of replication queue processing [#METR-22352]. 2016-08-09 23:39:28 +03:00
Alexey Milovidov
bb5bdd098d Whitespace [#METR-2944]. 2016-08-09 23:39:03 +03:00
Alexey Milovidov
41c28b26d0 Fixed test [#METR-2944]. 2016-08-07 21:20:57 +03:00
Alexey Milovidov
f8e8875b8a Fixed warnings on clang [#METR-2944]. 2016-08-07 19:28:12 +03:00
Alexey Milovidov
f129e94429 Fixed warnings on clang [#METR-2944]. 2016-08-07 19:17:57 +03:00
Alexey Milovidov
30eb125100 Fixed error with INSERT SELECT and nested data structures [#METR-22328]. 2016-08-07 18:13:40 +03:00
Alexey Milovidov
cb7a458ac4 Added check [#METR-22325]. 2016-08-07 14:12:55 +03:00
Alexey Milovidov
65c34e8274 Addition to prev. revision [#METR-2807]. 2016-08-07 12:10:45 +03:00
Alexey Milovidov
6c861fe798 Style [#METR-2807]. 2016-08-07 12:09:18 +03:00
Alexey Milovidov
11d6962797 Fixed error [#MOBMET-3953]. 2016-08-07 11:30:29 +03:00
Alexey Milovidov
6d614f2f96 Fixed error [#MOBMET-3953]. 2016-08-07 11:23:44 +03:00
Alexey Milovidov
d613c1e0e9 Removed old debug code [#METR-2944]. 2016-08-07 11:13:29 +03:00
Alexey Milovidov
0ae29e867b Less wrong [#MOBMET-3953]. 2016-08-07 11:12:58 +03:00
Alexey Milovidov
7dfcdbfb86 Fixed error in ComplexKeyCacheDictionary [#MOBMET-3953]. 2016-08-07 09:10:15 +03:00
Alexey Milovidov
b5b37d0f26 Added test program [#MOBMET-3953]. 2016-08-07 01:33:20 +03:00
Alexey Milovidov
9fd26e381a Less code [#MOBMET-3953]. 2016-08-07 01:31:58 +03:00
Alexey Milovidov
0630debf11 Merge branch 'block-simplification' 2016-08-05 22:21:36 +03:00
Alexey Milovidov
fa9dc8a521 Fixed error [#METR-22173]. 2016-08-05 22:20:38 +03:00
Alexey Milovidov
a37b9371b0 Fixed error [#METR-22173]. 2016-08-05 22:15:07 +03:00
Alexey Milovidov
402f09c3c4 Improved test [#METR-22173]. 2016-08-05 05:41:41 +03:00
Alexey Milovidov
55ddf44693 Whitespaces [#METR-22173]. 2016-08-05 05:40:45 +03:00
Alexey Milovidov
61b9996d9e Better [#METR-22173]. 2016-08-05 05:28:34 +03:00
Alexey Milovidov
fb5981871a Avoid copying ColumnWithTypeAndName [#METR-22173]. 2016-08-05 02:35:07 +03:00
Alexey Milovidov
093353d0ad Blocks simplification [#METR-22173]. 2016-08-05 00:40:20 +03:00
Alexey Milovidov
ca044bf0de Added comment [#METR-22173]. 2016-08-04 08:47:59 +03:00
Alexey Milovidov
091e4a53ab Addition to prev. revision [#METR-22173]. 2016-08-04 08:32:58 +03:00
Alexey Milovidov
f638ebbbf5 Probably better [#METR-22173]. 2016-08-04 08:19:37 +03:00
Alexey Milovidov
4922eac99a Added test [#METR-22296]. 2016-08-04 08:18:46 +03:00
Alexey Milovidov
6c476974d4 Maybe better [#METR-22173]. 2016-08-04 07:51:41 +03:00
Alexey Milovidov
8f36012d47 Added special exception to allow to convert string with serialized DateTime to Date [#METR-22296]. 2016-08-04 01:39:16 +03:00
Alexey Milovidov
d7ce4dd410 Better grepability [#METR-22173]. 2016-08-03 23:25:09 +03:00
Alexey Milovidov
62d067c81f Addition to prev. revision [#METR-22285]. 2016-08-02 23:02:34 +03:00
Alexey Milovidov
b7cecc176d Protection against infinite loop in RegionsHierarchy [#METR-22285]. 2016-08-02 22:42:01 +03:00
Alexey Milovidov
ff23a9cdda Fixed test [#METR-22229]. 2016-08-02 22:22:46 +03:00
Alexey Milovidov
ee92f5d0cc dbms: prefer fetching part from replica, in some cases [#METR-22288]. 2016-08-02 22:02:00 +03:00
Alexey Milovidov
6cf89fa915 Attempt to not interrupt merges when ZK session is reinitialized [#METR-22283]. 2016-08-02 21:33:55 +03:00
Alexey Milovidov
441aaf6e1d Added toTOrZero conversion functions [#METR-22229]. 2016-08-02 08:32:09 +03:00
Alexey Milovidov
f4ac673379 Allowed to CAST Strings to Array, Tuple [#METR-22263]. 2016-08-02 06:30:34 +03:00
Alexey Milovidov
9a07830dbb Removed useless code (experimental) [#METR-2944]. 2016-08-02 04:46:05 +03:00
Alexey Milovidov
1c25aa3b9d Removed useless code [#METR-2944]. 2016-08-01 23:03:55 +03:00
Alexey Milovidov
23a4a8bf19 Fixed error [#METR-2944]. 2016-07-31 13:43:54 +03:00
Alexey Milovidov
47fc043fd9 More [#METR-2944]. 2016-07-31 09:48:06 +03:00
Alexey Milovidov
899636e9fd Another improvement for UBSan [#METR-2944]. 2016-07-31 09:36:39 +03:00
Alexey Milovidov
9014f19f01 Fewer warnings from UBSan [#METR-2944]. 2016-07-31 08:56:36 +03:00
Alexey Milovidov
6f4fc79cde Better [#METR-2944]. 2016-07-31 06:53:16 +03:00
Alexey Milovidov
1d2937f781 Allow access only from localhost for developers builds, ran from source tree [#METR-2944]. 2016-07-31 06:05:42 +03:00
Alexey Milovidov
03bc662b36 Better diagnostics [#METR-22263]. 2016-07-30 08:30:28 +03:00
Alexey Milovidov
5b9d80505f Whitespaces [#METR-2807]. 2016-07-30 08:03:20 +03:00
Alexey Milovidov
6d6c22f92e Allow to start under thread sanitizer [#METR-2944]. 2016-07-30 07:44:04 +03:00
Alexey Milovidov
1700f4e132 Added support for complex typed arguments for function toString [#METR-22263]. 2016-07-30 07:39:51 +03:00
Alexey Milovidov
ea734b6bee Removed compatibility layer with OLAPServer [#METR-2944]. 2016-07-30 04:08:00 +03:00
Alexey Milovidov
1be60a3b0b Merge branch 'master' of github.com:yandex/ClickHouse 2016-07-29 19:46:45 +03:00
Alexey Milovidov
349fd1aca8 Removed logrotate [#MTRSADMIN-2107]. 2016-07-29 19:46:11 +03:00
Oleg Obleukhov
f38041836c Replaced yandex-team.ru domain with .yandex in a help page 2016-07-29 12:31:32 +02:00
Alexey Milovidov
0ffae7b119 Added test [#METR-22226]. 2016-07-28 23:25:56 +03:00
Alexey Milovidov
1d2a5086d2 Fixed incompatibility [#METR-22226]. 2016-07-28 23:25:38 +03:00
Alexey Milovidov
040a957073 Added test [#METR-22188]. 2016-07-28 05:22:17 +03:00
Alexey Milovidov
118026db6b Added test [#METR-22227]. 2016-07-28 05:20:04 +03:00
Alexey Milovidov
f459167a0d Added test [#METR-20624]. 2016-07-28 05:18:07 +03:00
Alexey Milovidov
1bde542a29 Client: fixed incompatibility after library update [#METR-22227]. 2016-07-28 04:41:26 +03:00
Alexey Milovidov
6f633644be Allowed to have more users in users.xml/users.d files [#METR-22203]. 2016-07-27 04:25:44 +03:00
Alexey Milovidov
f1aab70e3d Fixed incompatibility with new parser of JOINs [#METR-22206]. 2016-07-26 22:43:58 +03:00
Alexey Milovidov
2811f2a17c Fixed error when system.columns table throws 'Table is dropped' exception when there are many tables, created and dropped everytime [#METR-22205]. 2016-07-26 20:22:55 +03:00
Alexey Milovidov
1c4293eb99 Fixed error with 'array' function [#METR-22188]. 2016-07-26 20:20:43 +03:00
Alexey Milovidov
e1411af2ed Fixed error with external sorting when constants are present [#METR-21787]. 2016-07-25 23:57:05 +03:00
Alexey Milovidov
9d1a720d90 Fixed error with assumed monotonicity of integer conversion functions [#METR-2944]. 2016-07-24 02:02:14 +03:00
Alexey Milovidov
46694bbf84 Added missing file [#METR-2944]. 2016-07-23 23:54:22 +03:00
Alexey Milovidov
5f423e9023 Fixing incompatibilities [#METR-2944]. 2016-07-23 05:42:42 +03:00
Alexey Milovidov
dc665c67c5 Fixing incompatibilities [#METR-2944]. 2016-07-23 05:25:09 +03:00
Alexey Milovidov
130ec8b58b Compatibility with new parser and AST of tables list [#METR-2944]. 2016-07-22 23:39:28 +03:00
Alexey Milovidov
1ef87202f6 Rectifications of JOINs: development [#METR-2944]. 2016-07-21 18:48:11 +03:00
Alexey Milovidov
9f9be1b7fc Rectification of JOINs [#METR-2944]. 2016-07-18 04:20:53 +03:00
Alexey Milovidov
40ae51e7b3 Rectifying JOINs [#METR-2944]. 2016-07-18 03:14:24 +03:00
Alexey Milovidov
3d4aaf1a33 JOINs rectification: development [#METR-2944]. 2016-07-17 23:10:50 +03:00
Alexey Milovidov
c9521dd370 Added test [#METR-21691]. 2016-07-17 20:07:34 +03:00
Alexey Milovidov
e66ba2e1d8 Fixed error with aggregate function anyHeavy [#METR-21691]. 2016-07-17 20:06:19 +03:00
Alexey Milovidov
55ed2904f4 Allowed for certain aggregate functions to have case insensitive names for compatibility [#METR-22087]. 2016-07-14 08:22:09 +03:00
Alexey Milovidov
2331a367eb Fixed error [#METR-18149]. 2016-07-10 21:53:27 +03:00