适用于: Databricks SQL
Databricks Runtime
本文提供 Azure Databricks 中内置函数和运算符的已按字母顺序排序的列表。
-
abs
函数 -
acos
函数 -
acosh
函数 -
add_months
函数 -
aes_decrypt
函数 -
aes_encrypt
函数 -
aggregate
函数 -
ai_analyze_sentiment
函数 -
ai_classify
函数 -
ai_extract
函数 -
ai_fix_grammar
函数 -
ai_forecast
函数 -
ai_gen
函数 -
ai_generate_text
函数 -
ai_mask
函数 -
ai_query
函数 -
ai_similarity
函数 -
ai_summarize
函数 -
ai_translate
函数 -
&
(与符号)运算符 -
and
谓词 -
any
聚合函数 -
any_value
聚合函数 -
approx_count_distinct
聚合函数 -
approx_percentile
聚合函数 -
approx_top_k
聚合函数 -
array
函数 -
array_agg
聚合函数 -
array_append
函数 -
array_compact
函数 -
array_contains
函数 -
array_distinct
函数 -
array_except
函数 -
array_insert
函数 -
array_intersect
函数 -
array_join
函数 -
array_max
函数 -
array_min
函数 -
array_position
函数 -
array_prepend
函数 -
array_remove
函数 -
array_repeat
函数 -
array_size
函数 -
array_sort
函数 -
array_union
函数 -
arrays_overlap
函数 -
arrays_zip
函数 -
ascii
函数 -
asin
函数 -
asinh
函数 -
assert_true
函数 -
*
(星号)运算符 -
atan
函数 -
atan2
函数 -
atanh
函数 -
avg
聚合函数 -
!=
(感叹号等于号)运算符 -
!
(感叹号)运算符 -
base64
函数 -
between
谓词 -
bigint
函数 -
bin
函数 -
binary
函数 -
bit_and
聚合函数 -
bit_count
函数 -
bit_get
函数 -
bit_length
函数 -
bit_or
聚合函数 -
bit_xor
聚合函数 -
bitmap_bit_position
函数 -
bitmap_bucket_number
函数 -
bitmap_construct_agg
聚合函数 -
bitmap_count
函数 -
bitmap_or_agg
聚合函数 -
bool_and
聚合函数 -
bool_or
聚合函数 -
boolean
函数 -
[ ]
(方括号)运算符 -
bround
函数 -
cardinality
函数 -
^
(插入符号)运算符 -
case
表达式 -
cast
函数 -
cbrt
函数 -
ceil
函数 -
ceiling
函数 -
char
函数 -
char_length
函数 -
character_length
函数 -
chr
函数 -
cloud_files_state
表值函数 -
coalesce
函数 -
collate
表达式 -
collation
函数 -
collations
表函数 -
collect_list
聚合函数 -
collect_set
聚合函数 -
::
(双冒号)运算符 -
:
(冒号)运算符 -
?::
(三冒号)运算符 -
concat
函数 -
concat_ws
函数 -
contains
函数 -
conv
函数 -
convert_timezone
函数 -
corr
聚合函数 -
cos
函数 -
cosh
函数 -
cot
函数 -
count
聚合函数 -
count_if
聚合函数 -
count_min_sketch
聚合函数 -
covar_pop
聚合函数 -
covar_samp
聚合函数 -
crc32
函数 -
csc
函数 -
cube
函数 -
cume_dist
分析窗口函数 -
curdate
函数 -
current_catalog
函数 -
current_database
函数 -
current_date
函数 -
current_metastore
函数 -
current_recipient
函数 -
current_schema
函数 -
current_timestamp
函数 -
current_timezone
函数 -
current_user
函数 -
current_version
函数 -
date
函数 -
date_add
函数 -
date_add
(天数)函数 -
date_diff
函数 -
date_format
函数 -
date_from_unix_date
函数 -
date_part
函数 -
date_sub
函数 -
date_trunc
函数 -
dateadd
函数 -
dateadd
(天数)函数 -
datediff
函数 -
datediff
(时间戳)函数 -
day
函数 -
dayname
函数 -
dayofmonth
函数 -
dayofweek
函数 -
dayofyear
函数 -
decimal
函数 -
decode
关键功能 -
decode
字符集函数 -
degrees
函数 -
dense_rank
排名窗口函数 -
div
运算符 -
.
(点号)运算符 -
double
函数 -
e
函数 -
element_at
函数 -
elt
函数 -
encode
函数 -
endswith
函数 -
==
(双等号)运算符 -
=
(等于号)运算符 -
equal_null
函数 -
event_log
表值函数 -
every
聚合函数 -
exists
函数 -
exp
函数 -
explode
表值生成器函数 -
explode_outer
表值生成器函数 -
expm1
函数 -
extract
函数 -
factorial
函数 -
filter
函数 -
find_in_set
函数 -
first
聚合函数 -
first_value
聚合函数 -
flatten
函数 -
float
函数 -
floor
函数 -
forall
函数 -
format_number
函数 -
format_string
函数 -
from_avro
函数 -
from_csv
函数 -
from_json
函数 -
from_unixtime
函数 -
from_utc_timestamp
函数 -
from_xml
函数 -
get
函数 -
getbit
函数 -
get_json_object
函数 -
getdate
函数 -
greatest
函数 -
grouping
函数 -
grouping_id
函数 -
>=
(大于等于号)运算符 -
>
(大于号)运算符 -
h3_coverash3
函数 -
h3_coverash3string
函数 -
h3_boundaryasgeojson
函数 -
h3_boundaryaswkb
函数 -
h3_boundaryaswkt
函数 -
h3_centerasgeojson
函数 -
h3_centeraswkb
函数 -
h3_centeraswkt
函数 -
h3_compact
函数 -
h3_distance
函数 -
h3_h3tostring
函数 -
h3_hexring
函数 -
h3_ischildof
函数 -
h3_ispentagon
函数 -
h3_isvalid
函数 -
h3_kring
函数 -
h3_kringdistances
函数 -
h3_longlatash3
函数 -
h3_longlatash3string
函数 -
h3_maxchild
函数 -
h3_minchild
函数 -
h3_pointash3
函数 -
h3_pointash3string
函数 -
h3_polyfillash3
函数 -
h3_polyfillash3string
函数 -
h3_resolution
函数 -
h3_stringtoh3
函数 -
h3_tessellateaswkb
函数 -
h3_tochildren
函数 -
h3_toparent
函数 -
h3_try_coverash3
函数 -
h3_try_coverash3string
函数 -
h3_try_distance
函数 -
h3_try_polyfillash3
函数 -
h3_try_polyfillash3string
函数 -
h3_try_tessellateaswkb
函数 -
h3_try_validate
函数 -
h3_uncompact
函数 -
h3_validate
函数 -
hash
函数 -
hex
函数 -
histogram_numeric
聚合函数 -
hll_sketch_agg
聚合函数 -
hll_sketch_estimate
函数 -
hll_union
函数 -
hll_union_agg
函数 -
hour
函数 -
http_request
函数 -
hypot
函数 -
if
函数 -
iff
函数 -
ifnull
函数 -
ilike
运算符 -
in
谓词 -
initcap
函数 -
inline
表值生成器函数 -
inline_outer
表值生成器函数 -
input_file_block_length
函数 -
input_file_block_start
函数 -
input_file_name
函数 -
instr
函数 -
int
函数 -
is_member
函数 -
is_valid_utf8
函数 -
is_variant_null
函数 -
is_account_group_member
函数 -
is distinct
运算符 -
is false
运算符 -
isnan
函数 -
isnotnull
函数 -
isnull
函数 -
is null
运算符 -
is true
运算符 -
java_method
函数 -
json_array_length
函数 -
json_object_keys
函数 -
json_tuple
表值生成器函数 -
kurtosis
聚合函数 -
lag
分析窗口函数 -
last
聚合函数 -
last_day
函数 -
last_value
聚合函数 -
lcase
函数 -
lead
分析窗口函数 -
least
函数 -
left
函数 -
len
函数 -
length
函数 -
levenshtein
函数 -
like
运算符 -
list_secrets
表函数 -
listagg
聚合函数 -
ln
函数 -
locate
函数 -
log
函数 -
log10
函数 -
log1p
函数 -
log2
函数 -
lower
函数 -
lpad
函数 -
<=>
(小于等于大于号)运算符 -
<=
(小于等于号)运算符 -
<>
(小于大于号)运算符 -
ltrim
函数 -
<
(小于号)运算符 -
luhn_check
函数 -
make_date
函数 -
make_interval
函数 -
make_dt_interval
函数 -
make_ym_interval
函数 -
make_timestamp
函数 -
make_valid_utf8
函数 -
map
函数 -
map_concat
函数 -
map_contains_key
函数 -
map_entries
函数 -
map_filter
函数 -
map_from_arrays
函数 -
map_from_entries
函数 -
map_keys
函数 -
map_values
函数 -
map_zip_with
函数 -
mask
函数 -
max
聚合函数 -
max_by
聚合函数 -
md5
函数 -
mean
聚合函数 -
measure
聚合函数 -
median
聚合函数 -
min
聚合函数 -
min_by
聚合函数 -
-
(减号)运算符 -
-
(减号)一元运算符 -
minute
函数 -
mod
函数 -
mode
聚合函数 -
monotonically_increasing_id
函数 -
month
函数 -
months_between
函数 -
named_struct
函数 -
nanvl
函数 -
negative
函数 -
next_day
函数 -
not
运算符 -
now
函数 -
nth_value
分析窗口函数 -
ntile
排名窗口函数 -
nullif
函数 -
nullifzero
函数 -
nvl
函数 -
nvl2
函数 -
octet_length
函数 -
or
运算符 -
overlay
函数 -
parse_json
函数 -
parse_url
函数 -
percent_rank
排名窗口函数 -
percentile
聚合函数 -
percentile_approx
聚合函数 -
percentile_cont
聚合函数 -
percentile_disc
聚合函数 -
%
(百分号)运算符 -
pi
函数 -
||
(双管道符号)运算符 -
|
(管道符号)运算符 -
+
(加号)运算符 -
+
(加号)一元运算符 -
pmod
函数 -
posexplode
表值生成器函数 -
posexplode_outer
表值生成器函数 -
position
函数 -
positive
函数 -
pow
函数 -
power
函数 -
printf
函数 -
quarter
函数 -
radians
函数 -
raise_error
函数 -
rand
函数 -
randn
函数 -
random
函数 -
randstr
函数 -
range
表值函数 -
rank
排名窗口函数 -
read_files
表值函数 -
read_kafka
表值函数 -
read_kinesis
流式表值函数 -
read_pubsub
流式表值函数 -
read_pulsar
流式表值函数 -
read_state_metadata
表值函数 -
read_statestore
表值函数 -
reduce
函数 -
reflect
函数 -
regexp
运算符 -
regexp_count
函数 -
regexp_extract
函数 -
regexp_extract_all
函数 -
regexp_instr
函数 -
regexp_like
函数 -
regexp_replace
函数 -
regexp_substr
函数 -
regr_avgx
聚合函数 -
regr_avgy
聚合函数 -
regr_count
聚合函数 -
regr_intercept
聚合函数 -
regr_r2
聚合函数 -
regr_slope
聚合函数 -
regr_sxx
聚合函数 -
regr_sxy
聚合函数 -
regr_syy
聚合函数 -
repeat
函数 -
replace
函数 -
reverse
函数 -
right
函数 -
rint
函数 -
rlike
运算符 -
round
函数 -
row_number
排名窗口函数 -
rpad
函数 -
rtrim
函数 -
schema_of_csv
函数 -
schema_of_json
函数 -
schema_of_json_agg
聚合函数 -
schema_of_variant
函数 -
schema_of_variant_agg
聚合函数 -
schema_of_xml
函数 -
sec
函数 -
second
函数 -
secret
函数 -
sentences
函数 -
sequence
函数 -
session_user
函数 -
session_window
分组表达式 -
sha
函数 -
sha1
函数 -
sha2
函数 -
shiftleft
函数 -
shiftright
函数 -
shiftrightunsigned
函数 -
shuffle
函数 -
sign
函数 -
signum
函数 -
sin
函数 -
sinh
函数 -
size
函数 -
skewness
聚合函数 -
/
(正斜杠符号)运算符 -
slice
函数 -
smallint
函数 -
some
聚合函数 -
sort_array
函数 -
soundex
函数 -
space
函数 -
spark_partition_id
函数 -
split
函数 -
split_part
函数 -
sqrt
函数 -
sql_keywords
函数 -
stack
表值生成器函数 -
startswith
函数 -
std
聚合函数 -
stddev
聚合函数 -
stddev_pop
聚合函数 -
stddev_samp
聚合函数 -
str_to_map
函数 -
string
函数 -
string_agg
聚合函数 -
struct
函数 -
substr
函数 -
substring
函数 -
substring_index
函数 -
sum
聚合函数 -
table_changes
表值函数 -
tan
函数 -
tanh
函数 -
~
(波形符号)运算符 -
timediff
函数 -
timestamp
函数 -
timestamp_micros
函数 -
timestamp_millis
函数 -
timestamp_seconds
函数 -
timestampadd
函数 -
timestampdiff
函数 -
tinyint
函数 -
to_avro
函数 -
to_binary
函数 -
to_char
函数 -
to_csv
函数 -
to_date
函数 -
to_json
函数 -
to_number
函数 -
to_timestamp
函数 -
to_unix_timestamp
函数 -
to_utc_timestamp
函数 -
to_varchar
函数 -
to_xml
函数 -
transform
函数 -
transform_keys
函数 -
transform_values
函数 -
translate
函数 -
trim
函数 -
trunc
函数 -
try_add
函数 -
try_aes_decrypt
函数 -
try_avg
聚合函数 -
try_cast
函数 -
try_divide
函数 -
try_element_at
函数 -
try_mod
函数 -
try_multiply
函数 -
try_parse_json
函数 -
try_reflect
函数 -
try_secret
函数 -
try_subtract
函数 -
try_sum
聚合函数 -
try_to_binary
函数 -
try_to_number
函数 -
try_to_timestamp
函数 -
try_url_decode
函数 -
try_validate_utf8
函数 -
try_variant_get
函数 -
try_zstd_decompress
函数 -
typeof
函数 -
ucase
函数 -
unbase64
函数 -
unhex
函数 -
uniform
函数 -
unix_date
函数 -
unix_micros
函数 -
unix_millis
函数 -
unix_seconds
函数 -
unix_timestamp
函数 -
upper
函数 -
url_decode
函数 -
url_encode
函数 -
user
函数 -
uuid
函数 -
var_pop
聚合函数 -
var_samp
聚合函数 -
variance
聚合函数 -
vector_search
函数 -
version
函数 -
weekday
函数 -
validate_utf8
函数 -
variant_explode
表值函数 -
variant_explode_outer
表值函数 -
variant_get
函数 -
weekofyear
函数 -
width_bucket
函数 -
window
分组表达式 -
window_time
函数 -
xpath
函数 -
xpath_boolean
函数 -
xpath_double
函数 -
xpath_float
函数 -
xpath_int
函数 -
xpath_long
函数 -
xpath_number
函数 -
xpath_short
函数 -
xpath_string
函数 -
xxhash64
函数 -
year
函数 -
zeroifnull
函数 -
zip_with
函数 -
zstd_compress
函数 -
zstd_decompress
函数 -
bit_reverse
函数 -
btrim
函数 -
charindex
函数