public static List<String> getHashKeys(HoodieKey hoodieKey, String indexKeyFields) {
    return getHashKeys(hoodieKey.getRecordKey(), indexKeyFields);
  }
@Test
  public void testGetHashKeys() {
    BucketIdentifier identifier = new BucketIdentifier();
    List<String> keys = identifier.getHashKeys(new HoodieKey("abc", "partition"), "");
    assertEquals(1, keys.size());
    assertEquals("abc", keys.get(0));

    keys = identifier.getHashKeys(new HoodieKey("f1:abc", "partition"), "f1");
    assertEquals(1, keys.size());
    assertEquals("abc", keys.get(0));

    keys = identifier.getHashKeys(new HoodieKey("f1:abc,f2:bcd", "partition"), "f2");
    assertEquals(1, keys.size());
    assertEquals("bcd", keys.get(0));

    keys = identifier.getHashKeys(new HoodieKey("f1:abc,f2:bcd", "partition"), "f1,f2");
    assertEquals(2, keys.size());
    assertEquals("abc", keys.get(0));
    assertEquals("bcd", keys.get(1));

    keys = identifier.getHashKeys(new HoodieKey("f1:abc,f2:bcd,efg", "partition"), "f1,f2");
    assertEquals(3, keys.size());
    assertEquals("abc", keys.get(0));
    assertEquals("bcd", keys.get(1));
    assertEquals("efg", keys.get(2));
  }