beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-2255) support ORDER BY clause
Date Wed, 17 May 2017 02:39:04 GMT

    [ https://issues.apache.org/jira/browse/BEAM-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16013425#comment-16013425
] 

ASF GitHub Bot commented on BEAM-2255:
--------------------------------------

Github user xumingming closed the pull request at:

    https://github.com/apache/beam/pull/3082


> support ORDER BY clause
> -----------------------
>
>                 Key: BEAM-2255
>                 URL: https://issues.apache.org/jira/browse/BEAM-2255
>             Project: Beam
>          Issue Type: New Feature
>          Components: dsl-sql
>            Reporter: James Xu
>            Assignee: James Xu
>             Fix For: 2.1.0
>
>
> Currently Beam does not have `global sort` support[1]. So we will implement a limited
version of `ORDER BY` using `org.apache.beam.sdk.transforms.Top` for now. So it will support
sql like:
> {code:sql}
> select * from t order by id desc limit 10;
> {code}
> but not support `ORDER BY` without a `limit`:
> {code:sql}
> select * from t order by id desc
> {code}
> and also not support `ORDER BY` with a `offset`:
> {code:sql}
> select * from t order by id desc limit 10, 10;
> {code}
> [1]. https://lists.apache.org/thread.html/bc0e65a3bb653b8fd0db96bcd4c9da5af71a71af5a5639a472167808@1464278191@%3Cdev.beam.apache.org%3E



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message