Bolt Backend Scalar Function Support

qianmoQqianmoQ· 更新于 2026-10-02· 阅读 23 分钟· 0 次阅读

登录后可跨设备保存划线和私人笔记登录

Bolt Scalar Function Support Status

This document outlines the scalar functions that are default-registered and available at runtime in the current version of Bolt.

Overall Summary

Status Column Legend:

  • S: Supported. The current implementation is fully available without significant functional gaps or special restrictions.
  • PS: Partially Supported. The function is available but has important limitations or prerequisites for use (detailed in the “Restrictions/Notes” column).
  • blank: Not used in this list.

Count by Category

CategoryFunction Count
Array24
Bitwise4
Collection2
Conditional0
Conversion6
Date & Timestamp50
Hash26
JSON12
Lambda3
Map16
Mathematical54
Misc2
Predicate11
String79
Struct1
URL10

Array Functions

Bolt Function(s)StatusRestrictions/Notes
all_matchS
any_matchS
array_containsS
array_distinctS
array_duplicatesS
array_exceptS
array_intersectS
array_positionS
array_sortS
array_sort_descS
array_sumS
arrays_overlapS
containsS
elementS
find_firstS
find_first_indexS
none_matchS
repeatS
sequenceS
shuffleS
sliceS
sort_arrayS
zipS
zip_withS

Bitwise Functions

Bolt Function(s)StatusRestrictions/Notes
bit_countS
bitwise_arithmetic_shift_rightS
bitwise_logical_shift_rightS
bitwise_shift_leftS

Collection Functions

Bolt Function(s)StatusRestrictions/Notes
cardinalityS
empty_approx_setS

Conditional Functions

Bolt Function(s)StatusRestrictions/Notes
NoneConditional scalar functions are not enumerated individually in this audit.

Conversion Functions

Bolt Function(s)StatusRestrictions/Notes
from_baseS
from_utf8S
to_baseS
to_bigintS
to_integerS
to_utf8S

Date & Timestamp Functions

Bolt Function(s)StatusRestrictions/Notes
current_dateS
dateS
date2pdateS
date_addS
date_diffS
date_formatS
date_parseS
date_truncS
datediffS
dayS
day_of_monthS
day_of_weekS
day_of_yearS
dayofmonthS
dayofweekS
dayofyearS
dowS
doyS
format_datetimeS
from_unixtimeS
hourS
last_dayS
last_day_of_monthS
millisecondS
minusS
minuteS
monthS
months_betweenS
next_dayS
parse_datetimeS
pdate2dateS
plusS
quarterS
secondS
timestampaddS
timestampdiffS
timezone_hourS
timezone_minuteS
to_dateS
to_timestampS
to_unix_timestampS
to_unixtimeS
truncS
unix_timestampS
weekS
week_of_yearS
weekofyearS
yearS
year_of_weekS
yowS

Hash Functions

Bolt Function(s)StatusRestrictions/Notes
base64S
crc32S
from_base64S
from_base64urlS
from_big_endian_32S
from_big_endian_64S
from_hexS
from_ieee754_64S
hmac_md5S
hmac_sha1S
hmac_sha256S
hmac_sha512S
md5S
sha1S
sha256S
sha512S
spooky_hash_v2_32S
spooky_hash_v2_64S
to_base64S
to_base64urlS
to_big_endian_32S
to_big_endian_64S
to_hexS
to_ieee754_32S
to_ieee754_64S
xxhash64S

JSON Functions

Bolt Function(s)StatusRestrictions/Notes
get_json_objectPSJSON path functions support UTF-8 in JSON text but have limited support for UTF-8 in json_path. Behavior may depend on QueryConfig settings (e.g., whether to throw on invalid JSON).
get_json_object_detect_bad_jsonPSJSON path functions support UTF-8 in JSON text but have limited support for UTF-8 in json_path. Behavior may depend on QueryConfig settings (e.g., whether to throw on invalid JSON).
is_json_scalarS
json_array_containsS
json_array_lengthS
json_extractPSJSON path functions support UTF-8 in JSON text but have limited support for UTF-8 in json_path. Behavior may depend on QueryConfig settings (e.g., whether to throw on invalid JSON).
json_extract_scalarPSJSON path functions support UTF-8 in JSON text but have limited support for UTF-8 in json_path. Behavior may depend on QueryConfig settings (e.g., whether to throw on invalid JSON).
json_formatS
json_parseS
json_sizePSJSON path functions support UTF-8 in JSON text but have limited support for UTF-8 in json_path. Behavior may depend on QueryConfig settings (e.g., whether to throw on invalid JSON).
json_to_mapS
to_jsonS

