Havn
PlatformLoreDocs Sign in
KernelBosonHintLore
  • Verbs 48
  • Functions 97
    • add
    • sub
    • mul
    • add_wrapping
    • sub_wrapping
    • mul_wrapping
    • div
    • div_trunc
    • div_floor
    • rem
    • neg
    • abs
    • eq
    • ne
    • lt
    • le
    • gt
    • ge
    • is_distinct_from
    • is_not_distinct_from
    • is_null
    • is_not_null
    • is_nan
    • and
    • or
    • not
    • and_kleene
    • or_kleene
    • coalesce
    • if_else
    • cast
    • round
    • sqrt
    • exp
    • ln
    • ln_1p
    • expm1
    • sin
    • cos
    • erf
    • lgamma
    • pow
    • atan2
    • length
    • byte_length
    • lower
    • upper
    • trim
    • starts_with
    • ends_with
    • contains
    • regex_match
    • approx_contains
    • concat
    • replace
    • split
    • substring
    • year
    • month
    • day
    • hour
    • minute
    • second
    • weekday
    • quarter
    • day_of_year
    • date_trunc
    • add_months
    • assume_timezone
    • to_local
    • count
    • count_all
    • count_distinct
    • mode
    • median
    • quantile
    • sum
    • fsum
    • mean
    • min
    • max
    • var_samp
    • stddev_samp
    • first
    • last
    • list
    • string_agg
    • approx_count_distinct
    • approx_quantile
    • approx_frequent
    • bool_and
    • bool_or
    • row_number
    • rank
    • dense_rank
    • lag
    • lead
  • Plan ops 1
  • Diagnostics 1

Nothing in Hint matches.

Docs/ Hint/ Functions

day

The day of the month.

ScalarDeterministic

Flags

Flag Value
Kind scalar
Nulls a null argument gives null
Deterministic yes
Order matters no
Decomposable no

Example

A pipeline from the language's tested corpus that uses day, over the example tables.

Hint
from orders
derive {y = year(day), m = month(day), d = day(day), w = weekday(day), q = quarter(day), doy = day_of_year(day)}

In a plan:

JSON
{
  "args": [
    {
      "col": 5
    }
  ],
  "fn": "day"
}
Previousmonth Nexthour

On this page

  1. Flags
  2. Example
  1. Flags
  2. Example
Havn Platform Lore Docs