Skip to content

[adhoc] Output error location when a query cannot be parsed. #2526

@ryzhyk

Description

@ryzhyk

We currently get a syntax error, e.g., ERROR: Error during query processing: SQL error: ParserError("Expected end of statement, found: in"). Can datafusion give us the line number as well?

Related to this, at least for this particular error, I'd prefer a cleaner error message, like "Error parsing query: expected end of statement, found: in" without the whole "ERROR: Error during query processing: SQL error: ParserError(" prefix.

Metadata

Metadata

Assignees

Labels

CLIFeldera CLI (fda) - related issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions