LOG.info( "loading ddl from: {}", getOptions().getDDL() );
SchemaCatalogManager catalogManager = platformBroker.getCatalogManager();
DDLParser parser = new DDLParser( catalogManager, schemaName, protocolName, formatName );
try
{
List<DDLTable> commands = parser.parse( new File( getOptions().getDDL() ) );
LOG.info( "found {} commands", commands.size() );
parser.execute( commands );
}
catch( IOException exception )
{
throw new IllegalArgumentException( "unable to read file: " + getOptions().getDDL(), exception );
}