beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xu Mingmin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BEAM-2255) support ORDER BY clause
Date Tue, 18 Jul 2017 21:46:00 GMT

     [ https://issues.apache.org/jira/browse/BEAM-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xu Mingmin updated BEAM-2255:
-----------------------------
    Fix Version/s:     (was: 2.1.0)
                   2.2.0

> 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.2.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.4.14#64029)

Mime
View raw message