Skip to content

Commit

Permalink
Fix fromULL scalar function (apache#11995)
Browse files Browse the repository at this point in the history
  • Loading branch information
andimiller authored Nov 14, 2023
1 parent 53883ae commit 5f22d16
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@ public static byte[] toULL(@Nullable Object input, int p) {
*
* This adds the P value into the serialized byte stream, so it can be used easily
*/
@ScalarFunction
public static byte[] fromULL(byte[] input) {
UltraLogLog ull = UltraLogLog.wrap(input);
return ObjectSerDeUtils.ULTRA_LOG_LOG_OBJECT_SER_DE.serialize(ull);
Expand Down

0 comments on commit 5f22d16

Please sign in to comment.