@Override
  public void analyzeInternal(ASTNode root) throws SemanticException {
    String connectorName = unescapeIdentifier(root.getChild(0).getText());
    boolean ifExists = root.getFirstChildWithType(HiveParser.TOK_IFEXISTS) != null;

    DataConnector connector = getDataConnector(connectorName, !ifExists);
    if (connector == null) {
      return;
    }

    inputs.add(new ReadEntity(connector));
    // Neither DummyTxnManager nor DbTxnManageer acquire any locks with `DATACONNECTOR` type
    outputs.add(new WriteEntity(connector, WriteEntity.WriteType.DDL_NO_LOCK));

    DropDataConnectorDesc desc = new DropDataConnectorDesc(connectorName, ifExists);
    rootTasks.add(TaskFactory.get(new DDLWork(getInputs(), getOutputs(), desc)));
  }
Analyzer for data connector dropping commands.
ql/src/java/org/apache/hadoop/hive/ql/ddl/dataconnector/drop/DropDataConnectorAnalyzer.java