DateDifference filter function

Description

A simple function computing the difference between two dates in milliseconds. The function will eventually be made encodable in SQL for selected databases (a separate ticket will be opened for that).

Some databases offer ability to compute differences in different unit of measures, but the syntax and available support varies wildly between databases, in some cases making the equivalent support very verbose (like expressions hundreds of chars long), so the easiest path is to use a Java oriented definition instead (which is also in line with how the other functions are defined, Java first).

Environment

None

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Components

Fix versions

Priority

Medium
Configure