improved sql parser.

This commit is contained in:
wenshao
2017-08-01 19:05:31 +08:00
parent c2adc8bfd4
commit 544da04ee4
32 changed files with 489 additions and 4 deletions
@@ -52,4 +52,13 @@ public class SQLSubPartitionByHash extends SQLSubPartitionBy {
this.key = key;
}
public SQLSubPartitionByHash clone() {
SQLSubPartitionByHash x = new SQLSubPartitionByHash();
if (expr != null) {
x.setExpr(expr.clone());
}
x.key = key;
return x;
}
}