added compression option to hive handler