You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/09/14 06:03:24 UTC

[GitHub] [incubator-doris] stalary commented on issue #6642: [Feature] support limit offset, size use default order

stalary commented on issue #6642:
URL: https://github.com/apache/incubator-doris/issues/6642#issuecomment-918833421


   ```
   CREATE TABLE `test` (
     `courseId` int(11) NOT NULL COMMENT "",
     `lessonId` int(11) NOT NULL COMMENT "",
     `type` int(11) REPLACE_IF_NOT_NULL NULL COMMENT ""
   ) ENGINE=OLAP
   AGGREGATE KEY(`courseId`, `lessonId`)
   COMMENT "测试"
   DISTRIBUTED BY HASH(`courseId`) BUCKETS 150
   PROPERTIES (
   "replication_num" = "3",
   "in_memory" = "false",
   "storage_format" = "V2"
   );
   ```
   
   select * from test limit 10
   select * from test limit 1, 10 (default order by courseId)


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org