Skip to main content
While transpiling Ab Initio graphs to Prophecy pipelines, Transpiler has to convert core DML functions in Ab Initio into equivalent Spark or Plib (Prophecy library) functions. Below is a list of all the Ab Initio functions that are supported by Prophecy:
Ab Initio FunctionEquivalent Prophecy FunctionFunction Type
accumulationcollect_listSpark
allocatenative spark object initializationSpark
allocate_with_defaultsnative spark object initializationSpark
allocate_with_nullsnative spark object initializationSpark
ceilingceilSpark
char_stringchar_stringPlib
date_add_monthsdate_add_monthsPlib
date_difference_daysdatediffSpark
date_month_enddate_month_endPlib
datetime_adddatetime_addPlib
datetime_differencedatetime_differencePlib
datetime_difference_absdatetime_differencePlib
datetime_difference_daysdatediffSpark
datetime_difference_minutesdatetime_difference_minutesPlib
datetime_difference_monthsdatetime_difference_monthsPlib
datetime_difference_secondstimestamp subtractionSpark
decimal_lpaddecimal_lpadPlib
decimal_stripdecimal_stripPlib
deflatedeflatePlib
directory_listingdirectory_listingPlib
ends_withends_withPlib
error_if_nullerror_if_nullPlib
evalevalPlib
file_informationfile_informationPlib
first_definedcoalesceSpark
first_without_errorcoalesceSpark
force_abortforce_errorPlib
force_errorforce_errorPlib
is_blankis_blankPlib
is_emptyis_emptyPlib
is_errorisnanSpark
is_nullisnullSpark
is_validis_validPlib
isnullisnullSpark
length_ofsize/lengthSpark
lookuplookupPlib
lookup_countlookup_countPlib
lookup_count_locallookup_countPlib
lookup_firstlookup_firstPlib
lookup_lastlookup_lastPlib
lookup_locallookupPlib
lookup_match_locallookup_matchPlib
lookup_reverse_rowlookup_reverse_rowPlib
lookup_rowlookup_rowPlib
math_absabsSpark
math_acosacosSpark
math_asinasinSpark
math_coscosSpark
math_loglogSpark
math_minmath_minPlib
math_powpowSpark
math_sinsinSpark
multifile_informationmultifile_informationPlib
nownowPlib
now1nowPlib
print_errorprint_errorPlib
random_string_valuerandom_string_valuePlib
re_get_matchre_get_match_with_index / re_get_matchPlib
re_get_matchesre_get_matches_with_offset /re_get_matchesPlib
re_indexre_index_with_offset /re_indexPlib
re_match_replacere_match_replacePlib
re_replacere_replacePlib
re_replace if falseregexp_replace / re_replacePlib
re_splitstring_splitPlib
re_split_no_emptystring_split_no_emptyPlib
read_fileread_filePlib
record_inforecord_infoPlib
starts_withstarts_withPlib
string_comparestring_comparePlib
string_concatconcatSpark
string_downcaselowerSpark
string_filterstring_filterPlib
string_filter_outstring_filter_outPlib
string_from_hexstring_from_hexPlib
string_indexstring_index_with_offset / string_indexPlib
string_is_numericstring_is_numericPlib
string_joinarray_joinSpark
string_lengthlengthSpark
string_likestring_likePlib
string_lpadstring_lpadPlib
string_lrtrimltrimSpark
string_padstring_pad_with_char / string_padPlib
string_prefixstring_prefixPlib
string_replacestring_replacePlib
string_replace_firststring_replace_firstPlib
string_representationstring_representationPlib
string_rindexstring_rindex_with_offset / string_rindexPlib
string_splitsplitSpark
string_split_no_emptystring_split_no_emptyPlib
string_substringsubstring_scalaPlib
string_to_hexhexSpark
string_trimtrimSpark
string_upcaseupperSpark
substringsubstring_scalaPlib
this_partitionspark_partition_idSpark
todaytodayPlib
today1todayPlib
type_infotype_infoPlib
unique_identifierunique_identifierPlib
unix_timestampunix_timestampPlib
upperupperPlib
utc_nowunix_timestampSpark
vector_appendarrayPlib
vector_concatarray_unionSpark
vector_maxarray_maxSpark
vector_minarray_minSpark