@Override
  public void analyzeInternal(ASTNode root) throws SemanticException {
    String connectorName = unescapeIdentifier(root.getChild(0).getText());

    Map<String, String> dbProps = null;
    for (int i = 1; i < root.getChildCount(); i++) {
      ASTNode childNode = (ASTNode) root.getChild(i);
      if (childNode.getToken().getType() == HiveParser.TOK_DATACONNECTORPROPERTIES) {
        dbProps = getProps((ASTNode) childNode.getChild(0));
        break;
      } else {
        throw new SemanticException("Unrecognized token in ALTER CONNECTOR statement");
      }
    }

    AlterDataConnectorSetPropertiesDesc desc = new AlterDataConnectorSetPropertiesDesc(connectorName, dbProps);
    addAlterDataConnectorDesc(desc);
  }
Analyzer for connector set properties commands.
ql/src/java/org/apache/hadoop/hive/ql/ddl/dataconnector/alter/properties/AlterDataConnectorSetPropertiesAnalyzer.java