apache / apache/datafusion-sqlparser-rs

Add line/column information consistently to every parser message.

Open
#179 4 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Rust
Stars
3.5k
Forks
772
Avg merge
4d 9h
Merged PRs (30d)
17

Description

It would be useful to have clear parser errors which have the position (line and column) printed.

Now for some errors there is information of where the error happened:

`Unterminated string literal at Line: {}, Col: {}`

For others, there isn't:

`Unexpected EOF while in a multi-line comment`

I think this would be a "good first issue" to work on, maybe I find some time to work on this soon.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the parser error messages, including “Unterminated string literal” and “Unexpected EOF while in a multi-line comment,” and inspect how line and column positions are currently attached. Audit the remaining parser messages and determine the tests covering them. Done means every parser message consistently includes line and column information.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.