final String statement = request.getStatement();
final QueryPart parseTree = connection.parseStatement(statement);
final DrillThrough drillThrough = (DrillThrough) parseTree;
final Query query = drillThrough.getQuery();
query.setResultStyle(ResultStyle.LIST);
final Result result = connection.execute(query);
// cell [0, 0] in a 2-dimensional query, [0, 0, 0] in 3 dimensions, etc.
final int[] coords = new int[result.getAxes().length];
Cell dtCell = result.getCell(coords);
if (!dtCell.canDrillThrough()) {