-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Add related source code locations to errors #13664
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
Changes from all commits
13ad9db
4603b35
86e1722
c3532c1
91f4e3c
85db8af
3f4ddd2
b4df859
e4652d7
d2e70ad
e44cb9f
31772ed
c15d8f5
09d7065
1d5c647
5fdc10e
f63a493
6f6722d
9a8ef78
fd46dce
360ac20
3dd66fc
13c4c9d
fe74dce
829430a
2772c6b
1b35207
243b788
e98694b
e847477
60a9f8b
f178db0
1308b85
51dd141
b5e326c
1cd0f3e
20e9f61
e1e6ac5
7265bd2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -250,6 +250,11 @@ config_namespace! { | |
/// specified. The Arrow type system does not have a notion of maximum | ||
/// string length and thus DataFusion can not enforce such limits. | ||
pub support_varchar_with_length: bool, default = true | ||
|
||
/// When set to true, the source locations relative to the original SQL | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the idea that we will keep this off by default at first as we evaluate the impact it has on performance? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah and also until we produce diagnostics for more of the most common errors, or so I thought. Right now it's very few errors. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And that's okay I think, I wanted this PR to be more digestible and a PoC for what can be achieved with |
||
/// query (i.e. [`Span`](sqlparser::tokenizer::Span)) will be collected | ||
/// and recorded in the logical plan nodes. | ||
pub collect_spans: bool, default = false | ||
} | ||
} | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.