Commit Graph

3947 Commits

Author SHA1 Message Date
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
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
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
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
56a091cb6e Throw exception when multi-statements are disabled [#METR-22252]. 2016-08-17 08:38:51 +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
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
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
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
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
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
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
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
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
9fd26e381a Less code [#MOBMET-3953]. 2016-08-07 01:31:58 +03:00
Alexey Milovidov
fa9dc8a521 Fixed error [#METR-22173]. 2016-08-05 22:20:38 +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
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
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
ee92f5d0cc dbms: prefer fetching part from replica, in some cases [#METR-22288]. 2016-08-02 22:02:00 +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
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
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
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
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
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
d4c364afa9 Tiny modifications [#METR-22035]. 2016-07-10 20:19:35 +03:00
Alexey Milovidov
f5f38e1e50 Better support for tuples, arrays in SELECT DISTINCT [#METR-22035]. 2016-07-10 18:58:58 +03:00
Alexey Milovidov
a01534e6ab Added syntactic sugar for count(DISTINCT ...) and 'count_distinct_implementation' setting [#METR-22035]. 2016-07-10 18:52:35 +03:00
alexey-milovidov
e4c62935c3 Merge pull request #49 from yandex/METR-18844
Metr 18844
2016-07-10 12:43:19 +03:00
Alexey Milovidov
003d63023b Fixed error [#METR-18149]. 2016-07-10 10:24:24 +03:00
Alexey Milovidov
b10177ed69 Additions [#METR-18149]. 2016-07-10 08:50:09 +03:00
Alexey Milovidov
402a4933e3 Fixed errors with tuples [#METR-18149]. 2016-07-10 07:09:59 +03:00
Alexey Milovidov
9208a72b5a Working out tuples [#METR-18149]. 2016-07-10 05:51:13 +03:00
Alexey Milovidov
e6e6953bf3 Miscellaneous modifications [#METR-2944]. 2016-07-10 05:33:50 +03:00
Alexey Milovidov
df7215487a Fixed error [#METR-18149]. 2016-07-10 05:14:23 +03:00
Alexey Milovidov
03ed8fc58e Addition to prev. revision [#METR-2944]. 2016-07-10 02:40:15 +03:00
Alexey Milovidov
3a6208c6d0 Translated few comments [#METR-2944]. 2016-07-10 02:37:29 +03:00
Alexey Milovidov
f08a5aba80 Improved performance of array function for non-constant arguments [#METR-22034]. 2016-07-09 09:33:44 +03:00
Alexey Milovidov
8af48d9dfc Partially fixed bad code [#METR-22034]. 2016-07-09 08:11:54 +03:00
Alexey Milovidov
e1181f2175 Added support for arbitary nested type of arrays for function has [#METR-18149]. 2016-07-09 07:39:57 +03:00
Alexey Milovidov
27360b8166 Added support for tuple arguments of function if [#METR-22033]. 2016-07-09 06:54:57 +03:00
Alexey Milovidov
943c056b02 Better [#METR-22032]. 2016-07-09 02:47:58 +03:00
Alexey Milovidov
33d324b8d6 Probably fixed error [#METR-22032]. 2016-07-09 00:47:54 +03:00
Alexey Milovidov
777f6bd05c Added miscellaneous function 'rowNumberInAllBlocks' [#METR-21993]. 2016-07-09 00:46:18 +03:00
Alexey Arno
a2e3c88dee dbms: Server: Fixes. Fix for PODArray::swap(). [#METR-18844] 2016-07-08 19:08:32 +03:00
Alexey Arno
b1079964da dbms: Server: Fixes. Fix for PODArray::swap(). [#METR-18844] 2016-07-08 18:30:57 +03:00
Alexey Arno
be56cabd51 dbms: Server: Fixes. Fix for PODArray::swap(). [#METR-18844] 2016-07-08 18:10:47 +03:00
Alexey Arno
7d4691c271 dbms: Server: Fixes. Fix for PODArray::swap(). [#METR-18844] 2016-07-08 17:53:00 +03:00
Alexey Milovidov
3b34b0a84c Addition to prev. revision [#METR-22008]. 2016-07-08 07:22:23 +03:00
Alexey Milovidov
ea0b6b3669 Implemented function arrayElement for generic case; partially removed bad code [#METR-22008]. 2016-07-08 07:16:30 +03:00
Alexey Arno
9725ce95d0 dbms: Server: Fixes. Fix for PODArray::swap() in progress. [#METR-18844] 2016-07-08 01:49:38 +03:00
Alexey Arno
f30a954526 dbms: Server: in PODArray, fixed move constructor, move operator, and swap method when using AllocatorWithStackMemory. [#METR-18844] 2016-07-07 20:57:49 +03:00
Alexey Arno
e3dcf89f2d dbms: Server: in PODArray, fixed move constructor, move operator, and swap method when using AllocatorWithStackMemory. [#METR-18844] 2016-07-07 20:57:03 +03:00
Alexey Arno
078924ea13 dbms: Server: in PODArray, fixed move constructor, move operator, and swap method when using AllocatorWithStackMemory. [#METR-18844] 2016-07-07 19:59:01 +03:00
Alexey Arno
aa41a18fc5 dbms: Server: in PODArray, fixed move constructor, move operator, and swap method when using AllocatorWithStackMemory. [#METR-18844] 2016-07-07 19:56:49 +03:00
Alexey Arno
fdfba69a46 dbms: Server: Merged with master. [#METR-18844] 2016-07-07 19:44:05 +03:00
Alexey Milovidov
c2929666fd Fixed error [#METR-21877]. 2016-07-07 04:57:48 +03:00
Alexey Milovidov
77f178e046 Squashing transforms: development [#METR-21877]. 2016-07-07 00:50:16 +03:00
Alexey Milovidov
5f81c096f6 Squashing transforms: development [#METR-21877]. 2016-07-07 00:48:11 +03:00
Alexey Milovidov
f304053832 Added support for little more escape sequences (while parsing) [#METR-21995]. 2016-07-06 22:20:22 +03:00
Alexey Arno
09ec76ebb2 dbms: Server: Fixed bug. Currently the move constructor and assignement operator of PODArray behave incorrectly if used with AllocatorWithStackMemory. Anyway here no move operation is needed to achieve what we want to do. [#METR-18844] 2016-07-04 20:31:51 +03:00
Alexey Milovidov
1a420a14e9 Squashing small blocks on INSERT (when passing blocks via TCP interface or when doing INSERT SELECT) [#METR-21877]. 2016-07-02 00:02:13 +03:00
Alexey Milovidov
fe216b7338 Fixed error when libcpuid reports zero number of CPU cores [#METR-21926]. 2016-06-30 23:35:07 +03:00
alexey-milovidov
ee32e47073 Revert "dbms: Server: Use PODArray instead of std::vector in sequenceMatch/Co…" 2016-06-30 22:44:01 +04:00
Alexey Arno
6c3d36d616 dbms: Server: Renaming [#METR-18844] 2016-06-30 19:56:13 +03:00
Alexey Arno
d537ad38c8 dbms: Server: Added missing tweaks [#METR-18844] 2016-06-30 19:43:22 +03:00
Alexey Arno
86f14711cc dbms: Server: Use PODArray instead of std::vector in sequenceMatch/Count functions implementation [#METR-18844] 2016-06-30 19:31:48 +03:00
Alexey Milovidov
5ded454986 Added 'WITH NAME' section to ALTER TABLE ... FREEZE PARTITION query [#METR-21884]. 2016-06-28 23:50:37 +03:00
Alexey Milovidov
68f0bd03db Fixed error with parsing bad arrays [#METR-21885]. 2016-06-28 23:45:28 +03:00
Alexey Milovidov
aafe85e474 Modified comment [#METR-21691]. 2016-06-28 21:00:04 +03:00
Alexey Milovidov
b408afa74f Added 'anyHeavy' aggregate function [#METR-21691]. 2016-06-26 15:48:04 +03:00
Alexey Milovidov
f8b4ade0ec Added 'stacktrace' parameter for HTTP interface (0, don't output stack trace by default) [#METR-21846]. 2016-06-25 10:22:12 +03:00
Alexey Milovidov
df438a5a47 Little better [#METR-2944]. 2016-06-25 07:29:09 +03:00
Alexey Milovidov
d9b8b74180 Added setting 'log_queries_cut_to_length' [#METR-21843]. 2016-06-25 06:21:01 +03:00
Alexey Milovidov
9b5c2eec0d Merge branch 'master' of github.com:yandex/ClickHouse 2016-06-24 01:28:38 +03:00
Alexey Milovidov
71ecca56d0 Fixed comment [#METR-2944]. 2016-06-24 01:28:15 +03:00
Alexey Milovidov
df538babc8 Text formats: detecting and skipping UTF-8 BOM when possible [#METR-21817]. 2016-06-23 22:39:20 +03:00
Alexey Milovidov
09cf24cd13 Fixed error with ColumnAggregateFunction and LIMIT [#METR-2944]. 2016-06-22 00:42:57 +03:00
Pavel Kartavyy
ff03239b31 dbms:ColumnVector: add get method 2016-06-21 14:32:08 +03:00
Alexey Milovidov
b8adf2c906 Updated comments [#METR-2944]. 2016-06-19 00:08:35 +03:00
Vladimir Chebotarev
8a65c867f7 dbms: Fixed build with QuickLZ. [#METR-19660] 2016-06-16 18:56:36 +03:00
Pavel Kartavyy
a380ebe0ad dbms: fix build 2016-06-16 15:14:06 +03:00
Alexey Milovidov
ffb1672f68 Added missing header (fixed build on gcc 5.4, tnx. kmeaw) [#METR-20000]. 2016-06-15 15:43:36 +03:00
Alexey Milovidov
6188c018e5 Updating documentation [#METR-21710]. 2016-06-14 21:32:07 +03:00
Pavel Kartavyy
49318b6cc5 ConcurrentBoundedQueue: fix check 2016-06-14 14:45:40 +03:00
Pavel Kartavyy
f258de68a8 ConcurrentBoundedQueue: fix creating of invalid object if exception in move ctor happens [#METR-19530] 2016-06-14 14:45:40 +03:00
Pavel Kartavyy
37614c5637 fix build after merge 2016-06-14 14:45:39 +03:00
Pavel Kartavyy
2e67346026 logbroker-import: fix build [#METR-19530]
fix build
2016-06-14 14:44:33 +03:00
Pavel Kartavyy
4d79e0af81 dbms::ConcurentBoundedQueue: use move semantics [#METR-19530] 2016-06-14 14:44:27 +03:00
Pavel Kartavyy
0d103894a1 ConcurrentBoundedQueue: add emplace 2016-06-14 14:44:26 +03:00
Alexey Milovidov
9485e493d1 Fixed memory leak in function quantileTiming [#METR-21614]. 2016-06-11 17:27:54 +03:00
Alexey Milovidov
4cf43a7e79 Fixed error when table couldn't alter itself in constructor [#METR-21479]. 2016-06-10 23:46:58 +03:00
Alexey Milovidov
abbb80ddd9 Modifications for address sanitizer [#METR-2944]. 2016-06-10 21:58:04 +03:00
Alexey Milovidov
103dfb39cc Fixed error [#METR-21651]. 2016-06-09 07:54:30 +03:00
Alexey Milovidov
59253f689b Tiny modifications [#METR-21651]. 2016-06-09 07:37:21 +03:00
Pavel Kartavyy
b5a04e3588 Client:Connection: move methods to cpp 2016-06-08 17:39:49 +03:00