Skip to content

Function table

What sqlassert knows of each function's result type, per dialect: a type, = arg i (the argument's own type), ~ arg i (its base type, parameters dropped), by arg i, by key or by arity (depends on an argument's family, a literal or the number of arguments), common (the type the arguments share), target (a CAST's), unmodelled (why), — (the engine has no such function), or n/a (no SQL of the dialect is this function). A cell ends in e where every fact of the function was probed on an engine, t where it is tentative (from documentation and memory; see Dialects). The table is data: sqlassert/functions/table.py.

Function DuckDB Postgres MySQL Snowflake BigQuery Redshift Databricks Spark Hive SQLite ClickHouse Oracle Trino
% (Mod) unmodelled (division) e unmodelled (division) e unmodelled (division) e unmodelled (division) t unmodelled (division) t unmodelled (division) t unmodelled (division) t unmodelled (division) e unmodelled (division) t unmodelled (division) e unmodelled (division) e unmodelled (division) t unmodelled (division) e
& (BitwiseAnd) common e common e BIGINT UNSIGNED e common t common t common t common t common e common t unmodelled (storage class) e common e common t common e
* (Mul) by arg 0 e by arg 0 e by arg 0 e by arg 0 t by arg 0 t by arg 0 t by arg 0 t by arg 0 e by arg 0 t by arg 0 e by arg 0 e by arg 0 t by arg 0 e
+ (Add) by arg 0 e by arg 0 e by arg 0 e by arg 0 t by arg 0 t by arg 0 t by arg 0 t by arg 0 e by arg 0 t by arg 0 e by arg 0 e by arg 0 t by arg 0 e
- (Sub) by arg 0 e by arg 0 e by arg 0 e by arg 0 t by arg 0 t by arg 0 t by arg 0 t by arg 0 e by arg 0 t by arg 0 e by arg 0 e by arg 0 t by arg 0 e
/ (Div) unmodelled (division) e unmodelled (division) e unmodelled (division) e unmodelled (division) t unmodelled (division) t unmodelled (division) t unmodelled (division) t unmodelled (division) e unmodelled (division) t unmodelled (division) e unmodelled (division) e unmodelled (division) t unmodelled (division) e
// (IntDiv) unmodelled (division) e n/a unmodelled (division) e n/a unmodelled (division) t n/a unmodelled (division) t unmodelled (division) e unmodelled (division) t n/a n/a n/a n/a
< (LT) BOOLEAN e BOOLEAN e BIGINT e BOOLEAN t BOOL t BOOLEAN t BOOLEAN t BOOLEAN e BOOLEAN t unmodelled (storage class) e UInt8 e BOOLEAN t BOOLEAN e
<< (BitwiseLeftShift) = arg 0 e = arg 0 e BIGINT UNSIGNED e = arg 0 t = arg 0 t = arg 0 t by arg 0 t by arg 0 e by arg 0 t unmodelled (storage class) e = arg 0 e = arg 0 t = arg 0 e
<= (LTE) BOOLEAN e BOOLEAN e BIGINT e BOOLEAN t BOOL t BOOLEAN t BOOLEAN t BOOLEAN e BOOLEAN t unmodelled (storage class) e UInt8 e BOOLEAN t BOOLEAN e
<> (NEQ) BOOLEAN e BOOLEAN e BIGINT e BOOLEAN t BOOL t BOOLEAN t BOOLEAN t BOOLEAN e BOOLEAN t unmodelled (storage class) e UInt8 e BOOLEAN t BOOLEAN e
> (GT) BOOLEAN e BOOLEAN e BIGINT e BOOLEAN t BOOL t BOOLEAN t BOOLEAN t BOOLEAN e BOOLEAN t unmodelled (storage class) e UInt8 e BOOLEAN t BOOLEAN e
>= (GTE) BOOLEAN e BOOLEAN e BIGINT e BOOLEAN t BOOL t BOOLEAN t BOOLEAN t BOOLEAN e BOOLEAN t unmodelled (storage class) e UInt8 e BOOLEAN t BOOLEAN e
>> (BitwiseRightShift) = arg 0 e = arg 0 e BIGINT UNSIGNED e = arg 0 t = arg 0 t = arg 0 t by arg 0 t by arg 0 e by arg 0 t unmodelled (storage class) e = arg 0 e = arg 0 t = arg 0 e
[] (Bracket) unmodelled (element type) e unmodelled (element type) e — e unmodelled (element type) unmodelled (element type) unmodelled (element type) unmodelled (element type) unmodelled (element type) e unmodelled (element type) n/a unmodelled (element type) — t unmodelled (element type) e
^ (BitwiseXor) common e common e BIGINT UNSIGNED e common t common t n/a common t common e common t unmodelled (storage class) e common e common t common e
abs (Abs) = arg 0 e = arg 0 e = arg 0 e = arg 0 t = arg 0 t = arg 0 t by arg 0 t by arg 0 e by arg 0 t unmodelled (storage class) e unmodelled (finer than family) e = arg 0 t = arg 0 e
acos (Acos) DOUBLE e DOUBLE PRECISION e DOUBLE e FLOAT t FLOAT64 t DOUBLE PRECISION t DOUBLE t DOUBLE e DOUBLE t unmodelled (storage class) Float64 e = arg 0 t DOUBLE e
array (Array) unmodelled (composite) unmodelled (composite) — e unmodelled (composite) unmodelled (composite) unmodelled (composite) unmodelled (composite) unmodelled (composite) unmodelled (composite) unmodelled (storage class) unmodelled (composite) unmodelled (composite) unmodelled (composite)
array_length (ArraySize) BIGINT e INTEGER e — e NUMBER t INT64 t — t INT t INT e INT t unmodelled (storage class) UInt64 e — t BIGINT e
array_to_string (ArrayToString) VARCHAR e TEXT e — e VARCHAR t STRING t — t STRING t STRING e — t unmodelled (storage class) String e — t VARCHAR e
ascii (Ascii) INTEGER e INTEGER e INT e NUMBER t INT64 t INTEGER t INT t INT e INT t unmodelled (storage class) Int32 e NUMBER t — e
asin (Asin) DOUBLE e DOUBLE PRECISION e DOUBLE e FLOAT t FLOAT64 t DOUBLE PRECISION t DOUBLE t DOUBLE e DOUBLE t unmodelled (storage class) Float64 e = arg 0 t DOUBLE e
atan (Atan) DOUBLE e DOUBLE PRECISION e DOUBLE e FLOAT t FLOAT64 t DOUBLE PRECISION t DOUBLE t DOUBLE e DOUBLE t unmodelled (storage class) Float64 e = arg 0 t DOUBLE e
atan2 (Atan2) DOUBLE e DOUBLE PRECISION e DOUBLE e FLOAT t FLOAT64 t DOUBLE PRECISION t DOUBLE t DOUBLE e DOUBLE t unmodelled (storage class) Float64 e = arg 0 t DOUBLE e
BETWEEN (Between) BOOLEAN e BOOLEAN e BIGINT e BOOLEAN t BOOL t BOOLEAN t BOOLEAN t BOOLEAN e BOOLEAN t unmodelled (storage class) e UInt8 e BOOLEAN t BOOLEAN e
bit_length (BitLength) BIGINT e INTEGER e INT e NUMBER t — t — t INT t INT e — t unmodelled (storage class) — e — t — e
CAST (Cast) target e target e target e target t target t target t target t n/a n/a target e target e target t target e
ceil (Ceil) by arg 0 e by arg 0 e by arg 0 e by arg 0 t by arg 0 t by arg 0 t by arg 0 t by arg 0 e by arg 0 t unmodelled (storage class) e by arg 0 e by arg 0 t by arg 0 e
chr (Chr) VARCHAR e TEXT e VARBINARY e VARCHAR t STRING t VARCHAR t STRING t STRING e STRING t unmodelled (storage class) String e VARCHAR2 t VARCHAR e
concat (Concat) unmodelled (overloaded) e TEXT e unmodelled (keeps argument parameters) e by arg 0 t = arg 0 t VARCHAR t unmodelled (overloaded) t unmodelled (overloaded) e unmodelled (overloaded) t unmodelled (storage class) String e = arg 0 t VARCHAR e
concat_ws (ConcatWs) VARCHAR e TEXT e unmodelled (keeps argument parameters) e VARCHAR t — t VARCHAR t STRING t STRING e STRING t unmodelled (storage class) e String e VARCHAR2 t VARCHAR e
contains (Contains) BOOLEAN e — e — e BOOLEAN t — t — t BOOLEAN t BOOLEAN e — t unmodelled (storage class) — e — t n/a
cos (Cos) DOUBLE e DOUBLE PRECISION e DOUBLE e FLOAT t FLOAT64 t DOUBLE PRECISION t DOUBLE t DOUBLE e DOUBLE t unmodelled (storage class) Float64 e = arg 0 t DOUBLE e
current_date (CurrentDate) DATE e DATE e DATE e DATE t DATE t DATE t DATE t DATE e DATE t unmodelled (storage class) Date e DATE t DATE e
current_time (CurrentTime) TIME WITH TIME ZONE e TIME WITH TIME ZONE e TIME e n/a TIME t TIME WITH TIME ZONE t TIME t TIME e — t unmodelled (storage class) — e — t TIME WITH TIME ZONE e
current_timestamp (CurrentTimestamp) TIMESTAMP WITH TIME ZONE e TIMESTAMP WITH TIME ZONE e DATETIME e TIMESTAMP_LTZ t TIMESTAMP t TIMESTAMP WITH TIME ZONE t TIMESTAMP t TIMESTAMP e TIMESTAMP t unmodelled (storage class) DateTime e TIMESTAMP WITH TIME ZONE t TIMESTAMP WITH TIME ZONE e
date (Date) DATE e DATE e n/a n/a DATE t DATE t n/a n/a DATE t unmodelled (storage class) Date e — t DATE e
date (TsOrDsToDate) n/a n/a DATE e — t n/a n/a DATE t DATE e DATE t n/a n/a n/a n/a
date_add (DateAdd) by arg 0 e by arg 0 e unmodelled (depends on literal) = arg 0 t = arg 0 t n/a n/a n/a n/a unmodelled (storage class) = arg 0 e — t = arg 0 e
date_add (TsOrDsAdd) n/a n/a n/a n/a n/a — t DATE t DATE e DATE t unmodelled (storage class) — e — t n/a
date_from_parts (DateFromParts) DATE e — e — e DATE t DATE t — t n/a n/a — t unmodelled (storage class) Date e — t — e
date_part (Anonymous:date_part) unmodelled (depends on literal) n/a — e n/a — t n/a unmodelled (depends on literal) unmodelled (depends on literal) — t unmodelled (storage class) UInt16 e — t — e
date_sub (DateSub) n/a — e unmodelled (depends on literal) — t = arg 0 t — t n/a n/a n/a unmodelled (storage class) = arg 0 e — t — e
date_trunc (DateTrunc) TIMESTAMP e n/a — e — t = arg 0 t n/a DATE t DATE e — t unmodelled (storage class) unmodelled (depends on literal) DATE t DATE e
datediff (DateDiff) BIGINT e — e INT e NUMBER t INT64 t n/a unmodelled (overloaded) unmodelled (overloaded) INT t unmodelled (storage class) Int64 e — t BIGINT e
day (Day) BIGINT e — e INT e NUMBER t — t — t INT t INT e INT t unmodelled (storage class) UInt8 e — t BIGINT e
day_of_week (DayOfWeek) BIGINT e — e INT e NUMBER t — t — t INT t INT e INT t unmodelled (storage class) UInt8 e — t BIGINT e
day_of_year (DayOfYear) BIGINT e — e INT e NUMBER t — t — t INT t INT e — t unmodelled (storage class) UInt16 e — t BIGINT e
dayname (Dayname) VARCHAR e — e VARCHAR e VARCHAR t — t — t STRING t STRING e — t unmodelled (storage class) String e — t — e
dayofweek_iso (DayOfWeekIso) BIGINT e — e — e NUMBER t — t — t — t — e — t unmodelled (storage class) UInt8 e — t BIGINT e
ends_with (EndsWith) BOOLEAN e — e — e BOOLEAN t BOOL t — t BOOLEAN t BOOLEAN e — t unmodelled (storage class) UInt8 e — t BOOLEAN e
exp (Exp) DOUBLE e by arg 0 e DOUBLE e FLOAT t by arg 0 t DOUBLE PRECISION t DOUBLE t DOUBLE e DOUBLE t unmodelled (storage class) Float64 e = arg 0 t DOUBLE e
extract (Extract) by this e NUMERIC e BIGINT e NUMBER t INT64 t NUMERIC t by this t by this e INT t unmodelled (storage class) Int64 e NUMBER t BIGINT e
floor (Floor) by arg 0 e by arg 0 e by arg 0 e by arg 0 t by arg 0 t by arg 0 t by arg 0 t by arg 0 e by arg 0 t unmodelled (storage class) e by arg 0 e by arg 0 t by arg 0 e
format (Format) VARCHAR e TEXT e n/a — t STRING t — t — t — e — t unmodelled (storage class) String e — t VARCHAR e
greatest (Greatest) common e common e common e common common common common common e common unmodelled (storage class) common common common e
hour (Hour) BIGINT e — e INT e NUMBER t — t — t INT t INT e INT t unmodelled (storage class) UInt8 e — t BIGINT e
ILIKE (ILike) BOOLEAN e BOOLEAN e BIGINT e BOOLEAN t BOOL t BOOLEAN t BOOLEAN t BOOLEAN e BOOLEAN t unmodelled (storage class) e UInt8 e BOOLEAN t BOOLEAN e
initcap (Initcap) — e TEXT e — e VARCHAR t STRING t VARCHAR t STRING t STRING e STRING t unmodelled (storage class) String e = arg 0 t — e
isnan (IsNan) BOOLEAN e — e — e — t BOOL t — t BOOLEAN t BOOLEAN e — t unmodelled (storage class) UInt8 e — t BOOLEAN e
json_array_length (Anonymous:json_array_length) UBIGINT e INTEGER e — e — t — t BIGINT t INT t INT e — t unmodelled (storage class) UInt64 e — t BIGINT e
json_extract_array (JSONExtractArray) — e — e — e — t unmodelled (composite) — t — t — e — t unmodelled (storage class) — e — t — e
json_format (JSONFormat) — e — e — e VARCHAR t STRING t — t STRING t STRING e — t unmodelled (storage class) — e — t VARCHAR e
last_day (LastDay) DATE e — e DATE e DATE t DATE t DATE t DATE t DATE e STRING t unmodelled (storage class) Date e DATE t DATE e
least (Least) common e common e common e common common common common common e common unmodelled (storage class) common common common e
left (Left) VARCHAR e TEXT e unmodelled (keeps argument parameters) = arg 0 t = arg 0 t VARCHAR t by arg 0 t by arg 0 e — t unmodelled (storage class) String e — t — e
length (Length) BIGINT e INTEGER e INT e NUMBER t INT64 t INTEGER t INT t INT e INT t unmodelled (storage class) e UInt64 e NUMBER t BIGINT e
LIKE (Like) BOOLEAN e BOOLEAN e BIGINT e BOOLEAN t BOOL t BOOLEAN t BOOLEAN t BOOLEAN e BOOLEAN t unmodelled (storage class) e UInt8 e BOOLEAN t BOOLEAN e
ln (Ln) DOUBLE e by arg 0 e DOUBLE e FLOAT t by arg 0 t DOUBLE PRECISION t DOUBLE t DOUBLE e DOUBLE t unmodelled (storage class) Float64 e = arg 0 t DOUBLE e
localtimestamp (Localtimestamp) TIMESTAMP e TIMESTAMP e DATETIME e n/a n/a TIMESTAMP t n/a n/a n/a n/a n/a TIMESTAMP t TIMESTAMP e
log (Log) DOUBLE e by arity e DOUBLE e FLOAT t by arg 0 t DOUBLE PRECISION t DOUBLE t DOUBLE e DOUBLE t unmodelled (storage class) Float64 e = arg 0 t DOUBLE e
lower (Lower) VARCHAR e TEXT e unmodelled (keeps argument parameters) e VARCHAR t = arg 0 t VARCHAR t STRING t STRING e STRING t unmodelled (storage class) e String e = arg 0 t = arg 0 e
make_date (Anonymous:make_date) n/a DATE e — e — t — t — t DATE t DATE e — t unmodelled (storage class) — e — t — e
md5 (MD5) VARCHAR e TEXT e VARCHAR e VARCHAR t STRING t VARCHAR t STRING t STRING e STRING t unmodelled (storage class) n/a — t n/a
md5 digest (MD5Digest) n/a — e — e BINARY t BYTES t — t n/a n/a n/a unmodelled (storage class) unmodelled (wraps argument) e — t VARBINARY e
minute (Minute) BIGINT e — e INT e NUMBER t — t — t INT t INT e INT t unmodelled (storage class) UInt8 e — t BIGINT e
month (Month) BIGINT e — e INT e NUMBER t — t — t INT t INT e INT t unmodelled (storage class) UInt8 e — t BIGINT e
monthname (Monthname) VARCHAR e — e n/a VARCHAR t — t — t STRING t STRING e — t unmodelled (storage class) String e — t — e
nfc_normalize (Anonymous:nfc_normalize) VARCHAR e — e — e — t — t — t — t — e — t unmodelled (storage class) — e — t — e
normalize (Normalize) — e TEXT e — e — t STRING t — t — t — e — t unmodelled (storage class) — e — t VARCHAR e
NOT (Not) BOOLEAN e BOOLEAN e BIGINT e BOOLEAN t BOOL t BOOLEAN t BOOLEAN t BOOLEAN e BOOLEAN t unmodelled (storage class) e UInt8 e BOOLEAN t BOOLEAN e
now (Anonymous:now) TIMESTAMP WITH TIME ZONE e n/a DATETIME e TIMESTAMP_LTZ t TIMESTAMP t n/a n/a TIMESTAMP e TIMESTAMP t unmodelled (storage class) DateTime e TIMESTAMP WITH TIME ZONE t n/a
nullif (Nullif) common e common e common e common t common t common t common t common e common t common e common e common t common e
octet_length (Anonymous:octet_length) BIGINT e INTEGER e INT e n/a n/a INTEGER t INT t INT e INT t unmodelled (storage class) UInt64 e — t — e
overlay (Overlay) VARCHAR e by arg 0 e — e — t — t — t STRING t STRING e — t unmodelled (storage class) String e — t VARCHAR e
pad (Pad) VARCHAR e TEXT e unmodelled (keeps argument parameters) = arg 0 t = arg 0 t VARCHAR t STRING t STRING e STRING t unmodelled (storage class) String e = arg 0 t VARCHAR e
power (Pow) DOUBLE e by arg 0 e DOUBLE e FLOAT t by arg 0 t DOUBLE PRECISION t DOUBLE t DOUBLE e DOUBLE t unmodelled (storage class) Float64 e = arg 0 t DOUBLE e
prefix (Anonymous:prefix) BOOLEAN e — e — e — t — t — t — t — e — t unmodelled (storage class) — e — t — e
quarter (Quarter) BIGINT e — e INT e NUMBER t — t — t INT t INT e INT t unmodelled (storage class) UInt8 e — t BIGINT e
rand (Rand) DOUBLE e DOUBLE PRECISION e DOUBLE e NUMBER t FLOAT64 t DOUBLE PRECISION t DOUBLE t DOUBLE e DOUBLE t unmodelled (storage class) UInt32 e — t DOUBLE e
regexp_extract (RegexpExtract) unmodelled (overloaded) — e — e VARCHAR t = arg 0 t VARCHAR t STRING t STRING e STRING t unmodelled (storage class) String e — t VARCHAR e
regexp_full_match (RegexpFullMatch) BOOLEAN e — e — e — t — t — t — t — e — t unmodelled (storage class) — e — t — e
regexp_like (RegexpLike) BOOLEAN e BOOLEAN e INT e BOOLEAN t BOOL t — t BOOLEAN t BOOLEAN e BOOLEAN t unmodelled (storage class) UInt8 e BOOLEAN t BOOLEAN e
regexp_replace (RegexpReplace) VARCHAR e TEXT e LONGTEXT e VARCHAR t = arg 0 t VARCHAR t STRING t STRING e STRING t unmodelled (storage class) String e = arg 0 t VARCHAR e
regexp_substr (RegexpSubstr) — e TEXT e unmodelled (keeps argument parameters) n/a n/a n/a STRING t STRING e — t unmodelled (storage class) n/a = arg 0 t — e
repeat (Repeat) by arg 0 e TEXT e unmodelled (keeps argument parameters) VARCHAR t = arg 0 t VARCHAR t STRING t STRING e STRING t unmodelled (storage class) String e — t unmodelled (overloaded)
replace (Replace) VARCHAR e TEXT e unmodelled (keeps argument parameters) VARCHAR t = arg 0 t VARCHAR t STRING t STRING e STRING t unmodelled (storage class) String e = arg 0 t VARCHAR e
reverse (Reverse) VARCHAR e by arg 0 e unmodelled (keeps argument parameters) = arg 0 t = arg 0 t VARCHAR t by arg 0 t by arg 0 e STRING t unmodelled (storage class) String e — t = arg 0 e
right (Right) VARCHAR e TEXT e unmodelled (keeps argument parameters) = arg 0 t = arg 0 t VARCHAR t STRING t STRING e — t unmodelled (storage class) String e — t — e
round (Round) by arg 0 e by arity e by arg 0 e by arg 0 t by arg 0 t by arg 0 t by arg 0 t by arg 0 e by arg 0 t unmodelled (storage class) e by arg 0 e by arg 0 t by arg 0 e
safe_divide (SafeDivide) — e — e — e — t by arg 0 t — t unmodelled (division) unmodelled (division) — t unmodelled (storage class) — e — t — e
second (Second) BIGINT e — e INT e NUMBER t — t — t INT t INT e INT t unmodelled (storage class) UInt8 e — t BIGINT e
seq4 (Seq4) — e — e — e NUMBER t — t — t — t — e — t unmodelled (storage class) — e — t — e
sha1 (SHA) VARCHAR e — e VARCHAR e VARCHAR t n/a VARCHAR t STRING t STRING e STRING t unmodelled (storage class) n/a — t n/a
sha1 digest (SHA1Digest) n/a — e — e BINARY t BYTES t — t n/a n/a — t unmodelled (storage class) unmodelled (wraps argument) — t VARBINARY e
sha256 (SHA2) VARCHAR e n/a VARCHAR e VARCHAR t n/a VARCHAR t STRING t STRING e STRING t unmodelled (storage class) n/a — t n/a
sha256 digest (SHA2Digest) n/a BYTEA e — e BINARY t BYTES t — t n/a n/a — t unmodelled (storage class) unmodelled (wraps argument) — t VARBINARY e
sign (Sign) TINYINT e by arg 0 e BIGINT e NUMBER t = arg 0 t = arg 0 t DOUBLE t DOUBLE e DOUBLE t unmodelled (storage class) Int8 e NUMBER t by arg 0 e
sin (Sin) DOUBLE e DOUBLE PRECISION e DOUBLE e FLOAT t FLOAT64 t DOUBLE PRECISION t DOUBLE t DOUBLE e DOUBLE t unmodelled (storage class) Float64 e = arg 0 t DOUBLE e
split (RegexpSplit) unmodelled (composite) — e — e — t — t — t unmodelled (composite) unmodelled (composite) unmodelled (composite) — e unmodelled (composite) — t unmodelled (composite)
split (Split) unmodelled (composite) — e — e unmodelled (composite) unmodelled (composite) — t n/a n/a n/a unmodelled (storage class) unmodelled (composite) — t unmodelled (composite)
split_part (SplitPart) VARCHAR e TEXT e — e VARCHAR t — t VARCHAR t STRING t STRING e — t unmodelled (storage class) String e — t VARCHAR e
sqrt (Sqrt) DOUBLE e by arg 0 e DOUBLE e FLOAT t by arg 0 t DOUBLE PRECISION t DOUBLE t DOUBLE e DOUBLE t unmodelled (storage class) Float64 e = arg 0 t DOUBLE e
st_area (Anonymous:st_area) — e DOUBLE PRECISION e DOUBLE e FLOAT t FLOAT64 t DOUBLE PRECISION t DOUBLE t — e — t unmodelled (storage class) — e — t DOUBLE e
st_intersects (Anonymous:st_intersects) — e BOOLEAN e BIGINT e BOOLEAN t BOOL t BOOLEAN t BOOLEAN t — e — t unmodelled (storage class) — e — t BOOLEAN e
starts_with (StartsWith) BOOLEAN e BOOLEAN e — e BOOLEAN t BOOL t — t BOOLEAN t BOOLEAN e — t unmodelled (storage class) UInt8 e — t BOOLEAN e
str_position (StrPosition) BIGINT e INTEGER e INT e NUMBER t INT64 t INTEGER t INT t INT e INT t unmodelled (storage class) UInt64 e NUMBER t BIGINT e
str_to_date (StrToDate) n/a DATE e by format n/a DATE t DATE t n/a n/a n/a unmodelled (storage class) n/a DATE t n/a
str_to_time (StrToTime) TIMESTAMP e TIMESTAMP WITH TIME ZONE e n/a TIMESTAMP_NTZ t TIMESTAMP t TIMESTAMP WITH TIME ZONE t TIMESTAMP t TIMESTAMP e n/a unmodelled (storage class) — e TIMESTAMP t TIMESTAMP e
strlen (Anonymous:strlen) BIGINT e — e — e — t — t — t — t — e — t unmodelled (storage class) — e — t — e
struct (Struct) unmodelled (composite) unmodelled (composite) — e unmodelled (composite) unmodelled (composite) unmodelled (composite) unmodelled (composite) unmodelled (composite) unmodelled (composite) unmodelled (storage class) unmodelled (composite) unmodelled (composite) unmodelled (composite)
substring (Substring) VARCHAR e by arg 0 e unmodelled (keeps argument parameters) = arg 0 t = arg 0 t VARCHAR t by arg 0 t by arg 0 e by arg 0 t unmodelled (storage class) String e = arg 0 t = arg 0 e
suffix (Anonymous:suffix) BOOLEAN e — e — e — t — t — t — t — e — t unmodelled (storage class) — e — t — e
tan (Tan) DOUBLE e DOUBLE PRECISION e DOUBLE e FLOAT t FLOAT64 t DOUBLE PRECISION t DOUBLE t DOUBLE e DOUBLE t unmodelled (storage class) Float64 e = arg 0 t DOUBLE e
time_to_str (TimeToStr) VARCHAR e TEXT e VARCHAR e VARCHAR t STRING t VARCHAR t STRING t STRING e STRING t unmodelled (storage class) String e VARCHAR2 t VARCHAR e
timestamp (Timestamp) — e — e DATETIME e — t TIMESTAMP t — t n/a n/a — t — e unmodelled (overloaded) e — t — e
timestamp_trunc (TimestampTrunc) by arg 0 e by arg 0 e n/a = arg 0 t = arg 0 t by arg 0 t TIMESTAMP t TIMESTAMP e — t unmodelled (storage class) n/a — t = arg 0 e
timezone (Anonymous:timezone) unmodelled (overloaded) unmodelled (overloaded) — e — t — t unmodelled (overloaded) — t — e — t unmodelled (storage class) — e — t — e
to_base64 (ToBase64) VARCHAR e — e unmodelled (keeps argument parameters) e — t STRING t — t STRING t STRING e STRING t — e String e — t VARCHAR e
to_char (ToChar) — e n/a — e n/a — t n/a STRING t STRING e — t unmodelled (storage class) — e n/a n/a
to_seconds (Anonymous:to_seconds) INTERVAL e — e BIGINT e — t — t — t — t — e — t unmodelled (storage class) — e — t — e
translate (Translate) VARCHAR e TEXT e — e VARCHAR t = arg 0 t VARCHAR t STRING t STRING e STRING t unmodelled (storage class) String e = arg 0 t VARCHAR e
trim (Trim) VARCHAR e TEXT e unmodelled (keeps argument parameters) e VARCHAR t = arg 0 t VARCHAR t STRING t STRING e STRING t unmodelled (storage class) e String e = arg 0 t = arg 0 e
TRY_CAST (TryCast) target e — e — e target t target t target t target t target e target t — e target e target t target e
try_strptime (Anonymous:try_strptime) TIMESTAMP e — e — e — t — t — t — t — e — t unmodelled (storage class) — e — t — e
ts_or_ds_diff (TsOrDsDiff) n/a n/a n/a n/a n/a BIGINT t n/a n/a n/a unmodelled (storage class) — e — t n/a
unary - (Neg) by arg 0 e by arg 0 e by arg 0 e by arg 0 t by arg 0 t by arg 0 t by arg 0 t by arg 0 e by arg 0 t by arg 0 e by arg 0 e by arg 0 t by arg 0 e
unix_seconds (UnixSeconds) — e — e — e — t INT64 t — t BIGINT t BIGINT e — t unmodelled (storage class) — e — t — e
upper (Upper) VARCHAR e TEXT e unmodelled (keeps argument parameters) e VARCHAR t = arg 0 t VARCHAR t STRING t STRING e STRING t unmodelled (storage class) e String e = arg 0 t = arg 0 e
uuid (Uuid) UUID e UUID e VARCHAR e VARCHAR t STRING t — t STRING t STRING e STRING t unmodelled (storage class) UUID e — t UUID e
week (Week) BIGINT e — e INT e NUMBER t n/a — t — t — e — t unmodelled (storage class) UInt8 e — t n/a
year (Year) BIGINT e — e YEAR e NUMBER t — t — t INT t INT e INT t unmodelled (storage class) UInt16 e — t BIGINT e
yearweek (Anonymous:yearweek) BIGINT e — e INT e — t — t — t — t — e — t unmodelled (storage class) UInt32 e — t — e
| (BitwiseOr) common e common e BIGINT UNSIGNED e common t common t common t common t common e common t unmodelled (storage class) e common e common t common e
|| (DPipe) by arg 0 e by arg 0 e n/a by arg 0 t = arg 0 t by arg 0 t by arg 0 t by arg 0 e by arg 0 t unmodelled (storage class) e String e by arg 0 t by arg 0 e
~ (BitwiseNot) = arg 0 e = arg 0 e BIGINT UNSIGNED e = arg 0 t = arg 0 t = arg 0 t = arg 0 t = arg 0 e = arg 0 t unmodelled (storage class) e = arg 0 e = arg 0 t = arg 0 e