(4) UDFs — replace Python UDFs with SQL expressions. (5) cluster — DS3_v2 is small; DS4_v2 with autoscaling (within 20% budget) plus above optimizations gets you there. Retail store-SKU-day grain is ...