Re: Dot notation not working for accessing case classes nested fields

2017-09-15 Thread Federico D'Ambrosio
Great, thanks! The fact that it's actually written on the documentation is really misleading. Thank you very much for your response Federico D'Ambrosio Il 15 set 2017 13:26, "Gábor Gévay" ha scritto: > Hi Federico, > > Sorry, nested field expressions are not supported in

Re: Dot notation not working for accessing case classes nested fields

2017-09-15 Thread Gábor Gévay
Hi Federico, Sorry, nested field expressions are not supported in these methods at the moment. I have created a JIRA issue for this: https://issues.apache.org/jira/browse/FLINK-7629 I think this should be easy to fix, as all the infrastructure for supporting this is already in place. I'll try to

Dot notation not working for accessing case classes nested fields

2017-09-14 Thread Federico D'Ambrosio
Hi, I have the following case classes: case class Event(instantValues: InstantValues) case class InstantValues(speed: Int, altitude: Int, time: DateTime) in a DataStream[Event] I'd like to perform a maxBy operation on the field time of instantValue for each event and according to the docs here