private boolean isConstant(ASTNode node) {
    return CONSTANT_TYPES.contains(node.getToken().getType());
  }
Analyzer for set skewed location commands.
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/storage/skewed/AlterTableSetSkewedLocationAnalyzer.java