Description
UnaryMinus/UnaryPositive function should support string type, same as hive:
$ bin/hive Logging initialized using configuration in jar:file:/home/wym/apache-hive-1.2.2-bin/lib/hive-common-1.2.2.jar!/hive-log4j.properties hive> select positive('-1.11'), negative('-1.11'); OK -1.11 1.11 Time taken: 1.937 seconds, Fetched: 1 row(s) hive>