OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Table API and AVG on dates


Hi Flavio,

You are right. Avg on dates is not supported. It requires numeric types. 
As a workaround, you can transform the datetime into a numeric type using an udf. 

Best, Hequn

On Wed, Oct 31, 2018 at 1:51 AM Flavio Pompermaier <pompermaier@xxxxxxxx> wrote:
Hi to all,
I'm using Flink 1.6.1 and it seems that average on dates is not supported..am I right?
Is there any effort in implementing it?

Best,
Flavio