Github user maropu commented on the issue:
https://github.com/apache/incubator-hivemall/pull/135
@myui Spark already has these functions:
https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/functions.scala#L3118---
