mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved hive sql parser
This commit is contained in:
@@ -61,4 +61,8 @@ public class SQLSubPartitionByHash extends SQLSubPartitionBy {
|
||||
return x;
|
||||
}
|
||||
|
||||
public boolean isPartitionByColumn(long columnNameHashCode64) {
|
||||
return expr instanceof SQLName
|
||||
&& ((SQLName) expr).nameHashCode64() == columnNameHashCode64;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user