Re: Table program cannot be compiled

Posted by Timo Walther on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Table-program-cannot-be-compiled-tp27852p27950.html

Hi Shahar,

yes the number of parameters should be the issue for a cannot compile
exception. If you moved most of the constants to a member in the
function, it should actually work.

Do you have a little reproducible example somewhere?

Thanks,
Timo



Am 16.05.19 um 19:59 schrieb shkob1:

> Hi Timo,
>
> Thanks for the link.
> Not sure i understand your suggestion though, is the goal here reducing the
> amount of parameters coming to the UDF? if thats the case i can maybe have
> the tag names there, but still need the expressions to get evaluated before
> entering the eval. Do you see this in a different way?
>
> I tried moving the tag names to be a member within the function instead of a
> parameter, but apparently i still have too many arguments.
>
> Let me know if this is not what you meant.
>
> Thanks!
> Shahar
>
>
>
> --
> Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/