Quiet logging.
Turn off HashAggregation
Drop broken CASE WHEN.