Matan Perelmuter
01/25/2024, 11:01 AMDataStreamFoo foo = env.fromElements(new Foo(List.of("a", "b")));
tableEnv.createTemporaryView("my_view", foo);
tableEnv.toDataStream(tableEnv.sqlQuery("SELECT * from my_view"), Foo.class).print();
with exception:
Query schema: [list: RAW('java.util.List', '...')]
Sink schema: [list: ARRAYSTRING]
any idea why when moving from DS to table it recognize it as RAW, but when moving from table to DS it's recognized as ARRAYSTRING?Matan Perelmuter
01/25/2024, 11:02 AM