Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Non-deterministic UDF functions is used mutiple times , the result is different.
Table tm = tableEnv.sqlQuery("select name, RAND_INTEGER(10) as sample , sex from myhive_staff"); tableEnv.registerTable("tmp", tm); tableEnv.sqlUpdate("insert into sinktable select * from tmp where sample >= 8"); }
RAND_INTEGER() function is used for `RAND_INTEGER(10) as sample` when sink,
which lead to inconsistent result.
Attachments
Attachments
Issue Links
- is duplicated by
-
FLINK-20887 Non-deterministic functions return different values even if it is referred with the same column name
- Resolved