Amazon Athena now supports user-defined functions (UDFs), a feature that enables customers to write custom scalar functions and invoke them in SQL queries. While Athena provides built-in functions , UDFs enable customers to perform custom processing such as compressing and decompressing data, redacting sensitive data, or applying customized decryption.