Commit Graph

2412 Commits

Author SHA1 Message Date
alexey-milovidov
db96e1deb6
Merge pull request #8375 from Enmk/toDateTime64_type_check_fix
Fixed type check in toDateTime64
2019-12-26 17:35:47 +03:00
Vasily Nemkov
9f08dbacff Fixed style 2019-12-26 07:32:15 +03:00
Alexey Milovidov
51685f35e8 Fixed TSan report in base64 library 2019-12-26 04:42:51 +03:00
Vasily Nemkov
33b422d8cc Argument validation fixes
* Fixed crash when converting nullptr char pointer to std::string
* Updatedexepected error code for toDateTime64
2019-12-26 00:07:53 +03:00
Nikolai Kochetov
438ea5bc22
Remove context from formats (#8388)
* Remove Context from formats.
2019-12-25 22:17:41 +03:00
Vasily Nemkov
6f877abfb6 Merge branch 'toDateTime64_type_check_fix' of github.com:Enmk/ClickHouse into toDateTime64_type_check_fix 2019-12-25 17:58:10 +03:00
Vasily Nemkov
9947324d9f Fixed failing tests
* Throwing with ErrorCodes::ILLEGAL_COLUMN (44) when column validation fails
 * added ignored optional argument to toDate() function to preserve compatibility
 * fixed toUnixTimestamp

Other minor fixes:
 * Better documentation on FunctionArgumentDescriptor and validateFunctionArgumentTypes
 * Fixed typos in validateFunctionArgumentTypes
 * FunctionArgumentDescriptor::expected_type_description can now be null to avoid confusing type names in case of generic functions.
2019-12-25 17:50:13 +03:00
alexey-milovidov
aef617c144
Update FunctionHelpers.cpp 2019-12-24 16:59:00 +03:00
Vasily Nemkov
87f58864d3 Fixed type check in toDateTime64 2019-12-24 16:15:25 +03:00
Alexey Milovidov
badbee2385 Added another mode of diagnostic trap 2019-12-23 23:26:46 +03:00
alexey-milovidov
d52547dc75
Merge pull request #8082 from moon03432/master
fix bitmapAnd error when intersecting an aggregated bitmap and a scalar bitmap
2019-12-21 18:14:27 +03:00
alexey-milovidov
e83eeef731
Merge pull request #8258 from ClickHouse/update-llvm-bisect
Update LLVM in contrib
2019-12-19 22:22:32 +03:00
alexey-milovidov
3e90352af1
Update now64.cpp 2019-12-19 16:12:13 +03:00
Vasily Nemkov
2292ec9592 Handling error from clock_gettime properly 2019-12-19 12:55:10 +03:00
Alexey Milovidov
1d0854c7af Using less number of LLVM libraries 2019-12-18 19:08:11 +03:00
Vasily Nemkov
6802025eb6 Fixed crash in now64() when it argument is a result of function call. 2019-12-18 17:51:35 +03:00
alexey-milovidov
a7384b4d07
Merge branch 'master' into MoreGCCWarnings 2019-12-18 02:01:39 +03:00
alexey-milovidov
06d124c073
Merge pull request #8229 from hczhcz/patch-2
Optimize rounding functions
2019-12-18 02:00:14 +03:00
Alexander Kuzmenkov
8b1dae3f3d
Fix some implicit Field casts (#8209) 2019-12-17 13:19:21 +03:00
hcz
dabaef2836 Fix correctness 2019-12-17 10:57:11 +08:00
kreuzerkrieg
9612bb0e79 More GCC warnings 2019-12-16 23:19:50 +02:00
Alexey Milovidov
0bc1c6d91d Changes after review of #8034 2019-12-16 21:51:42 +03:00
Alexey Milovidov
0042c8271e Changes after review of #8034 2019-12-16 21:41:51 +03:00
alexey-milovidov
12b3dcdcb8
Merge pull request #8034 from hombit/h3support
h3 functions required for circle search
2019-12-16 21:35:19 +03:00
alexey-milovidov
ed942ce29c
Update h3kRing.cpp 2019-12-16 21:34:51 +03:00
Konstantin Malanchev
f0b6a540ec Fix style of registerFunctionsGeo.cpp 2019-12-16 20:46:39 +03:00
Konstantin Malanchev
590627a658 Add h3EdgeAngle function 2019-12-16 20:46:39 +03:00
Konstantin Malanchev
1c1794d3d8 Add h3EdgeLengthM function 2019-12-16 20:46:38 +03:00
Konstantin Malanchev
9937fc7ff9 Add h3kRing function 2019-12-16 20:46:38 +03:00
hcz
a563ad0b21 Optimize rounding functions 2019-12-16 18:39:35 +08:00
alexey-milovidov
575984b4a0
Merge pull request #8189 from ClickHouse/regions-more-languages
More languages for regions
2019-12-16 02:47:20 +03:00
alexey-milovidov
3399f9a73c
Merge pull request #8112 from hczhcz/patch-1210
Add function bankerRound
2019-12-15 23:57:13 +03:00
hcz
3ff7c1e4dc Improve roundBankers implementation 2019-12-15 16:30:54 +08:00
hcz
6171e8b70c Rename roundBankers 2019-12-13 22:50:14 +08:00
Nikolai Kochetov
1de6b244aa Fix randConstant. 2019-12-13 16:47:28 +03:00
Nikolai Kochetov
bd2517343d Fi rand and randConstant for nullable types. 2019-12-13 16:10:02 +03:00
Konstantin Malanchev
4eae32d438 Add h3IsValid function 2019-12-13 11:39:50 +03:00
Konstantin Malanchev
947fb39d5e Add h3getResolution function 2019-12-13 11:39:50 +03:00
alexey-milovidov
31e4d40501
Merge pull request #8106 from ClickHouse/function-refactoring
Function refactoring
2019-12-13 02:30:55 +03:00
Alexey Milovidov
df5f1f7433 More languages for regions 2019-12-12 22:34:58 +03:00
Alexey Milovidov
f88c94ed56 Changes after review of #8149 2019-12-12 22:12:18 +03:00
alexey-milovidov
0dc62d20e1
Merge pull request #8149 from zhang2014/feature/array_zip
Add arrayZip function
2019-12-12 22:00:39 +03:00
Nikolai Kochetov
7082f8028b Merged with master. 2019-12-12 18:04:30 +03:00
Nikolai Kochetov
06f2fa8433 Add more comments, rename classes, move functions adaptors to separate file. 2019-12-12 17:56:03 +03:00
Nikolai Kochetov
168a55b617 Fix build. 2019-12-12 17:55:55 +03:00
Nikolai Kochetov
7dba6849c8 Fix concat and reverse for arrays. 2019-12-12 17:55:35 +03:00
Nikolai Kochetov
17af1ed25f Fix FunctionExpression. 2019-12-12 17:55:35 +03:00
Nikolai Kochetov
9c4d123f87 Style fixes. 2019-12-12 17:55:35 +03:00
Nikolai Kochetov
187cc83702 update tuple comparison. 2019-12-12 17:55:35 +03:00
Nikolai Kochetov
63a8dcd2e8 update yestarday. 2019-12-12 17:55:35 +03:00