Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LIMIT is not supported by the parser #9

Open
GoogleCodeExporter opened this issue Jan 31, 2016 · 0 comments
Open

LIMIT is not supported by the parser #9

GoogleCodeExporter opened this issue Jan 31, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

The BQL 
SELECT COUNT(*), word FROM [Table] WHERE word CONTAINS 'th' GROUP_BY word LIMIT 
5;

is parsed into AST:


(N_SELECT_STATEMENT (N_FROM (N_TABLE_NAME [Table])) (N_SELECT (N_CREATE_COLUMN 
(N_EXPRESSION (N_CALL_PARAMS (N_EXPRESSION (N_COLUMN (N_COLUMN_NAME *))) 
(N_COLUMN (N_COLUMN_NAME COUNT))))) (N_CREATE_COLUMN (N_EXPRESSION (N_COLUMN 
(N_COLUMN_NAME word))))) (N_WHERE (N_EXPRESSION (N_CONTAINS (N_COLUMN 
(N_COLUMN_NAME word)) (N_STRING 'th')))))

And LIMIT is never mentioned

Original issue reported on code.google.com by dgisr...@gmail.com on 16 Jan 2011 at 3:32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant