substrait-extensions 0.87.0

Packaged Substrait Extension Files
Documentation
### SUBSTRAIT_SCALAR_TEST: v1.0
### SUBSTRAIT_INCLUDE: '/extensions/functions_datetime.yaml'

# timestamps: examples using the timestamp type
gte('2016-12-31T13:30:15'::ts, '2017-12-31T13:30:15'::ts) = false::bool
gte('2017-12-31T13:30:15'::ts, '2017-12-31T13:30:15'::ts) = true::bool
gte('2018-12-31T13:30:15'::ts, '2017-12-31T13:30:15'::ts) = true::bool

# timestamp_tz: examples using the timestamp_tz type
gte('1999-01-08T01:05:05-08:00'::tstz, '1999-01-08T04:05:06-05:00'::tstz) = false::bool
gte('1999-01-08T01:05:06-08:00'::tstz, '1999-01-08T01:05:06-08:00'::tstz) = true::bool
gte('1999-01-08T01:05:06-08:00'::tstz, '1999-01-08T04:05:05-05:00'::tstz) = true::bool

# date: examples using the date type
gte('2020-12-30'::date, '2020-12-31'::date) = false::bool
gte('2020-12-31'::date, '2020-12-31'::date) = true::bool
gte('2020-12-31'::date, '2020-12-30'::date) = true::bool

# interval: examples using the interval type
gte('P7D'::iday, 'P7D'::iday) = true::bool
gte('P7D'::iday, 'P6D'::iday) = true::bool
gte('P5D'::iday, 'P6D'::iday) = false::bool
gte('P5Y'::iyear, 'P6Y'::iyear) = false::bool
gte('P7Y'::iyear, 'P7Y'::iyear) = true::bool
gte('P7Y'::iyear, 'P6Y'::iyear) = true::bool

# null_input: examples with null args or return
gte(null::iday?, 'P5D'::iday) = null::bool?
gte(null::date?, '2020-12-30'::date) = null::bool?
gte(null::ts?, '2018-12-31T13:30:15'::ts) = null::bool?