Skip to content

BPing/starrocks_java_udf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

starrocs java udf

CREATE
GLOBAL FUNCTION t_digest_hash(double)
RETURNS string
PROPERTIES (
    "symbol" = "com.starrocks.udf.TDigestHash",
    "type" = "StarrocksJar",
    "file" = "https://xxxx/udf-1.0-SNAPSHOT-jar-with-dependencies.jar"
);

CREATE
GLOBAL FUNCTION t_digest_quantile(string,double)
RETURNS double
PROPERTIES (
    "symbol" = "com.starrocks.udf.TDigestQuantile",
    "type" = "StarrocksJar",
    "file" = "https://xxxx/udf-1.0-SNAPSHOT-jar-with-dependencies.jar"
);

CREATE
GLOBAL AGGREGATE FUNCTION t_digest_union(string)
RETURNS string
PROPERTIES
(
    "symbol" = "com.starrocks.udaf.TDigestUnion",
    "type" = "StarrocksJar",
    "file" = "https://xxxx/udf-1.0-SNAPSHOT-jar-with-dependencies.jar"
);

About

starrock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages