presto-udf:PrestoSQL https的UDF(用户定义函数)

时间:2021-05-26 15:22:52
【文件属性】:
文件名称:presto-udf:PrestoSQL https的UDF(用户定义函数)
文件大小:19KB
文件格式:ZIP
更新时间:2021-05-26 15:22:52
presto udf Java 安装 mvn clean assembly:assembly 将presto-udf-*-jar-with-dependencies.jar复制到所有presto节点中的${PRESTO_HOME}/plugin/custom-functions/中。 (如果不存在,则创建目录) 重新启动presto集群 职能 标量函数 功能 退货类型 参数类型 描述 用法 第一天 日期 日期 一个月的第一天 首日(当前日期) 最后一天 日期 日期 一个月的最后一天 last_day(current_date) to_datetime 时间戳记 日期,varchar 结合两个参数 to_datetime(current_date,'23:59:59') last_second 时间戳记 日期 日期的最后一秒 last_second(current_date) 昨天 时间戳记 昨天的最后一
【文件预览】:
presto-udf-prestosql
----pom.xml(2KB)
----LICENSE(11KB)
----src()
--------test()
--------main()
----.gitignore(335B)
----README.md(2KB)

网友评论