Description
SPARK-35065 use QueryCompilationErrors.invalidFunctionArgumentsError instead of throw new AnalysisException(...) for register function in UDFRegistration, but the script used to generate xx has not been updated, so this pr update the script.