Commit Graph

83 Commits

Author SHA1 Message Date
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
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
Yuriy
1d6e31be4d merged master 2019-07-16 10:33:25 +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
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
36d016d331 Added [[noreturn]] attributes for functions that throw unconditionally 2019-04-10 23:27:14 +03:00
alesapin
1909c87885 Fix column description parse. Now creation of replicated MT table with codecs and comments is possible without default 2019-02-27 19:41:51 +03:00
Alexey Milovidov
e150e62040 Grouped includes (40 of 182) 2019-02-10 20:40:52 +03:00
maiha
6c83beafdd dbms: Fixed misspells in comments 2019-01-23 04:56:53 +09:00
Alexey Milovidov
3d3385139b Fixed error #3926 2018-12-26 07:09:24 +03:00
Alexey Milovidov
ee953b4653 Fixed UB (requires performance testing) #3569 2018-12-26 03:31:51 +03:00
Alexey Milovidov
dbbacf4f87 Added more style checks [#CLICKHOUSE-3] 2018-11-23 21:52:00 +03:00
Alexey Milovidov
681929cbda Attempt to fix performance regression while parsing JSONEachRow #3223 2018-10-10 00:32:15 +03:00
chertus
dd5c55df2c decimal sum [CLICKHOUSE-3765] 2018-09-11 21:42:06 +03:00
Alexey Milovidov
fc27be314b Avoid temporary nullptr references [#CLICKHOUSE-2] 2018-09-02 06:00:04 +03:00
chertus
7bac9698f6 fix build 2018-08-29 16:24:33 +03:00
chertus
a69c936b44 improve field visitors for UUID CLICKHOUSE-3249 2018-08-29 14:58:40 +03:00
chertus
6a02b18b93 field visitors for UUID CLICKHOUSE-3249 2018-08-28 21:36:41 +03:00
alexey-milovidov
7de0549879
Update ReadHelpers.h 2018-08-27 18:00:08 +03:00
BlahGeek
739119d355 skip object fields on json input 2018-08-27 12:01:47 +08:00
chertus
5ec47b4a1c decimal (in progress) 2018-07-20 22:05:07 +03:00
Alexey Milovidov
a32c2e14a6 Removed unused method that became incompatible [#CLICKHOUSE-2] 2018-07-18 20:16:04 +03:00
Alexey Milovidov
eee02143a8 Implemented more accurate CAST from String to Nullable of Date and DateTime #1322 2018-07-16 03:30:13 +03:00
Alexey Milovidov
297805f719 Implemented toOrZero, toOrNull functions for Date and DateTime arguments (incomplete) #1322 2018-07-16 03:30:13 +03:00
Alexey Milovidov
84fd35da41 Adaptations #2574 2018-07-05 00:00:50 +03:00
Amos Bird
900b046943 Add options to enable parsing CSV with single/double quote. 2018-06-29 15:34:55 +08:00
Alexey Milovidov
2152b932c2 Allowed to switch between 'basic' and 'best effort' methods of parsing DateTime from text: preparation #1710 2018-06-08 05:56:37 +03:00
Alexey Milovidov
7c60adbebb Non significant changes according to clang's -Weverything, part 4 [#CLICKHOUSE-2] 2018-06-03 23:48:36 +03:00
Alexey Milovidov
734cebdf09 Non significant changes according to clang's -Weverything, part 1 [#CLICKHOUSE-2] 2018-06-03 19:51:31 +03:00
Alexey Milovidov
13762471da Changed DayNum_t to DayNum as Amos Bird suggested [#CLICKHOUSE-3] 2018-05-25 16:29:15 +03:00
Alexey Milovidov
046346645f Minor modifications #1959 2018-03-23 19:55:35 +03:00
proller
d97b2edc7c Make separate libs Common/ZooKeeper and Common/ConfigProcessor (#1749)
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed:    dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h

* Fix space

* Fix data in system.build_options

* merge

* merge
2018-01-15 22:07:47 +03:00
Alexey Milovidov
a375757625 Better #1665 2018-01-13 22:13:26 +03:00
Alexey Milovidov
2bf79be52f Added all methods #1665 2018-01-13 07:43:10 +03:00
Alexey Milovidov
f75ef123dc Fixed error #1665 2018-01-13 05:12:25 +03:00
Alexey Milovidov
230062c63d Fixed error #1665 2018-01-12 02:53:51 +03:00
Alexey Milovidov
d33ac0ea15 Updated test #1665 2018-01-12 00:33:45 +03:00
Alexey Milovidov
be7c5227d3 Parsing floats correctly #1665 2018-01-12 00:20:10 +03:00
Alexey Milovidov
3c9c884db8 Better #1665 2018-01-11 23:02:04 +03:00