alibaba / alibaba/nquery

Support for sub-queries?

Open
#23 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

This fails to parse: `select i from (select MAX(i) AS i FROM foo`:

```
module.exports.result.SyntaxError {name: "SyntaxError", expected: Array(3), found: "(", message: "Expected "$", [ \t\n\r] or [A-Za-z_] but "(" found.", offset: 14, …}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files, tests, or entry points are named. Reproduce the reported query and locate the SQL parser responsible for rejecting the opening parenthesis; done means the sub-query form parses successfully without the reported SyntaxError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, sql
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.