I have been trying trying to create a table and use CRC64 function on my table using MS Notebook, but getting the error. This function is neither a registered temporary function nor a permanent function registered in the database
Any suggestions how to fix this ?
select
CONCAT_WS('|',date,fullvisitorid,visitid,'${hivevar:sourceIDSplit}','${hivevar:sourceSchemaID}') AS test_skey
,CRC64(CONCAT_WS('|',date,fullvisitorid,visitid,'${hivevar:sourceIDSplit}','${hivevar:sourceSchemaID}')) AS test_skey_bigint
,*
,'${batchrunID}' AS batchrun_date
,'${sourceID}' AS source_schema_id
from vw_wom_3;