Description
I noticed that the code generation of SafeProjection failed in the existing test (https://issues.apache.org/jira/browse/SPARK-32828) but it passed because FALLBACK was set at CODEGEN_FACTORY_MODE (by default) in SharedSparkSession. To get aware of these failures, I think its worth setting CODEGEN_ONLY at CODEGEN_FACTORY_MODE.