forked from apache/datafusion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add related source code locations to errors (apache#13664)
* Reset branch to no changes other than SqlRel * feat: improve `Diagnostic` ergonomics * feat: 'table not found' diagnostic in `SqlToRel` * feat: unresolved fields * feat: union with different number of columns * feat: `Spans` * feat: adjust field not found error * feat: incompatible types in binary expr * fix: tests not compiling * feat: ambiguous column * feat: possible references * feat: group by * chore: fmt * feat: relay `Spans` in `create_col_from_scalar_expr` * chore: cargo check * chore: cargo fmt * feat: diagnostic can only be either error or warning * feat: simplify to one `Diagnostic` per error * test: add tests * chore: add license headers * chore: update CLI lockfile * chore: taplo format * fix: doctest * chore: configs.md * fix: test * fix: clippy, by removing smallvec * fix: update slt * feat: support all binary expressions * refactor: move diagnostic tests to datafusion-sql * chore: format * fix: tests * feat: pr feedback * fix: ci checks --------- Co-authored-by: Andrew Lamb <[email protected]>
- Loading branch information
1 parent
bccf94b
commit 866843b
Showing
45 changed files
with
1,187 additions
and
229 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.