Commit Graph

6253 Commits

Author SHA1 Message Date
Alexander Prudaev
d376a81692 columnar-appender-common: fix PoolWithFailOver [#METR-20682]. 2016-09-13 19:00:47 +03:00
Vitaliy Lyudvichenko
e966044634 Avoid reloading of loaded dicts on fast start stage 2016-09-13 16:44:35 +03:00
alexey-milovidov
39d256c619 Merge pull request #105 from ludv1x/METR-22593
metadata_modification_time column for system.tables [#METR-22593].
2016-09-13 05:05:09 +04:00
Alexey Arno
59043c680e dbms: Server: Ongoing work. Do not pay attention. [#METR-19266] 2016-09-12 17:16:21 +03:00
Alexey Arno
91636a981f dbms: Server: unfinished work. Do not pay attention to this. [#METR-19266] 2016-09-12 01:03:26 +03:00
Alexey Arno
b7ca838dc0 dbms: Server: cleanups [#METR-19266] 2016-09-11 13:06:34 +03:00
Alexey Arno
ef7eb14979 dbms: Server: Adding nullable types support for arrays. Ongoing. [#METR-19266] 2016-09-11 10:40:47 +03:00
Eugene Konkov
1c983b2872 save each test result to separate junit xml file in order to keep results of performed tests in case of aborted script 2016-09-06 18:47:24 +03:00
Vitaliy Lyudvichenko
e7507afb99 Adaptive time intervals for embedded dictionaries loading [#METR-22050]. 2016-09-05 21:55:23 +03:00
Vitaliy Lyudvichenko
1d02509ee0 Add new metadata_modification_time column for system.tables [#METR-22593] 2016-09-05 15:15:29 +03:00
Alexey Milovidov
9a724ce07b Merge branch 'master' of github.com:yandex/ClickHouse 2016-09-04 20:24:12 +03:00
Alexey Milovidov
469eebe4f0 Investigation [#METR-2944]. 2016-09-04 20:12:07 +03:00
Alexey Milovidov
3ed7b86e7b More convenient behaviour when user writes 'toDate(1111111111.)' (passes unix timestamp as float) [#METR-2944]. 2016-09-04 03:42:24 +03:00
Alexey Milovidov
4d65dd3b37 Get rid of buggy code (that coincidently was useless too) [#METR-2944]. 2016-09-04 03:01:48 +03:00
Eugene Konkov
a45a8ca9d0 Add test case timeout [#METRIQA-248] 2016-09-02 19:27:12 +03:00
Alexey Arno
443613c153 dbms: Fixed bug in ALTER TABLE ... MODIFY COLUMN. [#METR-19622] 2016-09-02 18:43:43 +03:00
Eugene Konkov
ae1edc4197 fix console output 2016-09-02 16:15:01 +03:00
Alexey Milovidov
322e5031bd Investigation [#METR-22327]. 2016-09-02 07:03:40 +03:00
Alexey Milovidov
5cdc330273 Fixed error [#METR-22625]. 2016-09-02 05:58:59 +03:00
Alexey Milovidov
344e975a59 Temporarily improvement [#METR-22608]. 2016-09-02 03:58:18 +03:00
Alexey Milovidov
9a8105b952 Removed obsolete tests [#METR-2807]. 2016-09-01 22:33:03 +03:00
Alexey Milovidov
3978358e74 Fixed error [#METR-22462]. 2016-09-01 21:55:13 +03:00
Alexey Milovidov
5cea0bb822 Fixed error [#METR-22462]. 2016-09-01 21:45:45 +03:00
Alexey Milovidov
3656f0efe2 Fixed error in test [#METR-2807]. 2016-09-01 20:58:40 +03:00
Eugene Konkov
08cbd95290 Write junit-compatible xml report to file specified with --output argument. 2016-09-01 20:40:02 +03:00
Alexey Arno
91b20fe7ad dbms: Disabled check because it is unreliable. A better solution is needed. [#METR-18510] 2016-09-01 17:40:02 +03:00
Alexey Arno
2b3a87b7c6 dbms: Catch missing parameter [#METR-18510] 2016-09-01 13:53:50 +03:00
Alexey Arno
6c064ab55b dbms: Better comment [#METR-18510] 2016-09-01 13:24:06 +03:00
Alexey Arno
18930e5bb5 dbms: Better. [#METR-18510] 2016-09-01 11:19:19 +03:00
Alexey Milovidov
0db84044e5 Better [#METR-22608]. 2016-09-01 05:26:45 +03:00
Alexey Arno
5dc3b28774 dbms: Fixed deadlock. [#METR-18510] 2016-08-31 19:42:04 +03:00
alexey-milovidov
4e0fc72505 Merge pull request #99 from smi2/master
CORS hearder test
2016-08-31 01:33:46 +04:00
igor
c04e82263d CORS header test, fix grep 2016-08-30 23:53:59 +03:00
alexey-milovidov
012f34a799 Merge pull request #96 from yurial/yurial-IStorage-enable_shared_from_this
use std::enable_shared_from_this for IStorage
2016-08-31 00:00:23 +04:00
Yuri Dyachenko
295ca40237 typo fix 2016-08-30 22:28:32 +03:00
Yuri Dyachenko
94a2186dde rename ext::share_ptr_helper -> ext::shared_ptr_helper 2016-08-30 22:27:15 +03:00
Alexey Arno
b0834368c0 dbms: Added support for the construction CAST(NULL, Nullable(T)). This fixes the behavior of tables which have columns whose default value is NULL. [#METR-19266] 2016-08-30 19:14:05 +03:00
igor
9c66d18cb5 CORS hearder test 2016-08-30 09:25:24 +03:00
Alexey Arno
9528405fe4 dbms: Extended CAST to nullable types. Added ALTER TABLE ... MODIFY COLUMN ... for nullable types. A column with a nullable type can have a default value in CREATE TABLE. [#METR-19266] 2016-08-29 19:57:59 +03:00
Yuri Dyachenko
e5825f790f use std::enable_shared_from_this for IStorage 2016-08-29 16:28:34 +03:00
Alexey Milovidov
be6cfea281 Fixed typo in comment [#METR-2807]. 2016-08-26 23:22:22 +03:00
alexey-milovidov
60b9234b50 Merge pull request #95 from yurial/yurial-more-warning-flags
add -Wold-style-cast
2016-08-26 23:58:05 +04:00
Yuri Dyachenko
065b02494a add -Wold-style-cast 2016-08-26 22:55:11 +03:00
Alexey Milovidov
31fcf61ee0 Fixed error [#METR-22462]. 2016-08-26 22:51:25 +03:00
Alexey Milovidov
867b73b6b0 Fixed error with cancelling merges on ALTERs [#METR-22524]. 2016-08-26 22:50:04 +03:00
Alexey Milovidov
0c39e52094 Fixed error [#METR-22462]. 2016-08-26 21:06:24 +03:00
Alexey Milovidov
8dd6acac59 Added comment [#METR-22482]. 2016-08-26 20:57:19 +03:00
Alexey Milovidov
b85dc1bc0f convertCharset: development [#METR-22482]. 2016-08-26 05:24:17 +03:00
Alexey Milovidov
6e91f49d4c Addition to prev. revision [#METR-22482]. 2016-08-26 00:47:45 +03:00
Alexey Milovidov
d9db19acea Function 'convertCharset': development [#METR-22482]. 2016-08-26 00:44:47 +03:00
alexey-milovidov
cbabbb0bc4 Merge pull request #93 from yurial/yurial-fix-dictHas-METR-22522
use 'std::vector<bool> loaded_ids' for FlatDictionary::has()
2016-08-26 00:13:27 +04:00
Yuri Dyachenko
06032a6737 use 'std::vector<bool> loaded_ids' for FlatDictionary::has() 2016-08-25 23:09:58 +03:00
Alexey Arno
4c8d5b1630 dbms: fixed issue with columns having default values [#METR-19266] 2016-08-25 23:01:36 +03:00
Alexey Milovidov
689f599e2a Fixed error, removed partially duplicate code [#METR-22462]. 2016-08-25 20:23:29 +03:00
Alexey Arno
e75a45db66 dbms: typo fix [#METR-19266] 2016-08-25 18:51:18 +03:00
Alexey Milovidov
416a74575e Merge branch 'master' of github.com:yandex/ClickHouse 2016-08-25 18:50:17 +03:00
Alexey Milovidov
a3953de0b8 Removed useless files (preparation) [#METR-22462]. 2016-08-25 18:48:25 +03:00
Alexey Arno
06f2bb52f0 dbms: Added functional test for nullable-specific functionality. [#METR-19266] 2016-08-25 18:13:05 +03:00
Yuri Dyachenko
c3697364fd enable debug symbols for CMAKE_BUILD_TYPE=Debug 2016-08-25 17:58:01 +03:00
Alexey Arno
27e095f095 dbms: Do not allow inserting NULLs into non-nullable columns [#METR-19266] 2016-08-25 17:04:26 +03:00
Alexey Arno
4b71823b49 dbms: better [#METR-19266] 2016-08-25 16:24:06 +03:00
Alexey Arno
ae2d8d9adb dbms: better [#METR-19266] 2016-08-25 16:23:24 +03:00
Alexey Arno
d4da820f6c dbms: Allow INSERT when source columns and target columns have compatible types up to nullability. [#METR-19266] 2016-08-25 15:38:47 +03:00
Alexey Arno
d4e5cd2004 dbms: Fixed issues with INSERT. [#METR-19266] 2016-08-24 19:52:17 +03:00
Alexey Arno
6a036bad4f dbms: Fixed issues with INSERT. [#METR-19266] 2016-08-24 19:02:34 +03:00
Alexey Arno
824341c1c2 dbms: made code more readable [#METR-19266] 2016-08-24 13:27:19 +03:00
Alexey Arno
cd0541134a dbms: post-testing fixes [#METR-19266] 2016-08-24 03:39:38 +03:00
igor
3bbbdb29f5 Add CORS hearder,param:add_http_cors_header and check request header 2016-08-23 21:35:23 +03:00
alexey-milovidov
9148209bc2 Merge pull request #80 from yandex/metrica-sync2
Metrica sync2
2016-08-23 18:18:19 +04:00
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 Arno
2a5abb17be dbms: cleanup [#METR-19266] 2016-08-19 15:01:10 +03:00
Alexey Arno
7a4683140e dbms: cleanup [#METR-19266] 2016-08-19 12:08:48 +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
Alexey Arno
eb98892e61 dbms: cleanup [#METR-19266] 2016-08-18 20:08:05 +03:00
Alexey Arno
22dc2f96a1 dbms: cleanup [#METR-19266] 2016-08-18 19:11:20 +03:00
Alexey Arno
e822631310 dbms: cleanup [#METR-19266] 2016-08-18 18:58:46 +03:00
Alexey Arno
e138621b7c dbms: improvements [#METR-19266] 2016-08-18 17:33:56 +03:00
Alexey Arno
f65e7b4a0f dbms: improvements [#METR-19266] 2016-08-18 17:25:02 +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 Arno
da06da5528 dbms: cleanup [#METR-19266] 2016-08-17 20:35:54 +03:00
Alexey Arno
fd2225e1fb dbms: cleanup [#METR-19266] 2016-08-17 20:20:21 +03:00
Alexey Arno
8b9742431e dbms: cleanup [#METR-19266] 2016-08-17 19:31:00 +03:00
Alexey Arno
c4f348619d dbms: cleanup [#METR-19266] 2016-08-17 16:38:33 +03:00
Alexey Arno
74ccf71a2a dbms: cleanup [#METR-19266] 2016-08-17 14:54:21 +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 Arno
821f1e6482 dbms: cleanup [#METR-19266] 2016-08-17 01:40:05 +03:00
Alexey Arno
4ae075c7b9 dbms: temporarily rolled back change that removes isNumeric()/behavesAsNumber() because it introduces bugs [#METR-19266] 2016-08-17 01:32:42 +03:00
Alexey Arno
576bd2744f dbms: temporarily rolled back change that removes isNumeric()/behavesAsNumber() because it introduces bugs [#METR-19266] 2016-08-17 01:32:19 +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 Arno
be2a305366 dbms: cleanup [#METR-19266] 2016-08-16 16:31:42 +03:00
Alexey Arno
a13f32265e dbms: cleanup [#METR-19266] 2016-08-16 15:53:22 +03:00
Alexey Arno
519240dd9a dbms: cleanup [#METR-19266] 2016-08-16 15:34:54 +03:00
Alexey Arno
0efc990f67 dbms: cleanup [#METR-19266] 2016-08-16 15:25:45 +03:00
Alexey Arno
fa700f986f dbms: cleanup [#METR-19266] 2016-08-16 15:10:12 +03:00
Alexey Arno
fe79074884 dbms: cleanup [#METR-19266] 2016-08-16 14:26:17 +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 Arno
e513df2e5c dbms: reverted change (was bogus) [#METR-19266] 2016-08-15 20:26:06 +03:00
Alexey Arno
8340f8fd07 dbms: better [#METR-19266] 2016-08-15 20:10:30 +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
Alexey Arno
44a135f656 dbms: better [#METR-19266] 2016-08-15 17:36:01 +03:00
Alexey Arno
04c9975c84 dbms: fix [#METR-19266] 2016-08-15 17:07:23 +03:00
Alexey Arno
a9310a5568 dbms: fix [#METR-19266] 2016-08-15 16:30:37 +03:00
Alexey Arno
e19cd2e464 dbms: fix [#METR-19266] 2016-08-15 15:42:12 +03:00
serebrserg
c8bbb26802 METR-22322: array instead of vector 2016-08-15 15:41:06 +03:00
Alexey Arno
f4e77aaf97 dbms: Better code for functions processing. Code cleanup. [#METR-19266] 2016-08-15 14:14:29 +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