Adie Polak discusses the drawbacks of using custom UDFs in Apache Spark, emphasizing that they are not optimized by Spark and can lead to lost optimizations like constant folding and predicate pushdown. The document advocates for using standard column-based functions and dataset operators before resorting to custom UDFs, which should be treated as a last resort. Ultimately, it suggests utilizing Spark's built-in functions and exploring available options through the DataFrame API.