@Test
  public void testCreateDatabase() throws ParseException {
    parse("create database `db~!@#$%^&*(),<>`");
    parse("use `db~!@#$%^&*(),<>`");
  }
Parser tests special character in table names.
parser/src/test/org/apache/hadoop/hive/ql/parse/TestSpecialCharacterInTableNames.java