Added: set hive.exec.script.allow.partial.consumption=true;
To script file generation.