Re:Re: random fetch

2020-09-17 Thread Chenyang Tang
Okey, sorry and thanks. At 2020-09-17 15:02:44, "Timo Walther" wrote: >Hi Chenyang, > >we will relax this constraint in 1.12. The issue has alsready been >implemented: https://issues.apache.org/jira/browse/FLINK-18569 > >Until then, you can use SQL. It supports FETCH and LIMIT al

Re: random fetch

2020-09-17 Thread Timo Walther
Hi Chenyang, we will relax this constraint in 1.12. The issue has alsready been implemented: https://issues.apache.org/jira/browse/FLINK-18569 Until then, you can use SQL. It supports FETCH and LIMIT already without ordering. Btw please use the user@ mailing list for questions of this kind.

random fetch

2020-09-16 Thread Chenyang Tang
Hi: As a user, i have a question: How can i use Table API to get a part of resurt randomly It seem i must use orderBy() before fetch(), that will sort my data, it is not what i want.