Spark SQL developers, If you are trying to add new tests based on HiveComparisonTest and want to generate golden answer files with Hive 0.13.1, unfortunately, the setup work is quite different from that for Hive 0.12. We have updated SQL readme to include the new instruction for Hive 0.13.1. You can find it at the the section of "Other dependencies for developers" <https://github.com/apache/spark/tree/master/sql>.
Please let me know if you still see any issue after setup your environment based on this instruction. Thanks, Yin