Skip to content

Commit

Permalink
feat(date): add ibis.date(y,m,d) functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
Saul Pwanson committed Mar 9, 2022
1 parent 2d9a128 commit ebeb8d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ibis/backends/sqlite/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,11 @@ def _string_concat(t, expr):
ops.Substring: _substr,
ops.StrRight: _string_right,
ops.StringFind: _string_find,
ops.StringConcat: _string_concat,
ops.Least: varargs(sa.func.min),
ops.Greatest: varargs(sa.func.max),
ops.IfNull: fixed_arity(sa.func.ifnull, 2),
ops.DateFromYMD: _date_from_ymd,
ops.DateTruncate: _truncate(sa.func.date),
ops.Date: unary(sa.func.date),
ops.TimestampTruncate: _truncate(sa.func.datetime),
Expand Down

0 comments on commit ebeb8d7

Please sign in to comment.