适用于:
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_parse_document函数 -
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函数 -
st_addpoint函数 -
st_area函数 -
st_asbinary函数 -
st_asewkb函数 -
st_asewkt函数 -
st_asgeojson函数 -
st_astext函数 -
st_aswkb函数 -
st_aswkt函数 -
st_buffer函数 -
st_centroid函数 -
st_concavehull函数 -
st_contains函数 -
st_convexhull函数 -
st_covers函数 -
st_difference函数 -
st_dimension函数 -
st_disjoint函数 -
st_distance函数 -
st_distancesphere函数 -
st_distancespheroid函数 -
st_dump函数 -
st_dwithin函数 -
st_endpoint函数 -
st_envelope函数 -
st_envelope_agg函数 -
st_equals函数 -
st_exteriorring函数 -
st_flipcoordinates函数 -
st_geogfromgeojson函数 -
st_geogfromtext函数 -
st_geogfromwkb函数 -
st_geogfromwkt函数 -
st_geohash函数 -
st_geomfromgeojson函数 -
st_geomfromewkb函数 -
st_geomfromgeohash函数 -
st_geomfromtext函数 -
st_geomfromwkb函数 -
st_geomfromwkt函数 -
st_geometryn函数 -
st_geometrytype函数 -
st_interiorringn函数 -
st_intersection函数 -
st_intersects函数 -
st_isempty函数 -
st_isvalid函数 -
st_length函数 -
st_m函数 -
st_makeline函数 -
st_multi函数 -
st_makepolygon函数 -
st_ndims函数 -
st_npoints函数 -
st_numgeometries函数 -
st_numinteriorrings函数 -
st_perimeter函数 -
st_point函数 -
st_pointfromgeohash函数 -
st_pointn函数 -
st_removepoint函数 -
st_reverse函数 -
st_rotate函数 -
st_scale函数 -
st_setpoint函数 -
st_setsrid函数 -
st_simplify函数 -
st_srid函数 -
st_startpoint函数 -
st_touches函数 -
st_transform函数 -
st_translate函数 -
st_union函数 -
st_union_agg函数 -
st_within函数 -
st_x函数 -
st_xmax函数 -
st_xmin函数 -
st_y函数 -
st_ymax函数 -
st_ymin函数 -
st_z函数 -
st_zmax函数 -
st_zmin函数 -
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_geography函数 -
to_geometry函数 -
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_geography函数 -
try_to_geometry函数 -
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函数 -
validate_utf8函数 -
var_pop聚合函数 -
var_samp聚合函数 -
variance聚合函数 -
variant_explode表值函数 -
variant_explode_outer表值函数 -
variant_get函数 -
vector_search函数 -
version函数 -
weekday函数 -
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函数