Closed tomwhite closed 13 years ago
Jacob Rideout had forked Haivvreo a while ago and was doing some work and added this commit: d4eb1a625da91f1a73856849e3e2d0d6375fd4a8 I hadn't checked to see if that would work.
I thought about doing something similar, but I'm not sure it would work since (at least in some cases) Hive creates temporary files then moves them to the final after they are complete (see FileSinkOperator.FSPaths.commit()). Adding an extension would result in Hive not finding the files to move since they weren't named as Hive expected. However, I haven't tried this either. I'll comment on Jacob's commit.
HIVE-2457 has been committed now. I've tested Haivvreo with this change and I can successfully generate Avro tables whose files have the ".avro" extension.
+1. Thanks for doing this, Tom.
Jakob, you might be interested in this one too. See https://issues.apache.org/jira/browse/HIVE-2457 for the background and dependent Hive patch.
Cheers, Tom