}
}
protected void execute(QueryDef q, QueryOutputPrinter outP) throws WindowingException
{
QuerySpec qSpec = q.getSpec();
try
{
executor.execute(q, this);
}
finally
{
HiveTableDef hiveTable = q.getHiveTableDef();
if ( hiveTable instanceof HiveQueryDef )
{
String tableName = hiveTable.getHiveTableSpec().getTableName();
hiveQryExec.dropTable(tableName);
}
}
if ( qSpec.getOutput().getHiveTable() != null )
{
loadToOutputTable(q);
}
if (outP != null)