Details
Description
There are quite a few keywords[1] in Hive that cause ParseErrors when there is a column of the same name in the database (happened to me for "timestamp"). This is easily avoided as such words can be escaped with backticks. The same is done in HiveUtils. So the easiest solution would be to just escape everything.
[1] http://github.com/apache/hive/blob/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseDriver.java#L46-191
[2] http://github.com/apache/hive/blob/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveUtils.java#L122-127