Commit Graph

3196 Commits

Author SHA1 Message Date
vdimir
e9dee63fe2
style fix 2022-03-04 10:49:43 +00:00
Maksim Kita
6722227407
Merge pull request #35027 from kitaisreal/functions-hierarchical-dictionaries-const-arguments-fix
Dictionary hierarchy functions implicit key cast and support for constant arguments
2022-03-04 10:45:37 +01:00
Anton Popov
df3b07fe7c Merge remote-tracking branch 'upstream/master' into HEAD 2022-03-03 22:25:28 +00:00
Anton Popov
7d01516202
Merge pull request #34795 from snar/array-compact-higher-order
make arrayCompact behave as other higher-order functions
2022-03-03 21:25:43 +03:00
vdimir
2aa6685baf
Add cases to 02169_map_functions, update error messages in FunctionArrayMapped 2022-03-03 18:04:17 +00:00
Maksim Kita
18fabccff2 Functions dictGetHierarchy, dictIsIn, dictGetChildren, dictGetDescendants support implicit key cast and constant arguments 2022-03-03 16:13:05 +00:00
hexiaoting
95530d0d70
fix style error 2022-03-03 13:22:48 +00:00
vdimir
f7f002139a
Upd FunctionArrayMapped 2022-03-03 13:22:48 +00:00
vdimir
939a15d29a
Upd FunctionArrayMapped for Map 2022-03-03 13:22:48 +00:00
vdimir
82a76d47ff
Use FunctionArrayMapped for Map 2022-03-03 13:22:47 +00:00
hexiaoting
aeec4a62e7
fix bug 2022-03-03 13:22:47 +00:00
hexiaoting
71aa411746
Fix bug 2022-03-03 13:22:46 +00:00
hexiaoting
a435c3a1e8
Fix mapFilter bug 2022-03-03 13:22:46 +00:00
hexiaoting
582e6fa1c5
Fix build error 2022-03-03 13:22:46 +00:00
hexiaoting
36939f1d5c
Update src/Functions/FunctionMapMapped.h
Co-authored-by: Vladimir C <vdimir@yandex-team.ru>
2022-03-03 13:22:45 +00:00
hexiaoting
ed39edda67
Update src/Functions/mapFilter.cpp
Co-authored-by: Vladimir C <vdimir@yandex-team.ru>
2022-03-03 13:22:45 +00:00
hexiaoting
e953e482ec
Implement more functions for Map data type 2022-03-03 13:22:44 +00:00
Maksim Kita
b1a956c5f1 clang-tidy check performance-move-const-arg fix 2022-03-02 18:15:27 +00:00
Maksim Kita
1f5837359e clang-tidy check performance-noexcept-move-constructor fix 2022-03-02 18:15:27 +00:00
HaiBo Li
2ea18b3085
Fix the bug that the toDatetime function overflows (#32898)
* Fixed overflow bug of the function toDatetime/toDate/toDate32/parseDateTimeBestEffort
2022-03-02 10:06:38 +03:00
Anton Popov
c1fdcf7a64 Merge remote-tracking branch 'upstream/master' into HEAD 2022-03-01 20:21:39 +03:00
Anton Popov
2758db5341 add more comments 2022-03-01 19:32:55 +03:00
bharatnc
fb2a9a26df Merge remote-tracking branch 'upstream/master' into ncb/h3-misc-funcs-3 2022-02-25 20:36:31 -08:00
Anton Popov
fcdebea925 Merge remote-tracking branch 'upstream/master' into HEAD 2022-02-25 13:41:30 +03:00
Vladimir C
9ba0cb547a
Merge pull request #34836 from vdimir/issue-34810 2022-02-25 09:58:28 +01:00
vdimir
b5ab8f97c6
Fix untuple condition in IN function 2022-02-23 14:31:53 +00:00
bharatnc
9b770a92ba improve h3GetRes0Indexes implementation 2022-02-23 01:25:13 -08:00
Alexandre Snarskii
2148b0f803 optimize specialization to use arrays 2022-02-22 18:38:45 +03:00
bharatnc
cf3d9f893c fix style 2022-02-21 21:37:10 -08:00
bharatnc
57e17c607a fix - convert const cols to full cols 2022-02-21 12:15:14 -08:00
bharatnc
8e19415992 generalize implementation for h3PointDist{M,Km,Rads} 2022-02-21 11:41:21 -08:00
Alexandre Snarskii
7d87a446d1 make arrayCompact behave as other higher-order functions 2022-02-21 15:40:03 +03:00
Maksim Kita
a3e6552fa5
Merge pull request #34753 from ClickHouse/check-submodules
Submodules are mandatory
2022-02-21 13:16:35 +01:00
Maksim Kita
57ef720f2a
Merge pull request #34743 from bharatnc/ncb/fixes-to-h3-funcs
fix h3 failing queries having const columns
2022-02-21 11:54:16 +01:00
achimbab
7b9c6e6cba Merge branch 'minSampleSize' of https://github.com/achimbab/ClickHouse into minSampleSize 2022-02-20 16:43:34 +09:00
achimbab
4794ea236c Some fixes for minSampleSize functions.
- use getData
- add fomulas
- move distribution constructor out of the hot loop
- fix test cases
- use fixed const values for function arguments
2022-02-20 16:40:23 +09:00
Alexey Milovidov
e1a2e376a3 Submodules are mandatory 2022-02-19 17:44:24 +01:00
bharatnc
a4cf3303f9 fix fuzzer segfault 2022-02-19 08:41:21 -08:00
bharatnc
b7678c1bc1 fix s2 functions having const columns 2022-02-18 22:42:27 -08:00
bharatnc
7c9a581af6 convert const cols to full cols 2022-02-18 16:34:50 -08:00
Maksim Kita
3dd6b91cbe
Merge pull request #34731 from kitaisreal/performance-tests-fix-h3
Performance tests fix H3
2022-02-18 19:21:38 +01:00
Vladimir C
9b7d011ee7
Merge pull request #34529 from vdimir/join-nullable-on-pipeline
Apply join_use_nulls on types before join
2022-02-18 18:34:44 +01:00
Maksim Kita
80b0efb367 Performance tests fix H3 2022-02-18 15:57:54 +00:00
zvonand
9367a8df68 no_sanitize_undefined 2022-02-18 14:53:22 +03:00
zvonand
8d34797212 AST fix try 123 2022-02-18 13:45:47 +03:00
zvonand
6d47a715dc fix decimal overflow 2022-02-18 10:18:07 +03:00
Nikolay Degterinsky
c09275f0da
Merge pull request #34368 from usurai/sw
Add startsWith & endsWith function for arrays
2022-02-18 08:34:48 +03:00
zvonand
71b7b6605e fixed maths 2 2022-02-18 00:17:29 +03:00
zvonand
1f24f3a5e2 fixed overflow 2022-02-17 23:17:06 +03:00
Maksim Kita
5c92ad0d57 Function encodeURLComponent minor fixes 2022-02-17 18:34:23 +00:00
Maksim Kita
562f1ec01a
Merge pull request #34607 from zzsmdfj/issue/#31092_add_encodeURLComponent_function
add encode url component function
2022-02-17 17:57:23 +01:00
zvonand
90c857c5e3 merge 2022-02-17 18:23:37 +03:00
Kruglov Pavel
07098fc597
Merge pull request #34619 from vdimir/fix_aarch64/01662_date_ubsan
Check overflow in addSeconds/Minues/etc functions
2022-02-17 15:55:55 +03:00
zvonand
1afe815bda fix maths 2022-02-17 15:33:26 +03:00
zvonand
d37003e4b6 mustfix fuzzer 2022-02-17 10:28:09 +03:00
zzsmdfj
1c068f1295 to issue/#31092_add_encodeURLComponent_function 2022-02-17 11:55:06 +08:00
zzsmdfj
6b78da6f02 to issue/#31092_add_encodeURLComponent_function 2022-02-17 11:32:47 +08:00
zvonand
a5a742e22b updated negative fracs 2022-02-17 01:39:46 +03:00
zvonand
fca314aa11 fixed clang-tidy 2022-02-16 19:23:10 +03:00
vdimir
65452ac089
Fix checkOverflow in FunctionDateOrDateTimeAddInterval 2022-02-16 14:30:37 +00:00
usurai
9fe920500d
Apply suggestions from code review
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2022-02-16 20:58:43 +08:00
zvonand
cf244689a2 fixed filling transform 2022-02-16 15:14:25 +03:00
zzsmdfj
4dcb411f4f to #31092_add_encodeURLComponent_function 2022-02-16 10:19:20 +08:00
zvonand
f60a944483 fixed toStartOfInterval 2022-02-16 02:43:08 +03:00
vdimir
a5c34fafd4
Check overflow in addSeconds/Minues/etc functions 2022-02-15 19:04:59 +00:00
Maksim Kita
37f7e6a216
Merge pull request #34562 from bigo-sg/fix_round
Fix round bug
2022-02-15 13:01:57 +01:00
vdimir
99ca89c0ca
Fix StorageJoin and Asof or join_use_nulls in pipeline 2022-02-14 14:14:27 +00:00
achimbab
054d691685
Merge branch 'ClickHouse:master' into minSampleSize 2022-02-14 09:32:15 +09:00
zvonand
888542e29b add[interval] no longer oses decimal components
Not only support for better subsecond logic, but also fewer conversions
-> faster operation
2022-02-14 02:52:56 +03:00
zvonand
2454f1dd13 Decimal components attempt 2022-02-14 00:04:09 +03:00
bharatnc
c29e16fb74 add tests for h3GetPentagonIndexes 2022-02-13 12:56:43 -08:00
bharatnc
8654691b96 add h3GetPentagonIndexes func 2022-02-13 12:56:43 -08:00
bharatnc
88b6fc6432 add h3GetRes0Indexes func 2022-02-13 12:56:43 -08:00
bharatnc
9646bb0c91 add func h3PointDistRads 2022-02-13 12:56:43 -08:00
bharatnc
982e6aae42 add h3PointDistKm func 2022-02-13 12:56:42 -08:00
bharatnc
d5f2312c2f add func h3PointDistM 2022-02-13 12:56:42 -08:00
zvonand
196ffb4827 toStartOf[...]second works 2022-02-13 18:41:45 +03:00
zvonand
dcc0f53f8e updated Interval definitions 2022-02-13 17:54:03 +03:00
achimbab
c5c2e83435 Remove some codes 2022-02-13 23:27:06 +09:00
taiyang-li
e759af2dd4 fix round bug 2022-02-13 18:52:25 +08:00
zvonand
48c1b8b62b Updated IntervalParser 2022-02-13 13:01:48 +03:00
bharatnc
4dadc7e15b fix style check 2022-02-12 23:36:40 -08:00
bharatnc
b50005e702 add check for max h3 resolution 2022-02-12 22:05:28 -08:00
achimbab
674032afb9 An integer type can be used for the baseline and sigma. 2022-02-13 14:43:12 +09:00
bharatnc
e02bd7d785 check and get columns in geoToH3 func 2022-02-12 19:08:40 -08:00
zvonand
0c5e8a0beb upload 2022-02-12 19:37:06 +03:00
zvonand
da1ba60202 upload 2022-02-11 13:35:50 +03:00
Anton Popov
18940b8637 Merge remote-tracking branch 'upstream/master' into HEAD 2022-02-09 23:38:38 +03:00
zvonand
0fe1fdb6ca add[...]Seconds basically work 2022-02-09 20:19:01 +03:00
zvonand
d8b40e7deb basic add[...]seconds added
TODO: fix DT64 scale resolution when input and func's scale are not the
same
2022-02-09 10:28:15 +03:00
zvonand
0633174b10 Merge branch 'master' of github.com:ClickHouse/ClickHouse into issue_33147 2022-02-08 11:42:31 +03:00
cmsxbc
a33bd4c623
Merge branch 'master' into addressToLineWithInlines 2022-02-08 08:54:15 +08:00
zvonand
9456d89fad Move current work from old laptop
skip-checks: true
2022-02-07 21:44:14 +03:00
achimbab
28e6cfb753 Modify the sample_size type from UInt64 to Float64 2022-02-07 22:25:00 +09:00
Kruglov Pavel
b35f479dea
Delete empty file DateOrDateTimeFunctionsConvertion.cpp 2022-02-07 12:26:50 +03:00
usurai
8076e1ef30 Remove whitespace 2022-02-07 17:23:43 +08:00
usurai
e242192ab8 Declare error code 2022-02-07 16:36:49 +08:00
usurai
550d80201e Fix endsWith, add test for endsWith 2022-02-07 16:36:49 +08:00
usurai
e6f5c74c17 Remove redundent header 2022-02-07 16:36:49 +08:00
usurai
6dd482136f Add startsWith & endsWith for array 2022-02-07 16:36:49 +08:00