Architecting Query Compilers for Diverse Workloads