@Test
public void testSingleIndex() {

    String sql = "/*+TDDL_GROUP({groupIndex:12})*/select * from tab";
    GroupIndex index = GroupHintParser.convertHint2Index(sql);
    Assert.assertEquals(index.index, 12);
    Assert.assertEquals(index.failRetry, false);
}