google / google/googlesql

Analyze queries with DECLARE

Open
#139 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
2.6k
Forks
260
PR merge metrics
No merged PRs in 30d

Description

Does the analyzer support queries that contain DECLARE statements? Im getting "unexpected token: DECLARE" errors when running it.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the analyzer error with a query containing a DECLARE statement, then trace the analyzer entry point where the unexpected token is reported. No file or test is named in the issue, so locate the relevant query-analysis code and add coverage showing that DECLARE-containing queries are handled without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, sql
Domain
compilers, 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.