alibaba / alibaba/nquery

SyntaxError as being parsed

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
385
Forks
117
PR merge metrics
No merged PRs in 30d

Description

SyntaxError: Expected "FROM", "GROUP", "LIMIT", "ORDER", "UNION", "WHERE", WHITE_SPACE, or end of input but "A" found;
e.g. mysql is:
SELECT dd, Max(IF(stat_key = 'yys', stat_us, 0)) AS 'yys_users' FROM waf.t_cpkg WHERE stat_ty = 'waf_ty' GROUP BY dd;
could you please take a look, and update to fix the bug?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported syntax error with the MySQL query in the issue, then trace the SQL parsing entry point used by nquery. Investigate how the query's MySQL syntax is handled; done means the example parses without the reported error and existing behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, sql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.