Backport from hive-0.10 patch for HIVE-3090- Timestamps w/o fractional second lead to corrupted row (serde TimestampWritable bug)