I'm attempting to unhash a column of base64 values into decoded strings with Standard SQL in BigQuery and not having any luck so far.
I found there's a function called FROM_BASE64() but -
A. The documentation makes it appear as though it converts BASE64 into BYTES, which means I'd need an additional conversion.
B. FROM_BASE64() is not even working - the query runs, but the results are always the exact same encoded string that I inputted.
SELECT FROM_BASE64('aGVsbG8tc3RhY2tvdmVyZmxvdw==')
returns
"aGVsbG8tc3RhY2tvdmVyZmxvdw=="
What would be the best approach here?