Object params[] = new Object[]{ "ABC" };
Integer base_partition = new Random().nextInt(NUM_PARTITIONS);
// Double check that this is always a distributed query
AbstractPlanNode orig = PlanNodeUtil.getRootPlanNodeForStatement(catalog_stmt, false);
assertNotNull(orig);
PartitionSet orig_partitions = new PartitionSet();
p_estimator.getAllPartitions(orig_partitions, catalog_stmt, params, base_partition);
assertNotNull(orig_partitions);
assertEquals(NUM_PARTITIONS, orig_partitions.size());