Re: Group by with null keys

2018-11-20 Thread Timo Walther
I assigned the issue to me. Because I wanted to that for a very long time. I already did some prerequisite work for the documentation in `org.apache.flink.api.common.typeinfo.Types`. Thanks, Timo Am 20.11.18 um 11:44 schrieb Flavio Pompermaier: Sure! The problem is that Dataset API does an imp

Re: Group by with null keys

2018-11-20 Thread Flavio Pompermaier
Sure! The problem is that Dataset API does an implicit conversion to Tuples during chaining and I didn't found any documentation about this (actually I was pleasantly surprised by the fact that the Table API were supporting aggregates on null values..). Here it is: https://issues.apache.org/jira/

Re: Group by with null keys

2018-11-20 Thread Fabian Hueske
Hi Flavio, Whether groupBy with null values works or not depends on the type of the key, or more specifically on the TypeComparator and TypeSerializer that are used to serialize, compare, and hash the key type. The processing engine supports null values If the comparator and serializer can handle

Group by with null keys

2018-11-19 Thread Flavio Pompermaier
Hi to all, we wanted to do a group by on elements that can contains null values and we discovered that Table API support this while Dataset API does not. Is this documented somehwere on the Flink site? Best, Flavio --- PS: you can test this wit