String literals with the same value but different types
are not interchangeable. localEquals() should check
the type, similar to a cast expression.
Testing:
- Added String literals tests.
- Passed exhaustive tests.
Change-Id: I6a9dff514c2c4cc422343d1dfbd881917acca138
Reviewed-on: http://gerrit.cloudera.org:8080/14096
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>