Commit Graph

90 Commits

Author SHA1 Message Date
Alexey Milovidov
e14f5bef39 Make Ryu "to shortest" mode compatible with double-conversion 2020-01-06 13:34:33 +03:00
Alexey Milovidov
61beff2000 Attempt to make usage of Ryu library compatible 2020-01-06 09:45:05 +03:00
Alexey Milovidov
daa8c71d4d Attempt to make usage of Ryu library compatible 2020-01-06 09:24:34 +03:00
Alexey Milovidov
224b1eb886 Attempt to make usage of Ryu library compatible 2020-01-06 09:19:37 +03:00
Alexey Milovidov
bc138d272b Attempt to make usage of Ryu library compatible 2020-01-06 09:17:50 +03:00
Alexey Milovidov
2d47572603 Using "ryu" library to format floats 2020-01-06 06:22:11 +03:00
Alexey Milovidov
0f4a58ecaa Removed bad code around general compression methods 2020-01-04 10:31:00 +03: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
Vitaly Baranov
8035af3a79 Make Field::getScaleMultiplier() inline to allow using FieldVisitorConvertToNumber
in the "clickhouse_parsers" library.
2019-12-05 21:03:57 +03:00
Alexey Milovidov
49d25e06a8 Added a test 2019-12-03 04:29:19 +03:00
Alexey Milovidov
8fa05a212b Fixed bug in #7623 2019-12-03 04:22:25 +03:00
Vasily Nemkov
70512f8289 Merge remote-tracking branch 'upstream/master' into DateTime64 2019-11-30 21:49:15 +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
Vasily Nemkov
825b8d1160 Post-PR fixes
* value_type => ValueType for ColumnVector and ColumnDecimal
 * minor formatting fixes
 * removed `extern template`
2019-11-20 11:58:55 +03:00
Vasily Nemkov
5c125dff90 Fixed PVS error on sprintf and structure. 2019-11-11 08:34:39 +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
d6ff36c760 Merge remote-tracking branch 'upstream/master' into DateTime64 2019-10-24 07:52:50 +03:00
Vasily Nemkov
db166af95a Moved DataTypeDateTime64 and now64() to separate source files. 2019-10-14 11:38:03 +03:00
Vitaly Baranov
18ccb4d64d Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
Vasily Nemkov
6fe59aea14 Fixed GCC-9 build error
-Werror=format-overflow
2019-10-08 07:58:10 +03:00
Vasily Nemkov
31d5730513 Merge remote-tracking branch 'upstream/master' into DateTime64 2019-10-02 13:54:59 +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
Alexey Milovidov
dcd40d1d07 Better log messages about disks 2019-09-24 03:45:40 +03:00
Vasily Nemkov
1b0410cee7 Merge commit '50928323ebabe0663e26601c3929ee94b9a5127d' into DateTime64 2019-09-09 16:18:22 +03:00
Yuriy
fa2dfcd71d better 2019-07-19 21:43:52 +03:00
Yuriy
1d6e31be4d merged master 2019-07-16 10:33:25 +03:00
Yuriy
baa62f2aba style check 2019-07-15 01:53:30 +03:00
Yuriy
a6bd5bccff tiny fix 2019-07-14 11:27:58 +03:00
Alexey Milovidov
03712aabec Add two more warnings from -Weverything 2019-07-08 03:16:39 +03:00
Yuriy
450b20ca89 max_memory_usage support in MySQL wire protocol 2019-07-01 08:58:31 +03:00
Alexey Milovidov
8f77d898f3 Renamed functions for consistency #5704 2019-06-24 17:51:37 +03:00
alexey-milovidov
dacbe9a410
Update WriteHelpers.h 2019-06-24 17:38:58 +03:00
zhang2014
029e2ccf1f some review fixes 2019-06-22 19:10:00 +08:00
zhang2014
b9cb1feb4c some review fixes 2019-06-22 12:40:41 +08:00
zhang2014
1786407621 ISSUES-5697 fix insert and select query with mysql style identifier 2019-06-21 13:51:27 +08:00
Martijn Bakker
176fc98a32 also parse datetime64 from string 2019-05-03 00:46:04 +01:00
Martijn Bakker
258f425437 factor out the conversion between datetime64 and the uint64 2019-05-02 23:40:45 +01:00
Martijn Bakker
fc0e8d3658 read and write datetime64 2019-05-01 23:42:17 +01:00
Alexey Milovidov
e150e62040 Grouped includes (40 of 182) 2019-02-10 20:40:52 +03:00
Alexey Milovidov
2e323192a2 Addition to prev. revision #3926 2018-12-27 03:02:11 +03:00
Alexey Milovidov
141e9799e4 Fixed error with "extractURLParameter" function (read after buffer); improved performance; added support for zero bytes in URLs; renamed Chars_t type [#CLICKHOUSE-2] 2018-11-25 03:08:50 +03:00
chertus
dd5c55df2c decimal sum [CLICKHOUSE-3765] 2018-09-11 21:42:06 +03:00
chertus
a69c936b44 improve field visitors for UUID CLICKHOUSE-3249 2018-08-29 14:58:40 +03:00
chertus
ee873c8e9f Merge branch 'master' into decimal 2018-08-27 19:18:48 +03:00
Alexey Milovidov
a2fefa1617 Speed up fuzz tests, part 2 #2924 2018-08-24 10:30:53 +03:00