Skip to content

Commit

Permalink
adds support for OFFSET keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
bbeaudreault committed Jan 17, 2017
1 parent 86a9a1c commit 2caa58a
Show file tree
Hide file tree
Showing 4 changed files with 434 additions and 401 deletions.
18 changes: 18 additions & 0 deletions data/test/tabletserver/exec_cases.txt
Expand Up @@ -43,6 +43,24 @@
"FullQuery": "select * from a limit 5"
}

# limit with offset arg
"select * from a limit 10, 5"
{
"PlanID": "PASS_SELECT",
"TableName": "a",
"FieldQuery": "select * from a where 1 != 1",
"FullQuery": "select * from a limit 10, 5"
}

# limit with offset keyword
"select * from a limit 5 offset 10"
{
"PlanID": "PASS_SELECT",
"TableName": "a",
"FieldQuery": "select * from a where 1 != 1",
"FullQuery": "select * from a limit 10, 5"
}

# cross-db
"select * from a.b"
{
Expand Down

0 comments on commit 2caa58a

Please sign in to comment.