[SPARK-3652] [SQL] upgrade spark sql hive version to 0.13.1

Now spark sql hive version is 0.12.0 and do not support 0.13.1 because of some api level changes in hive new version. 
Since hive has backwards compatibility, this PR just upgrade the hive version to 0.13.1(compile this PR against 0.12.0 will get error), i think this is ok for users and we also do not need to support different version of hive .

Notes:
1. package cmd not changed, sbt/sbt -Phive assembly will get the assembly jar with hive 0.13.1
2. this PR use org.apache.hive since there is not a shaded one of org.spark-project.hive for 0.13.1
3. i regenerate golden answer since change of sql query result