Github user unsleepy22 commented on the issue:
https://github.com/apache/flink/pull/2182
@wuchong although I agree this bug could be fixed by adding
`operands.nonEmpty`, there is a problem in generated code, specifically, an
undeclared variable will be generated like this:
```
long result$16 =
((org.apache.flink.api.java.table.TumblingWindowUDf)
udfDict.get("tumblingWin")).
eval()
;
if (isNull$17) {
out.setField(1, null);
}
else {
out.setField(1, result$16);
}
```
I guess it's generated in `GeneratedExpression`, for simplicity I reverted
my change.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---