Thanks for driving this Timo The FLIP seems reasonable to me
I have one minor question/clarification do I understand it correct that after this FLIP we can execute of `typeof` against result of `OBJECT_OF` for instance SELECT typeof(OBJECT_OF( 'com.example.User', 'name', 'Bob', 'age', 42 )); should return `STRUCTURED<'com.example.User', name STRING, age INT>` ? On Tue, Apr 22, 2025 at 10:57 AM Timo Walther <twal...@apache.org> wrote: > > Hi everyone, > > I would like to ask again for feedback on this FLIP. It is a rather > small change but with big impact on usability for structured data. > > Are there any objections? Otherwise I would like to continue with voting > soon. > > Thanks, > Timo > > On 10.04.25 07:54, Timo Walther wrote: > > Hi everyone, > > > > I would like to start a discussion about FLIP-520: Simplify > > StructuredType handling [1]. > > > > Flink SQL already supports structured types in the engine, serializers, > > UDFs, and connector interfaces. However, currently only Table API was > > able to make use of them. While UDFs can take objects as input and > > return types, it is actually quite inconvenient to use them in > > transformations. > > > > This FLIP fixes some immediate blockers in the use of structured types. > > > > Looking forward to feedback. > > > > Cheers, > > Timo > > > > > > [1] https://cwiki.apache.org/confluence/display/FLINK/ > > FLIP-520%3A+Simplify+StructuredType+handling > > > -- Best regards, Sergey