Lambda Functions

Bolt Function(s)StatusRestrictions/Notes
filterS
reduceS
transformS

Map Functions

Bolt Function(s)StatusRestrictions/Notes
all_keys_matchS
any_keys_matchS
any_values_matchS
mapS
map_entriesS
map_filterS
map_filter_keysS
map_from_entriesS
map_keysS
map_updateS
map_valuesS
map_zip_withS
no_keys_matchS
no_values_matchS
str_to_mapS
transform_keysS
transform_valuesS

Mathematical Functions

Bolt Function(s)StatusRestrictions/Notes
absS
acosS
asinS
atanS
atan2S
beta_cdfS
binomial_cdfS
bytedance_ceilS
bytedance_floorS
bytedance_lnS
bytedance_randS
cauchy_cdfS
cbrtS
chi_squared_cdfS
clampS
cosS
coshS
degreesS
divideS
eS
expS
f_cdfS
find_in_setS
gamma_cdfS
infinityS
inverse_beta_cdfS
laplace_cdfS
lnS
logS
log10S
log2S
multiplyS
nanS
negateS
normal_cdfS
notS
piS
poisson_cdfS
powS
powerS
radiansS
randS
randomS
roundS
sinS
sqrtS
tanS
tanhS
translateS
truncateS
weibull_cdfS
width_bucketS
wilson_interval_lowerS
wilson_interval_upperS

Misc Functions

Bolt Function(s)StatusRestrictions/Notes
greatestS
leastS

Predicate Functions

Bolt Function(s)StatusRestrictions/Notes
betweenS
eqS
gtS
gteS
inS
is_finiteS
is_infiniteS
is_nanS
ltS
lteS
neqS

String Functions

Bolt Function(s)StatusRestrictions/Notes
asciiS
base64S
bit_lengthS
chrS
codepointS
concatS
concat_ws_sparkS
containsS
convS
empty2nullS
ends_withS
endswithS
find_in_setS
format_numberS
instrS
lengthS
levenshteinS
levenshtein_distanceS
likePSUses RE2 regex engine, which is a subset of PCRE and does not support backtracking, backreferences, or lookarounds. Some implementations (e.g., regexp_replace, regexp_split) require the pattern to be a constant.
locateS
lowerS
lpadS
ltrimS
maskS
overlayS
repeatS
regexp_extractPSUses RE2 regex engine, which is a subset of PCRE and does not support backtracking, backreferences, or lookarounds. Some implementations (e.g., regexp_replace, regexp_split) require the pattern to be a constant.
regexp_extract_allPSUses RE2 regex engine, which is a subset of PCRE and does not support backtracking, backreferences, or lookarounds. Some implementations (e.g., regexp_replace, regexp_split) require the pattern to be a constant.
regexp_likePSUses RE2 regex engine, which is a subset of PCRE and does not support backtracking, backreferences, or lookarounds. Some implementations (e.g., regexp_replace, regexp_split) require the pattern to be a constant.
regexp_replacePSUses RE2 regex engine, which is a subset of PCRE and does not support backtracking, backreferences, or lookarounds. Some implementations (e.g., regexp_replace, regexp_split) require the pattern to be a constant.
replaceS
reverseS
rightS
rlikePSUses RE2 regex engine, which is a subset of PCRE and does not support backtracking, backreferences, or lookarounds. Some implementations (e.g., regexp_replace, regexp_split) require the pattern to be a constant.
rpadS
rtrimS
soundexS
spaceS
splitS
split_partS
starts_withS
startswithS
strposS
strrposS
substrS
substringS
substring_indexS
to_titleS
translateS
trimS
unbase64S
upperS
uuidS

Struct Functions

Bolt Function(s)StatusRestrictions/Notes
row_constructorS

URL Functions

Bolt Function(s)StatusRestrictions/Notes
parse_urlS
url_decodeS
url_encodeS
url_extract_fragmentS
url_extract_hostS
url_extract_parameterS
url_extract_pathS
url_extract_portS
url_extract_protocolS
url_extract_queryS

XML Functions

Bolt does not currently register any XML-related scalar functions.

评论

登录后参与评论

正在加载评论…