Robert Schulze
05606a8835
Clean up GCC warning pragmas
2023-04-11 18:21:08 +00:00
Nikolai Kochetov
e4c0608a01
Merge pull request #45150 from ClickHouse/fix-ip-function-mod
...
Binary arithmetic for IPv4
2023-01-24 13:11:02 +01:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages ( #45449 )
...
* save format string for NetException
* format exceptions
* format exceptions 2
* format exceptions 3
* format exceptions 4
* format exceptions 5
* format exceptions 6
* fix
* format exceptions 7
* format exceptions 8
* Update MergeTreeIndexGin.cpp
* Update AggregateFunctionMap.cpp
* Update AggregateFunctionMap.cpp
* fix
2023-01-24 00:13:58 +03:00
Yakov Olkhovskiy
92caf20323
binary arithmetic for IPv4
2023-01-11 08:59:27 +00:00
李扬
ef45889ecb
Add function pmod which return non-negative result based on modulo ( #42755 )
...
* add function positive_modulo
* add ducument
* fix type deduction of positive_modulo
* add function positive_modulo
* add ducument
* fix type deduction of positive_modulo
* add notice
* fix typo
* fix typo
* fix bug
* fix ub error
* fix ub error
2022-11-15 00:15:58 +01:00
Nikolay Degterinsky
3bcf151a9a
Merge remote-tracking branch 'upstream/master' into tuple-of-intervals
2022-11-04 23:09:43 +00:00
Nikolai Kochetov
db422fa903
Merge pull request #42410 from ClickHouse/fix-multi-arg-monotonicity
...
Fix possible LOGICAL_ERROR in binary ariphmetics monotonicity.
2022-10-26 14:11:23 +02:00
Nikolai Kochetov
14e3bb6354
Another case.
2022-10-24 13:58:26 +00:00
Azat Khuzhin
bcc8d9f9d9
Merge remote-tracking branch 'upstream/master' into build/shorten-64-to-32
...
* upstream/master:
Fix strange code in date monotonicity
Add a test
Fix error
Add tests
Remove trash
2022-10-23 07:45:10 +02:00
Alexey Milovidov
7fc3cd7fb0
Fix error
2022-10-22 07:38:22 +02:00
Alexey Milovidov
ef4b2b3f59
Remove trash
2022-10-22 07:25:37 +02:00
Nikolay Degterinsky
3f37636654
Merge branch 'master' into tuple-of-intervals
2022-10-22 02:44:35 +00:00
Azat Khuzhin
4e76629aaf
Fixes for -Wshorten-64-to-32
...
- lots of static_cast
- add safe_cast
- types adjustments
- config
- IStorage::read/watch
- ...
- some TODO's (to convert types in future)
P.S. That was quite a journey...
v2: fixes after rebase
v3: fix conflicts after #42308 merged
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:19 +02:00
Nikolai Kochetov
c8f9e7bd1f
Update test.
2022-10-19 14:33:37 +00:00
Nikolai Kochetov
c457f7dff3
Fix and more tests.
2022-10-18 12:21:16 +00:00
Nikolai Kochetov
3d1ed2969a
Fix possible LOGICAL_ERROR in binary ariphmetics monotonicity. Fix invalid evaluation of binary monotonic function in KeyCondition.
2022-10-17 18:21:03 +00:00
Nikolay Degterinsky
cf6471c6b9
Fix style
2022-10-14 02:48:04 +00:00
Nikolay Degterinsky
af1d306b12
Add Interval arithmetics
2022-10-14 02:16:12 +00:00
sperlingxx
a901faeb84
Fix add/minus Date Interval over Date32 type
...
Signed-off-by: sperlingxx <lovedreamf@gmail.com>
2022-10-13 18:00:54 +08:00
Nikolay Degterinsky
68abf43767
Better INTERVAL parsing and execution
2022-10-09 00:00:14 +00:00
Anton Popov
4c7a820685
fix order by monotonic functions
2022-09-22 16:21:28 +00:00
Igor Nikonov
2cb78c7220
Detailed comment about overflow check
2022-08-15 00:37:18 +00:00
Igor Nikonov
394a71dcfd
More correct fix + tests
2022-08-11 06:24:40 +00:00
feng lv
53fde56cb7
rewrite bitHammingDistance with FunctionBinaryArithmetic
...
fix
fix typo
2022-01-19 09:07:05 +00:00
feng lv
655cf6c315
fix
2022-01-11 12:27:21 +00:00
feng lv
8346057be6
fix
2022-01-10 03:05:45 +00:00
feng lv
b06211fb03
fix
...
fix
2022-01-09 16:32:31 +00:00
feng lv
442a183ec2
fix
...
fix
2022-01-08 14:17:53 +00:00
feng lv
48c0b41ad5
Enable binary arithmetic between Decimal and Float
...
fix
2022-01-01 09:11:21 +00:00
feng lv
6734b592bb
decimal plus float
2021-12-26 09:04:12 +00:00
Alexey Milovidov
85cec911be
Fix strange code in TypeList
2021-11-25 23:55:02 +03:00
Alexey Milovidov
8b4a6a2416
Remove cruft
2021-10-28 02:10:39 +03:00
Anton Popov
4bc14dedfb
Merge pull request #28352 from Avogar/div-null
...
Avoid division by zero when denominator is Nullable
2021-10-07 14:47:53 +03:00
avogar
568e27e9b3
Fix tests
2021-10-07 00:19:37 +03:00
avogar
5e4cda02b6
Fix build
2021-10-06 13:38:22 +03:00
Kruglov Pavel
fa81606d6a
Fix build
2021-10-05 20:11:21 +03:00
Mike Kot
25a62b9f83
Renaming TL to Typelist
2021-10-05 17:22:02 +02:00
avogar
c2cb9e2721
Fix use of unititialized value
2021-10-05 11:55:26 +03:00
avogar
2523053b27
Remove code duplication, fix bug, add more tests
2021-10-04 18:22:06 +03:00
Pavel Kruglov
ae2754ee56
Fix tests, add comments
2021-10-04 16:44:38 +03:00
Pavel Kruglov
2c4453f425
Rename template argument
2021-10-04 16:44:38 +03:00
Pavel Kruglov
82d17870f1
Avoid division by zero when denominator is Nullable
2021-10-04 16:44:38 +03:00
Mike Kot
8c8bada56e
Non-recursive implementation for TL and its functions
2021-10-03 18:02:04 +02:00
Alexey Milovidov
fe6b7c77c7
Rename "common" to "base"
2021-10-02 10:13:14 +03:00
Alexey Boykov
1215c25bd7
Merge branch 'master' into numeric_tuple_functions
2021-09-16 15:46:18 +03:00
小路
9416c5e74d
Remove outdated comment.
2021-09-14 11:22:34 +08:00
Anton Popov
2b49f42bca
fix build
2021-09-13 20:37:35 +03:00
Anton Popov
671f98506a
fix build
2021-09-13 20:34:36 +03:00
Anton Popov
7ec5c73c9b
Merge branch 'master' into issues_27763
2021-09-13 20:33:29 +03:00
Mike Kot
1f6fb3f6ea
Fix gtest, add Decimal aliases, Typelist solution for bin arithm
2021-09-12 14:26:07 +02:00