@Test
public void testConvertNested() {

    List<String> streams = Collections.singletonList("kafka_stream_1");
    String res = streamCatalogService.convertNested(streams, "f1.g.h = 'A' and  kafka_stream_1.f2[5].j = 100");
    System.out.println(res);
    assertEquals("f1['g']['h'] = 'A' and  kafka_stream_1.f2[5]['j'] = 100", res);
    res = streamCatalogService.convertNested(streams, "kafka_stream_1.f2.x.y = 100");
    assertEquals("kafka_stream_1.f2['x']['y'] = 100", res);
    res = streamCatalogService.convertNested(streams, "f1.f2.x.y = 100");
    assertEquals("f1['f2']['x']['y'] = 100", res);
}