28602861286228632864286528662867286828692870
break; } } if (match) { Partition p = db.getPartition(tbl, part, false); if (!p.canDrop()) { throw new HiveException("Table " + tbl.getTableName() + " Partition " + p.getName() + " is protected from being dropped"); }
28642865286628672868286928702871287228732874
28102811281228132814281528162817281828192820
} } } if (dropTbl.getPartSpecs() == null) { if (tbl != null && !tbl.canDrop()) { throw new HiveException("Table " + tbl.getTableName() + " is protected from being dropped"); } // We should check that all the partitions of the table can be dropped
32973298329933003301330233033304330533063307
"Cannot drop a base table with DROP VIEW"); } } } if (tbl != null && !tbl.canDrop()) { throw new HiveException("Table " + tbl.getTableName() + " is protected from being dropped"); } int partitionBatchSize = HiveConf.getIntVar(conf,
28952896289728982899290029012902290329042905
"Cannot drop a base table with DROP VIEW"); } } } if (tbl != null && !tbl.canDrop()) { throw new HiveException("Table " + tbl.getTableName() + " is protected from being dropped"); } // We should check that all the partitions of the table can be dropped
33403341334233433344334533463347334833493350
31483149315031513152315331543155315631573158
29672968296929702971297229732974297529762977
34163417341834193420342134223423342434253426