fix a bug when inferring schema from an empty ORC file