abs
functionacos
functionacosh
functionadd_months
functionaes_decrypt
functionaes_encrypt
functionaggregate
function&
(ampersand sign) operatorand
predicateany
aggregate functionany_value
aggregate functionapprox_count_distinct
aggregate functionapprox_percentile
aggregate functionapprox_top_k
aggregate functionarray
functionarray_agg
aggregate functionarray_contains
functionarray_distinct
functionarray_except
functionarray_intersect
functionarray_join
functionarray_max
functionarray_min
functionarray_position
functionarray_remove
functionarray_repeat
functionarray_size
functionarray_sort
functionarray_union
functionarrays_overlap
functionarrays_zip
functionascii
functionasin
functionasinh
functionassert_true
function*
(asterisk sign) operatoratan
functionatan2
functionatanh
functionavg
aggregate function!=
(bangeq sign) operator!
(bang sign) operatorbase64
functionbetween
predicatebigint
functionbin
functionbinary
functionbit_and
aggregate functionbit_count
functionbit_get
functionbit_length
functionbit_or
aggregate functionbit_reverse
functionbit_xor
aggregate functionbool_and
aggregate functionbool_or
aggregate functionboolean
function[]
(bracket sign) operatorbround
functionbtrim
functioncardinality
function^
(caret sign) operatorcase
expressioncast
functioncbrt
functionceil
functionceiling
functionchar
functionchar_length
functioncharacter_length
functioncharindex
functionchr
functioncloud_files_state
table-valued functioncoalesce
functioncollect_list
aggregate functioncollect_set
aggregate function::
(colon colon sign) operator:
(colon sign) operatorconcat
functionconcat_ws
functioncontains
functionconv
functioncorr
aggregate functioncos
functioncosh
functioncot
functioncount
aggregate functioncount_if
aggregate functioncount_min_sketch
aggregate functioncovar_pop
aggregate functioncovar_samp
aggregate functioncrc32
functioncsc
functioncube
functioncume_dist
analytic window functioncurdate
functioncurrent_catalog
functioncurrent_database
functioncurrent_date
functioncurrent_metastore
functioncurrent_schema
functioncurrent_timestamp
functioncurrent_timezone
functioncurrent_user
functioncurrent_version
functiondate
functiondate_add
functiondate_format
functiondate_from_unix_date
functiondate_part
functiondate_sub
functiondate_trunc
functiondateadd
functiondateadd
(days) functiondatediff
functiondatediff
(timestamp) functionday
functiondayofmonth
functiondayofweek
functiondayofyear
functiondecimal
functiondecode
functiondecode
(character set) functiondegrees
functiondense_rank
ranking window functiondiv
operator.
(dot sign) operatordouble
functione
functionelement_at
functionelt
functionencode
functionendswith
function==
(eq eq sign) operator=
(eq sign) operatorequal_null
functionevery
aggregate functionexists
functionexp
functionexplode
table-valued generator functionexplode_outer
table-valued generator functionexpm1
functionextract
functionfactorial
functionfilter
functionfind_in_set
functionfirst
aggregate functionfirst_value
aggregate functionflatten
functionfloat
functionfloor
functionforall
functionformat_number
functionformat_string
functionfrom_csv
functionfrom_json
functionfrom_unixtime
functionfrom_utc_timestamp
functionget
functionget_json_object
functiongetbit
functiongreatest
functiongrouping
functiongrouping_id
function>=
(gt eq sign) operator>
(gt sign) operatorh3_boundaryasgeojson
functionh3_boundaryaswkb
functionh3_boundaryaswkt
functionh3_centerasgeojson
functionh3_centeraswkb
functionh3_centeraswkt
functionh3_compact
functionh3_distance
functionh3_h3tostring
functionh3_hexring
functionh3_ischildof
functionh3_ispentagon
functionh3_isvalid
functionh3_kring
functionh3_kringdistances
functionh3_longlatash3
functionh3_longlatash3string
functionh3_maxchild
functionh3_minchild
functionh3_pointash3
functionh3_pointash3string
functionh3_polyfillash3
functionh3_polyfillash3string
functionh3_resolution
functionh3_stringtoh3
functionh3_tochildren
functionh3_toparent
functionh3_try_polyfillash3
functionh3_try_polyfillash3string
functionh3_try_validate
functionh3_uncompact
functionh3_validate
functionhash
functionhex
functionhour
functionhypot
functionif
functioniff
functionifnull
functionilike
operatorin
predicateinitcap
functioninline
table-valued generator functioninline_outer
table-valued generator functioninput_file_block_length
functioninput_file_block_start
functioninput_file_name
functioninstr
functionint
functionis_member
functionisdistinct
operatorisfalse
operatorisnan
functionisnotnull
functionisnull
functionisnull
operatoristrue
operatorjava_method
functionjson_array_length
functionjson_object_keys
functionjson_tuple
table-valued generator functionkurtosis
aggregate functionlag
analytic window functionlast
aggregate functionlast_day
functionlast_value
aggregate functionlcase
functionlead
analytic window functionleast
functionleft
functionlen
functionlength
functionlevenshtein
functionlike
operatorlist_secrets
table functionln
functionlocate
functionlog
functionlog10
functionlog1p
functionlog2
functionlower
functionlpad
function<=>
(lt eq gt sign) operator<=
(lt eq sign) operator<>
(lt gt sign) operatorltrim
function<
(lt sign) operatormake_date
functionmake_dt_interval
functionmake_interval
functionmake_timestamp
functionmake_ym_interval
functionmap
functionmap_concat
functionmap_contains_key
functionmap_entries
functionmap_filter
functionmap_from_arrays
functionmap_from_entries
functionmap_keys
functionmap_values
functionmap_zip_with
functionmax
aggregate functionmax_by
aggregate functionmd5
functionmean
aggregate functionmedian
aggregate functionmin
aggregate functionmin_by
aggregate function-
(minus sign) operator-
(minus sign) unary operatorminute
functionmod
functionmode
aggregate functionmonotonically_increasing_id
functionmonth
functionmonths_between
functionnamed_struct
functionnanvl
functionnegative
functionnext_day
functionnot
operatornow
functionnth_value
analytic window functionntile
ranking window functionnullif
functionnvl
functionnvl2
functionoctet_length
functionor
operatoroverlay
functionparse_url
functionpercent_rank
ranking window functionpercentile
aggregate functionpercentile_approx
aggregate functionpercentile_cont
aggregate functionpercentile_disc
aggregate function%
(percent sign) operatorpi
function||
(pipe pipe sign) operator|
(pipe sign) operator+
(plus sign) operator+
(plus sign) unary operatorpmod
functionposexplode
table-valued generator functionposexplode_outer
table-valued generator functionposition
functionpositive
functionpow
functionpower
functionprintf
functionquarter
functionradians
functionraise_error
functionrand
functionrandn
functionrandom
functionrange
table-valued functionrank
ranking window functionreduce
functionreflect
functionregexp
operatorregexp_count
functionregexp_extract
functionregexp_extract_all
functionregexp_instr
functionregexp_like
functionregexp_replace
functionregexp_substr
functionregr_avgx
aggregate functionregr_avgy
aggregate functionregr_count
aggregate functionregr_intercept
aggregate functionregr_r2
aggregate functionregr_slope
aggregate functionregr_sxx
aggregate functionregr_sxy
aggregate functionregr_syy
aggregate functionrepeat
functionreplace
functionreverse
functionright
functionrint
functionrlike
operatorround
functionrow_number
ranking window functionrpad
functionrtrim
functionschema_of_csv
functionschema_of_json
functionsec
functionsecond
functionsecret
functionsentences
functionsequence
functionsha
functionsha1
functionsha2
functionshiftleft
functionshiftright
functionshiftrightunsigned
functionshuffle
functionsign
functionsignum
functionsin
functionsinh
functionsize
functionskewness
aggregate function/
(slash sign) operatorslice
functionsmallint
functionsome
aggregate functionsort_array
functionsoundex
functionspace
functionspark_partition_id
functionsplit
functionsplit_part
functionsqrt
functionstack
table-valued generator functionstartswith
functionstd
aggregate functionstddev
aggregate functionstddev_pop
aggregate functionstddev_samp
aggregate functionstr_to_map
functionstring
functionstruct
functionsubstr
functionsubstring
functionsubstring_index
functionsum
aggregate functiontable_changes
table-valued functiontan
functiontanh
function~
(tilde sign) operatortimestamp
functiontimestamp_micros
functiontimestamp_millis
functiontimestamp_seconds
functiontimestampadd
functiontimestampdiff
functiontinyint
functionto_binary
functionto_char
functionto_csv
functionto_date
functionto_json
functionto_number
functionto_timestamp
functionto_unix_timestamp
functionto_utc_timestamp
functiontransform
functiontransform_keys
functiontransform_values
functiontranslate
functiontrim
functiontrunc
functiontry_add
functiontry_avg
aggregate functiontry_cast
functiontry_divide
functiontry_element_at
functiontry_multiply
functiontry_subtract
functiontry_sum
aggregate functiontry_to_binary
functiontry_to_number
functiontry_to_timestamp
functiontypeof
functionucase
functionunbase64
functionunhex
functionunix_date
functionunix_micros
functionunix_millis
functionunix_seconds
functionunix_timestamp
functionupper
functionurl_decode
functionurl_encode
functionuuid
functionvar_pop
aggregate functionvar_samp
aggregate functionvariance
aggregate functionversion
functionweekday
functionweekofyear
functionwidth_bucket
functionwindow
grouping expressionxpath
functionxpath_boolean
functionxpath_double
functionxpath_float
functionxpath_int
functionxpath_long
functionxpath_number
functionxpath_short
functionxpath_string
functionxxhash64
functionyear
functionzip_with
functionUpdated Nov 04, 2022
to_utc_timestamp
functionto_utc_timestamp
functionApplies to:Databricks SQLDatabricks Runtime
Returns the timestamp inexpr
in a different timezone as UTC.
>SELECTto_utc_timestamp('2016-08-31','Asia/Seoul');2016-08-3015:00:00>SELECTto_utc_timestamp(“2017-07-14 02:40:00.0”,'GMT+1');2017-07-1401:40:00.0