Commit Graph

122 Commits

Author SHA1 Message Date
millb
4480ed5b14 Comments fixed 2020-01-24 13:54:24 +03:00
millb
4eacd514ec Style is fixed 2020-01-22 15:10:38 +03:00
Mikhail Korotov
3b7fdaa534 changes made 2020-01-21 23:00:43 +03:00
Mikhail Korotov
584826424a Merge branch 'suffix_in_settings_value' of github.com:millb/ClickHouse into suffix_in_settings_value 2020-01-21 21:32:54 +03:00
Alexey Milovidov
d3168e33ef Merge branch 'master' into get-table-performance-issue 2020-01-06 02:02:30 +03:00
Alexey Milovidov
ae2cc175ae Fixed potential performance issue in "Context::getTable" method 2020-01-06 02:00:31 +03:00
Alexey Milovidov
0f4a58ecaa Removed bad code around general compression methods 2020-01-04 10:31:00 +03:00
Mikhail Korotov
1fd3bbc092
Update comments 2019-12-19 17:34:16 +03:00
Mikhail Korotov
e9ce6c97cc Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into suffix_in_settings_value 2019-12-18 15:00:41 +03:00
kreuzerkrieg
9612bb0e79 More GCC warnings 2019-12-16 23:19:50 +02:00
Vasily Nemkov
f8fec0402b Merge commit 'e7540dcf686936a490f89d0735f74c2f5f009821' into DateTime64 2019-12-11 17:38:32 +03:00
Vasily Nemkov
c781908e6d Post-PR fixes
* More precise overflow check in readIntTextImpl
* writeDateTimeText now always writes sub-second part for DateTime64
* comment for validateFunctionArgumentTypes
* DateTime64-related fixes for FunctionConvertFromString
* other minoe fixes: comments, removed commented out code, variable
  renamings, etc.
2019-12-11 12:20:05 +03:00
Vasily Nemkov
f56b2b64f2 Post-review refactoring and tests for DateTime64 and Decimal.
* put functions in DecimalFunctions into DecimalUtils namespace
* fixed possible buffer overflow in parseDateTimeBestEffortImpl
* fixed readDateTimeTextImpl not to require fractional part separator
  (if fractional part is missing)
* Tests for code from DecimalFunctions.h
* Fixed serializing DateTime64 to string with writeDateTimeText(), fixed tests
2019-12-11 06:58:49 +03:00
millb
eb26a00c4e Fixed bugs 2019-12-07 02:29:06 +03:00
millb
6a5762d86c Fixed bugs 2019-12-06 22:31:33 +03:00
millb
baf1bb4b58 Fixed bugs 2019-12-06 22:29:58 +03:00
millb
11e0b333dc Fixed bugs 2019-12-06 22:27:34 +03:00
millb
16ce798345 Suffix for integral values 2019-12-06 21:59:48 +03:00
alesapin
eb17d51dd4 Remove unused function 2019-12-04 12:49:54 +03:00
alesapin
d1d3bac744 Better 2019-12-04 12:48:08 +03:00
alesapin
9e5f13e7af Merge branch 'fix_metric_suffix_in_settings_value' of https://github.com/millb/ClickHouse into millb-fix_metric_suffix_in_settings_value 2019-12-04 12:22:29 +03:00
alesapin
2a43daec5c Buildable code 2019-12-03 20:15:16 +03:00
Vasily Nemkov
70512f8289 Merge remote-tracking branch 'upstream/master' into DateTime64 2019-11-30 21:49:15 +03:00
Nikita Mikhaylov
f6604fdf1a fix build 2019-11-26 20:04:46 +03:00
Nikita Mikhaylov
6f119d53f5 adding comments to strange functions used in parallel parsing 2019-11-26 19:33:43 +03:00
Nikita Mikhaylov
22a8e8efa7 better segmenating + move read functions to avoid linker errors 2019-11-22 16:53:26 +03:00
Nikita Mikhaylov
6f80b0fed4 move specific functions to ReadHelpers 2019-11-22 13:12:24 +03:00
Andrei Bodrov
533cb088e6 std::forward in template 2019-11-20 23:57:34 +03:00
Andrei Bodrov
c2849d0864 move to helpers 2019-11-20 17:48:01 +03:00
millb
14c0093a18 Added assertEOF 2019-11-12 16:42:37 +03:00
Vasily Nemkov
2d3cb9aeb7 Fixed compilation errors on Clang-8 2019-11-11 08:34:39 +03:00
Mikhail Korotov
8ad704969c
Update ReadHelpers.h 2019-11-11 07:49:26 +03:00
Mikhail Korotov
68433bf3c8
Update ReadHelpers.h 2019-11-11 07:48:36 +03:00
millb
f0dc80435a Style commit 2019-11-11 07:46:28 +03:00
millb
2920d0bce3 Working commit 2019-11-11 07:20:08 +03:00
millb
efc531c953 Working commit 2019-11-08 21:07:22 +03:00
millb
044ee602e4 Working commit 2019-11-08 20:56:43 +03:00
millb
001e113ca6 Working commit 2019-11-08 19:12:19 +03:00
Vasily Nemkov
7ee0d6132f Fixed bug of not setting DateTime64 value in readDateTimeTextImpl if fractional part was missing. 2019-11-08 14:50:54 +03:00
millb
0a471cab0d Working commit 2019-11-08 03:19:00 +03:00
Vasily Nemkov
e924ae6d15 Better parsing of DateTime64
Fractional part is optional, correctly scaling fractional part to match
the scale.
2019-11-05 16:41:15 +03:00
Vasily Nemkov
c6eb0fcff7 Merge remote-tracking branch 'upstream/master' into DateTime64 2019-11-04 17:06:22 +03:00
Amos Bird
ad12099642
ubsan fix 2019-11-02 17:00:03 +08:00
Vasily Nemkov
8648ebf75c Initial implementation of DateTime64 parsing functions; 2019-10-12 10:03:38 +03:00
Vasily Nemkov
180b986972 Extern templates + minor simplifications 2019-10-03 10:27:28 +03:00
Vasily Nemkov
6e813002d5 Proper serialization of DateTime64 also updated functions support. 2019-10-02 08:53:38 +03:00
Vasily Nemkov
9cc2baf05c DataType64 as decimal
compiles
2019-09-26 18:12:40 +03:00
Vasily Nemkov
1b0410cee7 Merge commit '50928323ebabe0663e26601c3929ee94b9a5127d' into DateTime64 2019-09-09 16:18:22 +03:00
Alexey Milovidov
9cf0c780fb Better code 2019-09-03 21:23:13 +03:00
Zhichang Yu
9e587fb139 fix DataTypeAggregateFunction deserialization 2019-09-02 20:09:40 +08:00