Vasily Nemkov
426e65f0fa
C-tors to copy TimeZone from another instance of DateTime or DateTime64
2019-10-21 17:05:52 +03:00
Vasily Nemkov
aa6ea037f4
Minor fixes to the tests
2019-10-21 17:04:01 +03:00
Vasily Nemkov
f1a438ca63
Tests for DateTime64
2019-10-21 14:46:38 +03:00
Vasily Nemkov
1f196a52c4
SImplified code, updated tests.
2019-10-16 22:01:21 +03:00
Vasily Nemkov
de1dfd7418
tests for getLeastSupertype and getMostSubtype
2019-10-16 16:57:10 +03:00
Vasily Nemkov
6280ea086f
Enabled toDateTime64
2019-10-16 10:26:28 +03:00
Vasily Nemkov
237591d7d9
Fixed comparison of DateTime64 and Date
2019-10-16 10:24:48 +03:00
Vasily Nemkov
9f9fcb1add
Simplified argument type validation for conversion functions.
2019-10-14 16:28:52 +03:00
Vasily Nemkov
db166af95a
Moved DataTypeDateTime64 and now64() to separate source files.
2019-10-14 11:38:03 +03:00
Vasily Nemkov
8648ebf75c
Initial implementation of DateTime64 parsing functions;
2019-10-12 10:03:38 +03:00
Vasily Nemkov
b6b080745b
TMP: stashing tmp changes on test environment
2019-10-11 11:12:45 +03:00
Vasily Nemkov
a6b20e8ca3
Minor simplification on FunctionDateOrDateTimeAddInterval::TransformResultDataType and FunctionDateOrDateTimeAddInterval::resolveReturnType
2019-10-10 20:05:29 +03:00
Vasily Nemkov
fb4dbf94e9
Simplified customizing add/substract-Interval functions for DateTime64
2019-10-10 16:49:40 +03:00
Vasily Nemkov
7afff3d661
Style fixes
2019-10-09 23:02:50 +03:00
Vasily Nemkov
c1f9fcc3d5
Fixed getting function default timezone value from DateTime64-argument
2019-10-09 22:53:57 +03:00
Vasily Nemkov
3e3de2adf8
add/substract-XXX family of functions now can take DateTime64 as argument
2019-10-09 22:52:59 +03:00
Vasily Nemkov
8792738944
Prohibit implicit conversion of UInt64-Field to DateTime64
2019-10-08 10:01:17 +03:00
Vasily Nemkov
1a84580005
Scaffold for toDateTime64(scale, [timezone])
2019-10-08 07:59:38 +03:00
Vasily Nemkov
6fe59aea14
Fixed GCC-9 build error
...
-Werror=format-overflow
2019-10-08 07:58:10 +03:00
Vasily Nemkov
f1afc98e0c
Updated the tests for better debugging.
2019-10-08 07:57:31 +03:00
Vasily Nemkov
77ac67eba8
Fixed toTimeZone implementation
2019-10-08 07:50:13 +03:00
Vasily Nemkov
d136843d8f
DataTypeDateTime64::doGetName() now reports timezone
2019-10-08 07:40:18 +03:00
Vasily Nemkov
46e5171952
Fixed comparing values of DateTime64 to DateTime and Int/UInt
2019-10-07 18:19:18 +03:00
Vasily Nemkov
46174e92b3
attempt to fix toTimeZone.
2019-10-07 10:45:59 +03:00
Vasily Nemkov
f6a997d1e1
Minor: using UInt32 DateTime64-related scale instead of UInt64.
2019-10-04 17:05:39 +03:00
Vasily Nemkov
1069812d88
Fixed converting DateTime64-Field on client into DataTypeDateTime64-field type.
...
Since DateTime64 is just a typedef, and there is no explicit Field-type
for it, we have to solely rely on type_hint provided by origin column.
If the hint is missing, there is no way of distinguishing DateTime64
from Decimal64.
Alternative could be having explicit converting code, (and it looks like
it has to be added at some point).
2019-10-04 17:04:17 +03:00
Vasily Nemkov
a3548b08a9
More test
2019-10-04 16:49:34 +03:00
Vasily Nemkov
bda2179dc3
Fixed now64() to be variadic
2019-10-03 11:10:52 +03:00
Vasily Nemkov
180b986972
Extern templates + minor simplifications
2019-10-03 10:27:28 +03:00
Vasily Nemkov
655ec351ba
Fixed DateTime64 creation, and optional scale parameter for now64()
...
Added more tests for casting and inserting values.
2019-10-03 05:07:36 +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
alexey-milovidov
4952c6bc65
Merge pull request #7159 from den-crane/patch-3
...
Doc change. Fix array functions EN descriptions.
2019-10-02 01:01:31 +03:00
alexey-milovidov
96ca241fba
Merge pull request #7158 from azat-archive/MetricsTransmitter-use-of-uninitialized-value
...
Avoid use of uninitialized values in MetricsTransmitter
2019-10-02 01:01:00 +03:00
Alexey Milovidov
abbd451131
Updated default repository.
2019-10-02 00:47:07 +03:00
alexey-milovidov
ef50ddd919
Merge pull request #7168 from ClickHouse/revert-7167-19.15-changelog
...
Revert "Add 19.15 in changelog"
2019-10-02 00:32:01 +03:00
alexey-milovidov
a55b055bfa
Revert "Add 19.15 in changelog"
2019-10-02 00:31:50 +03:00
Olga Khvostikova
7ce24ee137
Merge pull request #7167 from ClickHouse/19.15-changelog
...
Add 19.15 in changelog
2019-10-02 00:19:55 +03:00
stavrolia
9b65f41ea0
Add 19.15
2019-10-02 00:17:14 +03:00
Artem Zuikov
48ab9afce6
Merge pull request #7122 from 4ertus2/mjoin
...
Squash left-hand blocks in partial merge join (optimization)
2019-10-01 17:23:10 +03:00
chertus
038428bccf
do not affect other SquashingBlockInputStream instances
2019-10-01 16:01:08 +03:00
Azat Khuzhin
740e4c5851
Avoid use of uninitialized values in MetricsTransmitter
...
Defer thread creation after values had been initialized correctly.
2019-10-01 10:16:39 +03:00
alexey-milovidov
46d8748e98
Merge pull request #7153 from 4ertus2/some
...
Try to fix some PVS false positives
2019-10-01 03:23:21 +03:00
Denis Zhuravlev
b8a1164d05
Update array_functions.md
...
Fix array functions descriptions.
2019-09-30 20:03:09 -03:00
Denis Zhuravlev
c224ae0afd
Update array_functions.md
...
Fix array functions descriptions.
2019-09-30 19:26:30 -03:00
chertus
5df8f870c4
try remove some PVS errors
2019-09-30 18:45:53 +03:00
chertus
5212d43ae4
simplify pmj settings
2019-09-30 17:36:45 +03:00
alexey-milovidov
ff02f1345d
Merge pull request #7103 from filimonov/patch-5
...
rpm: preserve existing configs on package upgrade
2019-09-30 15:01:28 +03:00
alexey-milovidov
e50a874537
Merge pull request #7118 from ClickHouse/improve_template_format
...
Minor improvements of Template format
2019-09-30 15:00:27 +03:00
alexey-milovidov
cbd2f1d8cd
Merge pull request #7112 from godfreyd/godfreyd-startswith
...
Docs(startsWith): Fix startsWith function
2019-09-30 14:59:39 +03:00