ff3c7765d6
[Bug](Func) Fix negative number in bitmap return error result ( #31563 )
2024-02-29 12:38:03 +08:00
51ac92f65c
Revert "[fix](function) to_bitmap parameter parsing failure returns null instead of bitmap_empty ( #21236 )" ( #23368 )
...
This reverts commit 1c3cc77a54938ed948ad8186b8dea8385977d23c.
2023-08-23 18:27:35 +08:00
1c3cc77a54
[fix](function) to_bitmap parameter parsing failure returns null instead of bitmap_empty ( #21236 )
...
* [fix](function) to_bitmap parameter parsing failure returns null instead of bitmap_empty
* add ut
* fix nereids
* fix regression-test
2023-08-18 14:37:49 +08:00
3b04d42779
[fix](bitmap) fix bug: orthogonal_bitmap_union_count coredump when arg is nullable ( #18182 )
...
Query cause be cordump:
select ORTHOGONAL_BITMAP_UNION_COUNT( cast(null as bitmap)) from t;
2023-03-30 09:31:58 +08:00
dfa2528b5e
[fix](bitmap) fix wrong result of bitmap count functions for null values ( #17849 )
...
bitmap count functions result is null when there are null values, which is not right:
2023-03-19 11:49:58 +08:00
eea6d770d7
[fix](bitmap) fix wrong result of bitmap_or for null ( #17456 )
...
Result of select bitmap_to_string(bitmap_or(to_bitmap(1), null)) should be 1 instead of null.
This PR fix logic of bitmap_or and bitmap_or_count.
Other count related funcitons should also be checked and fix, they will be fixed in another PR.
2023-03-08 16:29:01 +08:00
3b08a22e61
[test](Nereids) add p0 regression test for Nereids ( #15888 )
2023-01-20 18:50:23 +08:00