You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ji...@apache.org on 2019/02/28 06:18:35 UTC

[flink] branch master updated: [hotfix][docs] Add that LIMIT requires ORDER BY.

This is an automated email from the ASF dual-hosted git repository.

jincheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new be9f030  [hotfix][docs] Add that LIMIT requires ORDER BY.
be9f030 is described below

commit be9f0307d678adfe2040ac82cc71954a3de15ad4
Author: Fabian Hueske <fh...@apache.org>
AuthorDate: Mon Feb 18 13:51:28 2019 +0100

    [hotfix][docs] Add that LIMIT requires ORDER BY.
    
    This closes #7737
---
 docs/dev/table/sql.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/dev/table/sql.md b/docs/dev/table/sql.md
index f1ef301..18ade21 100644
--- a/docs/dev/table/sql.md
+++ b/docs/dev/table/sql.md
@@ -722,9 +722,11 @@ ORDER BY orderTime
         <span class="label label-primary">Batch</span>
       </td>
       <td>
+<b>Note:</b> The LIMIT clause requires an ORDER BY clause. 
 {% highlight sql %}
 SELECT *
 FROM Orders
+ORDER BY orderTime
 LIMIT 3
 {% endhighlight %}
       </td>