spark内置函数
这里汇总了各大厂的Spark SQL面试真题,按公司分类整理,点击下方卡片可查看对应内容:
📄️ abs
abs介绍
📄️ acos
acos介绍
📄️ acosh
acosh介绍
📄️ add_months
add_months介绍
📄️ aes_decrypt
aes_decrypt介绍
📄️ aes_encrypt
aes_encrypt介绍
📄️ aggregate
aggregate介绍
📄️ and
and介绍
📄️ any
any介绍
📄️ any_value
any_value介绍
📄️ approx_count_distinct
approxcountdistinct介绍
📄️ approx_percentile
approx_percentile介绍
📄️ array
array介绍
📄️ array_agg
array_agg介绍
📄️ array_append
array_append介绍
📄️ array_compact
array_compact介绍
📄️ array_contains
array_contains介绍
📄️ array_distinct
array_distinct介绍
📄️ array_except
array_except介绍
📄️ array_insert
array_insert介绍
📄️ array_intersect
array_intersect介绍
📄️ array_join
array_join介绍
📄️ array_max
array_max介绍
📄️ array_min
array_min介绍
📄️ array_position
array_position介绍
📄️ array_prepend
array_prepend介绍
📄️ array_remove
array_remove介绍
📄️ array_repeat
array_repeat介绍
📄️ array_size
array_size介绍
📄️ array_sort
array_sort介绍
📄️ array_union
array_union介绍
📄️ arrays_overlap
arrays_overlap介绍
📄️ arrays_zip
arrays_zip介绍
📄️ ascii
ascii介绍
📄️ asin
asin介绍
📄️ asinh
asinh介绍
📄️ assert_true
assert_true介绍
📄️ atan
atan介绍
📄️ atan2
atan2介绍
📄️ atanh
atanh介绍
📄️ avg
ascii介绍
📄️ base64
base64介绍
📄️ between
between介绍
📄️ bigint
bigint介绍
📄️ bin
bin介绍
📄️ binary
binary介绍
📄️ bit_and
bit_and介绍
📄️ bit_count
bit_count介绍
📄️ bit_get
bit_get介绍
📄️ bit_length
bit_length介绍
📄️ bit_or
bit_or介绍
📄️ bit_xor
bit_xor介绍
📄️ bitmap_bit_position
bitmapbitposition介绍
📄️ bitmap_bucket_number
bitmapbucketnumber介绍
📄️ bitmap_construct_agg
bitmapconstructagg介绍
📄️ bitmap_count
bitmap_count介绍
📄️ bitmap_or_agg
bitmaporagg介绍
📄️ bool_and
bool_and介绍
📄️ bool_or
bool_or介绍
📄️ boolean
boolean介绍
📄️ bround
bround介绍
📄️ btrim
btrim介绍
📄️ cardinality
cardinality介绍
📄️ case
case介绍
📄️ cast
cast介绍
📄️ cbrt
cbrt介绍
📄️ ceil
ceil介绍
📄️ ceiling
ceiling介绍
📄️ char
char介绍
📄️ char_length
char_length介绍
📄️ character_length
character_length介绍
📄️ chr
chr介绍
📄️ coalesce
coalesce介绍
📄️ collect_list
collect_list介绍
📄️ collect_set
collect_set介绍
📄️ concat
concat介绍
📄️ concat_ws
concat_ws介绍
📄️ contains
contains介绍
📄️ conv
conv介绍
📄️ convert_timezone
convert_timezone介绍
📄️ corr
corr介绍
📄️ cos
cos介绍
📄️ cosh
cosh介绍
📄️ cot
cot介绍
📄️ count
count介绍
📄️ count_if
count_if介绍
📄️ count_min_sketch
countminsketch介绍
📄️ covar_pop
covar_pop介绍
📄️ covar_samp
covar_samp介绍
📄️ crc32
crc32介绍
📄️ csc
csc介绍
📄️ cume_dist
cume_dist介绍
📄️ curdate
curdate介绍
📄️ current_catalog
current_catalog介绍
📄️ current_database
current_database介绍
📄️ current_date
current_date介绍
📄️ current_schema
current_schema介绍
📄️ current_timestamp
current_timestamp介绍
📄️ current_timezone
current_timezone介绍
📄️ current_user
current_user介绍
📄️ date
date介绍
📄️ date_add
date_add介绍
📄️ date_diff
date_diff介绍
📄️ date_format
date_format介绍
📄️ date_from_unix_date
datefromunix_date介绍
📄️ date_part
date_part介绍
📄️ date_sub
date_sub介绍
📄️ date_trunc
date_diff介绍
📄️ dateadd
date_diff介绍
📄️ datediff
datediff介绍
📄️ datepart
datepart介绍
📄️ day
day介绍
📄️ dayofmonth
dayofmonth介绍
📄️ dayofweek
dayofweek介绍
📄️ dayofyear
dayofyear介绍
📄️ decimal
decimal介绍
📄️ decode
decode介绍
📄️ degrees
degrees介绍
📄️ dense_rank
dense_rank介绍
📄️ div
div介绍
📄️ double
double介绍
📄️ e
e介绍
📄️ element_at
element_at介绍
📄️ elt
elt介绍
📄️ encode
encode介绍
📄️ endswith
endswith介绍
📄️ equal_null
equal_null介绍
📄️ every
every介绍
📄️ exists
exists介绍
📄️ exp
exp介绍
📄️ explode
explode介绍
📄️ explode_outer
explode_outer介绍
📄️ expm1
expm1介绍
📄️ extract
extract介绍
📄️ factorial
factorial介绍
📄️ filter
filter介绍
📄️ find_in_set
findinset介绍
📄️ first
first介绍
📄️ first_value
first_value介绍
📄️ flatten
flatten介绍
📄️ float
float介绍
📄️ floor
floor介绍
📄️ forall
forall介绍
📄️ format_number
format_number介绍
📄️ format_string
format_string介绍
📄️ from_csv
from_csv介绍
📄️ from_json
from_json介绍
📄️ from_unixtime
from_unixtime介绍
📄️ from_utc_timestamp
fromutctimestamp介绍
📄️ get
get介绍
📄️ get_json_object
getjsonobject介绍
📄️ getbit
getbit介绍
📄️ greatest
greatest介绍
📄️ grouping
grouping介绍
📄️ grouping_id
grouping_id介绍
📄️ hash
hash介绍
📄️ hex
hex介绍
📄️ histogram_numeric
histogram_numeric介绍
📄️ hll_sketch_agg
hllsketchagg介绍
📄️ hll_sketch_estimate
hllsketchestimate介绍
📄️ hll_union
hll_union介绍
📄️ hll_union_agg
hllunionagg介绍
📄️ hour
hour介绍
📄️ hypot
hypot介绍
📄️ if
if介绍
📄️ ifnull
ifnull 介绍
📄️ ilike
ilike 介绍
📄️ in
in介绍
📄️ initcap
initcap 介绍
📄️ inline
inline 介绍
📄️ inline_outer
inline_outer 介绍
📄️ input_file_block_length
inputfileblock_length 介绍
📄️ input_file_block_start
inputfileblock_start 介绍
📄️ input_file_name
inputfilename介绍
📄️ instr
instr 介绍
📄️ int
int 介绍
📄️ isnan
isnan 介绍
📄️ isnotnull
isnotnull 介绍
📄️ isnull
isnull 介绍
📄️ java_method
java_method 介绍
📄️ json_array_length
isnull 介绍
📄️ json_object_keys
jsonobjectkeys 介绍
📄️ json_tuple
json_tuple 介绍
📄️ kurtosis
kurtosis 介绍
📄️ lag
lag 介绍
📄️ last
last 介绍
📄️ last_day
last_day 介绍
📄️ last_value
last_value 介绍
📄️ lcase
lcase 介绍
📄️ lead
lead 介绍
📄️ least
least 介绍
📄️ left
left 介绍
📄️ len
len 介绍
📄️ length
length 介绍
📄️ levenshtein
levenshtein 介绍
📄️ like
like 介绍
📄️ ln
ln 介绍
📄️ localtimestamp
localtimestamp 介绍
📄️ locate
locate 介绍
📄️ log
log 介绍
📄️ log10
log10 介绍
📄️ log1p
log1p 介绍
📄️ log2
log2 介绍
📄️ lower
lower 介绍
📄️ lpad
lpad 介绍
📄️ ltrim
ltrim 介绍
📄️ luhn_check
luhn_check 介绍
📄️ make_date
make_date 介绍
📄️ make_dt_interval
makedtinterval 介绍
📄️ make_interval
make_interval 介绍
📄️ make_timestamp
make_timestamp 介绍
📄️ make_timestamp_ltz
maketimestampltz 介绍
📄️ make_timestamp_ntz
maketimestampntz 介绍
📄️ make_ym_interval
makeyminterval 介绍
📄️ map
map 介绍
📄️ map_concat
map_concat 介绍
📄️ map_contains_key
mapcontainskey 介绍
📄️ map_entries
map_entries 介绍
📄️ map_filter
map_filter 介绍
📄️ map_from_arrays
mapfromarrays 介绍
📄️ map_from_arrays
mapfromarrays 介绍
📄️ map_keys
map_keys 介绍
📄️ map_values
map_values 介绍
📄️ map_zip_with
mapzipwith 介绍
📄️ mask
mask 介绍
📄️ max
📄️ max_by
max_by 介绍
📄️ md5
md5 介绍
📄️ mean
mean 介绍
📄️ median
median 介绍
📄️ min
min 介绍
📄️ min_by
min_by 介绍
📄️ minute
minute 介绍
📄️ mod
mod 介绍
📄️ mode
mode 介绍
📄️ monotonically_increasing_id
monotonicallyincreasingid 介绍
📄️ month
month 介绍
📄️ months_between
months_between 介绍
📄️ named_struct
named_struct 介绍
📄️ nanvl
nanvl 介绍
📄️ negative
negative 介绍
📄️ next_day
next_day 介绍
📄️ not
not 介绍
📄️ now
now 介绍
📄️ nth_value
nth_value 介绍
📄️ ntile
ntile 介绍
📄️ nullif
nullif 介绍
📄️ nvl
nvl 介绍
📄️ nvl2
nvl2 介绍
📄️ octet_length
octet_length 介绍
📄️ or
or 介绍
📄️ overlay
overlay 介绍
📄️ parse_url
parse_url 介绍
📄️ percent_rank
percent_rank 介绍
📄️ percentile
percentile 介绍
📄️ percentile_approx
percentile_approx 介绍
📄️ pi
pi 介绍
📄️ pmod
pmod 介绍
📄️ posexplode
posexplode 介绍
📄️ posexplode_outer
posexplode_outer 介绍
📄️ position
position 介绍
📄️ positive
positive 介绍
📄️ pow
pow 介绍
📄️ power
power 介绍
📄️ printf
printf 介绍
📄️ Spark Functions 隐私政策
生效日期:2024 年 7 月 01 日
📄️ quarter
quarter 介绍
📄️ radians
radians 介绍
📄️ raise_error
raise_error 介绍
📄️ rand
rand 介绍
📄️ randn
randn 介绍
📄️ random
random 介绍
📄️ rank
rank 介绍
📄️ reduce
reduce 介绍
📄️ reflect
reflect 介绍
📄️ regexp
regexp 介绍
📄️ regexp_count
regexp_count 介绍
📄️ regexp_extract
regexp_extract 介绍
📄️ regexp_extract_all
regexpextractall 介绍
📄️ regexp_instr
regexp_instr 介绍
📄️ regexp_like
regexp_like 介绍
📄️ regexp_replace
regexp_replace 介绍
📄️ regexp_substr
regexp_substr 介绍
📄️ regr_avgx
regr_avgx 介绍
📄️ regr_avgy
regr_avgy 介绍
📄️ regr_count
regr_count 介绍
📄️ regr_intercept
regr_intercept 介绍
📄️ regr_r2
regr_r2 介绍
📄️ regr_slope
regr_slope 介绍
📄️ regr_sxx
regr_sxx 介绍
📄️ regr_sxy
regr_sxy 介绍
📄️ regr_syy
regr_syy 介绍
📄️ repeat
repeat 介绍
📄️ replace
replace 介绍
📄️ reverse
reverse 介绍
📄️ right
right 介绍
📄️ rint
rint 介绍
📄️ rlike
rlike 介绍
📄️ round
round 介绍
📄️ row_number
row_number 介绍
📄️ repeat
repeat 介绍
📄️ rtrim
rtrim 介绍
📄️ schema_of_csv
schemaofcsv 介绍
📄️ schema_of_json
schemaofjson 介绍
📄️ sec
sec 介绍
📄️ second
second 介绍
📄️ sentences
sentences 介绍
📄️ sequence
sequence 介绍
📄️ session_window
session_window 介绍
📄️ sha
sha 介绍
📄️ sha1
sha1 介绍
📄️ sha2
sha2 介绍
📄️ shiftleft
shiftleft 介绍
📄️ shiftright
shiftright 介绍
📄️ shiftrightunsigned
shiftrightunsigned 介绍
📄️ shuffle
shuffle 介绍
📄️ sign
sign 介绍
📄️ signum
signum 介绍
📄️ sin
sin 介绍
📄️ sinh
sinh 介绍
📄️ size
size 介绍
📄️ skewness
skewness 介绍
📄️ slice
slice 介绍
📄️ smallint
smallint 介绍
📄️ some
some 介绍
📄️ sort_array
sort_array 介绍
📄️ soundex
soundex 介绍
📄️ space
space 介绍
📄️ spark_partition_id
sparkpartitionid 介绍
📄️ split
split 介绍
📄️ split_part
split_part 介绍
📄️ sqrt
sqrt 介绍
📄️ stack
stack 介绍
📄️ startswith
startswith 介绍
📄️ std
std 介绍
📄️ stddev
stddev 介绍
📄️ stddev_pop
stddev_pop 介绍
📄️ stddev_samp
stddev_samp 介绍
📄️ str_to_map
strtomap 介绍
📄️ string
string 介绍
📄️ struct
struct 介绍
📄️ substr
substr 介绍
📄️ substring
substring 介绍
📄️ substring_index
substring_index 介绍
📄️ sum
sum 介绍
📄️ tan
tan 介绍
📄️ tanh
tanh 介绍
📄️ timestamp
timestamp 介绍
📄️ timestamp_micros
timestamp_micros 介绍
📄️ timestamp_millis
timestamp_millis 介绍
📄️ timestamp_seconds
timestamp_seconds 介绍
📄️ tinyint
tinyint 介绍
📄️ to_binary
to_binary 介绍
📄️ to_char
to_char 介绍
📄️ to_csv
to_csv 介绍
📄️ to_date
to_date 介绍
📄️ to_json
to_json 介绍
📄️ to_number
to_number 介绍
📄️ to_timestamp
to_timestamp 介绍
📄️ to_timestamp_ltz
totimestampltz 介绍
📄️ to_timestamp_ntz
totimestampntz 介绍
📄️ to_unix_timestamp
tounixtimestamp 介绍
📄️ to_utc_timestamp
toutctimestamp 介绍
📄️ to_varchar
to_varchar 介绍
📄️ transform
transform 介绍
📄️ transform_keys
transform_keys 介绍
📄️ transform_values
transform_values 介绍
📄️ translate
translate 介绍
📄️ trim
trim 介绍
📄️ trunc
trunc 介绍
📄️ try_add
try_add 介绍
📄️ try_aes_decrypt
tryaesdecrypt 介绍
📄️ try_avg
try_avg 介绍
📄️ try_divide
try_divide 介绍
📄️ try_element_at
tryelementat 介绍
📄️ try_multiply
try_multiply 介绍
📄️ try_subtract
try_subtract 介绍
📄️ try_sum
try_sum 介绍
📄️ try_to_binary
trytobinary 介绍
📄️ try_to_number
trytonumber 介绍
📄️ try_to_timestamp
trytotimestamp 介绍
📄️ typeof
typeof 介绍
📄️ ucase
ucase 介绍
📄️ unbase64
unbase64 介绍
📄️ unhex
unhex 介绍
📄️ unix_date
unix_date 介绍
📄️ unix_micros
unix_micros 介绍
📄️ unix_millis
unix_millis 介绍
📄️ unix_seconds
unix_seconds 介绍
📄️ unix_timestamp
unix_timestamp 介绍
📄️ upper
upper 介绍
📄️ url_decode
url_decode 介绍
📄️ url_encode
url_encode 介绍
📄️ user
user 介绍
📄️ uuid
uuid 介绍
📄️ var_pop
var_pop 介绍
📄️ var_samp
var_samp 介绍
📄️ variance
variance 介绍
📄️ version
version 介绍
📄️ weekday
weekday 介绍
📄️ weekofyear
weekofyear 介绍
📄️ when
when 介绍
📄️ width_bucket
width_bucket 介绍
📄️ window
window 介绍
📄️ window_time
window_time 介绍
📄️ xpath
xpath 介绍
📄️ xpath_boolean
xpath_boolean 介绍
📄️ xpath_double
xpath_double 介绍
📄️ xpath_float
xpath_float 介绍
📄️ xpath_int
xpath_int 介绍
📄️ xpath_long
xpath_long 介绍
📄️ xpath_number
xpath_number 介绍
📄️ xpath_short
xpath_short 介绍
📄️ xpath_string
xpath_string 介绍
📄️ xxhash64
xxhash64 介绍
📄️ year
year 介绍
📄️ zip_with
zip_with 介绍
📌 说明
- 所有面试题均为真实大厂真题,包含详细解析;
- 持续更新阿里、腾讯、美团等更多公司的面试题;
- 如有疑问或补充,可在评论区反馈。