Error highlighting in query strings #12345
Unanswered
renzobautista
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I'm currently using DataFusion to generate logical plans from a user-inputted SQL query. I was wondering if it's possible to analyze a SQL query string to identify errors and their corresponding locations (line number/column). Using
SessionContext::sql_with_options
, I am able to get a single error, but it doesn't include location within the query string.Ideally, I'd like to be able to get all errors and locations, for the purposes of highlighting in a text editor -- both syntactic and plan/schema errors.
Beta Was this translation helpful? Give feedback.
All reactions