Norikra::UDF::DateFormat
Norikra UDF for flexible date formatting.
This UDF works on the following environment:
- Norikra 1.4.0
- Java 8
Installation
On JRuby which Norikra runs:
$ gem install norikra-udf-dateformat
Usage
For a field timestamp
which has the UNIX timestamp in a millisecond range,
SELECT dateformat(timestamp, 'yyyy-MM-dd HH:mm:ss', 'UTC') AS s_date
FROM test_target.win:time_batch(5 min)
License
MIT