You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ja...@apache.org on 2023/11/14 18:18:15 UTC
(pinot) branch master updated: Fix fromULL scalar function (#11995)
This is an automated email from the ASF dual-hosted git repository.
jackie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 5f22d16086 Fix fromULL scalar function (#11995)
5f22d16086 is described below
commit 5f22d16086fe0999fe09d2c41cd54da8fff6d4d2
Author: Andi Miller <an...@andimiller.net>
AuthorDate: Tue Nov 14 18:18:09 2023 +0000
Fix fromULL scalar function (#11995)
---
.../main/java/org/apache/pinot/core/function/scalar/SketchFunctions.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/pinot-core/src/main/java/org/apache/pinot/core/function/scalar/SketchFunctions.java b/pinot-core/src/main/java/org/apache/pinot/core/function/scalar/SketchFunctions.java
index 4bd951d3c2..74e35e8bb7 100644
--- a/pinot-core/src/main/java/org/apache/pinot/core/function/scalar/SketchFunctions.java
+++ b/pinot-core/src/main/java/org/apache/pinot/core/function/scalar/SketchFunctions.java
@@ -502,6 +502,7 @@ public class SketchFunctions {
*
* 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);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org