@Test
  public void testDeleteNoWhere() throws ParseException {
    ASTNode ast = parse("DELETE FROM src");
    Assert.assertEquals("AST doesn't match",
      "(tok_delete_from " +
        "(tok_tabname src))", ast.toStringTree());
  }
various Parser tests for INSERT/UPDATE/DELETE
parser/src/test/org/apache/hadoop/hive/ql/parse/TestIUD.java