Description
If start field and end field are the same, parser doesn't take into account the sign before interval literal string. For example:
Works fine:
spark-sql> select interval -'1-1' year to month; -1-1
Incorrect result:
spark-sql> select interval -'1' year; 1-0