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

[STAL-2732] feat: add SQL support #495

Merged
merged 1 commit into from
Aug 19, 2024
Merged

[STAL-2732] feat: add SQL support #495

merged 1 commit into from
Aug 19, 2024

Conversation

amaanq
Copy link
Collaborator

@amaanq amaanq commented Aug 19, 2024

What problem are you trying to solve?

Currently, we do not support SQL files. We need a way to parse and query SQL files, but we do not currently fetch and build an SQL grammar.

What is your solution?

Add the SQL grammar to the analyzer itself, which is fetched from https://github.com/DerekStride/tree-sitter-sql. This will allow us (and customers down the line) to begin writing rules targeting SQL files.

Alternatives considered

What the reviewer should know

The SQL grammar repository does not generate and commit the parser.c file on the main branch, but rather the gh-pages branch, so the commit being used does not exist on the main branch - this is expected

@amaanq amaanq requested a review from a team as a code owner August 19, 2024 16:29
@amaanq amaanq requested a review from jacobotb August 19, 2024 16:29
@amaanq amaanq changed the title feat: add SQL support [STAL-2732] feat: add SQL support Aug 19, 2024
@amaanq amaanq merged commit de0611d into main Aug 19, 2024
64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants