Included improvments form code review. Added test to check storage format of created hive table.