}
private void runSQL(String sql) {
try{
DrillSqlWorker sqlWorker = new DrillSqlWorker(context);
Pointer<String> textPlan = new Pointer<>();
PhysicalPlan plan = sqlWorker.getPlan(sql, textPlan);
fragmentManager.getStatus().setPlanText(textPlan.value);
runPhysicalPlan(plan);
}catch(Exception e){
fail("Failure while parsing sql.", e);
}