bug fixed for sql parser. issue #1507

This commit is contained in:
wenshao
2016-11-23 23:45:41 +08:00
parent 3b21aba9c1
commit b0c791e007
2 changed files with 28 additions and 3 deletions
@@ -79,9 +79,10 @@ public class OdpsSelectQueryBlock extends SQLSelectQueryBlock {
@Override
public boolean equals(Object obj) {
if (this == obj) return true;
if (obj == null) return false;
if (getClass() != obj.getClass()) return false;
if (!super.equals(obj)) {
return false;
}
OdpsSelectQueryBlock other = (OdpsSelectQueryBlock) obj;
if (limit == null) {
if (other.limit != null) return false;