Commit Graph

30181 Commits

Author SHA1 Message Date
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
alexey-milovidov
e19d47c4c4
Merge pull request #7142 from amosbird/more-libc-comp
glibc 2.29 compatibility
2019-09-30 14:58:58 +03:00
Amos Bird
dadc613072 Get rid of malloc symbols in libcommon (#7134) 2019-09-30 14:58:32 +03:00
alexey-milovidov
42c9ea9aa3
Merge pull request #7092 from PerformanceVision/acl_file_storage
Let the choice to write credential for HTTP source on external dictionaries
2019-09-30 13:20:33 +03:00
alexey-milovidov
5e0b042f3e
Merge pull request #7150 from godfreyd/godfreyd-replicate-function
Fix replicate function description
2019-09-30 12:49:16 +03:00
Ivan Blinkov
6de45d6863
Add   to events list 2019-09-30 12:44:47 +03:00
Sergei Bocharov
b641c7e163 Fix replicate function description 2019-09-30 12:18:43 +03:00
Ivan Blinkov
5466e6bb8a
CLICKHOUSE-4669: some product placement (#7148)
* Some product placement

* rewrite next paragraph as well
2019-09-30 11:47:01 +03:00
Sergei Bocharov
8a579ee3a6 Fixes after review 2019-09-30 10:24:02 +03:00
Amos Bird
dbc352fdf9 glibc 2.29 compatibility 2019-09-30 12:28:50 +08:00
alexey-milovidov
fd877a62e0
Merge pull request #7143 from den-crane/patch-1
Doc change. Fix arrayDifference russian description.
2019-09-29 01:06:11 +03:00
alexey-milovidov
0f77249e4f
Merge pull request #7140 from yurriy/build-fix
Disabled auth_gssapi_client plugin
2019-09-29 01:01:26 +03:00
Denis Zhuravlev
0a686b1e86
Update array_functions.md
Fix arrayDifference description.
2019-09-28 18:52:52 -03:00
BayoNet
34b61e8dff
DOCAPI-7442: EN review, RU translation for updated system.parts docs (#7041)
* Typo fix.

* Update system_tables.md (#40)

* DOCAPI-7442: RU translation.

* DOCAPI-7442: Fix.
2019-09-28 17:58:10 +03:00
BayoNet
fa31743ace
DOCAPI-8259: EN review, RU translation. toInt, toUint docs refactoring and update (#7043)
* Typo fix.

* Update type_conversion_functions.md (#48)

* DOCAPI-8259: RU translation

* DOCAPI-8259: EN. Numeric conversion issues.

* DOCAPI-8259: Clarification.
2019-09-28 17:55:50 +03:00
Denis Zhuravlev
774e255154 Doc change. translation to Russian some array functions (#7139) 2019-09-28 09:39:25 +03:00