[
https://issues.apache.org/jira/browse/BEAM-7051?focusedWorklogId=226744&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-226744
]
ASF GitHub Bot logged work on BEAM-7051:
----------------------------------------
Author: ASF GitHub Bot
Created on: 12/Apr/19 16:03
Start Date: 12/Apr/19 16:03
Worklog Time Spent: 10m
Work Description: kennknowles commented on pull request #8290:
[BEAM-7051] Support LIMIT OFFSET
URL: https://github.com/apache/beam/pull/8290#discussion_r274970742
##########
File path:
sdks/java/extensions/sql/src/test/java/org/apache/beam/sdk/extensions/sql/impl/rel/BeamSortRelTest.java
##########
@@ -212,6 +217,20 @@ public void testOrderBy_nullsLast() throws Exception {
pipeline.run().waitUntilFinish();
}
+ @Test
+ public void testOrderBy_with_offset2() throws Exception {
+ Schema schema = Schema.builder().addField("count_star",
Schema.FieldType.INT64).build();
+
+ String sql =
+ "INSERT INTO COUNT_TABLE(count_star) "
+ + "SELECT COUNT(*) FROM (SELECT * FROM "
+ + "(SELECT 1 UNION ALL SELECT 2 UNION ALL SELECT 3) LIMIT 3 OFFSET
1)";
Review comment:
If there is no ORDER BY, then the particular elements that show up in the
LIMIT / OFFSET are not deterministic, right?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 226744)
> Support LIMIT OFFSET
> --------------------
>
> Key: BEAM-7051
> URL: https://issues.apache.org/jira/browse/BEAM-7051
> Project: Beam
> Issue Type: Bug
> Components: dsl-sql
> Reporter: Rui Wang
> Assignee: Rui Wang
> Priority: Major
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)