Commit Graph

1 Commits

Author SHA1 Message Date
Yongzhi Chen
a85b18503f IMPALA-7027: fix StringLiteral.localEquals()
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>
2019-08-22 05:03:03 +00:00