Skip to content

takuti/norikra-udf-dateformat

Repository files navigation

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

About

Flexible date-time formatting on Norikra

Resources

Stars

Watchers

Forks

Packages

No packages published