public void alterTableExecuteOperation(Table table, AlterTableExecuteSpec executeSpec) throws HiveException {
    try {
      HiveStorageHandler storageHandler = Optional.ofNullable(createStorageHandler(table.getTTable())).orElseThrow(() ->
          new UnsupportedOperationException(String.format("ALTER EXECUTE is not supported for table %s", table.getTableName())));
      storageHandler.executeOperation(table, executeSpec);
    } catch (MetaException e) {
      throw new HiveException(e);
    }
  }
Get Default constraints associated with the table that are enabled

@param dbName Database Name
@param tblName Table Name
@return Default constraints associated with the table.
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java