Skip to content

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Feb 7, 2025

Which issue does this PR close?

Rationale for this change

@eliaperantoni added the nice DataFusionErrorBuilder in

It would be nice to have some documentation and examples on this structure to make it easier to use

What changes are included in this PR?

  1. Add documentation and examples

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added sql SQL Planner logical-expr Logical plan and expressions sqllogictest SQL Logic Tests (.slt) common Related to common crate labels Feb 7, 2025
@alamb alamb force-pushed the alamb/error_improvements branch from 79335d2 to fc06f59 Compare February 7, 2025 22:17
@github-actions github-actions bot removed sql SQL Planner logical-expr Logical plan and expressions sqllogictest SQL Logic Tests (.slt) labels Feb 7, 2025
@alamb alamb marked this pull request as ready for review February 7, 2025 22:36
Copy link
Contributor

@eliaperantoni eliaperantoni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful!

Copy link
Member

@jonahgao jonahgao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM👍

DiagnosticsIterator { head: self }.next()
}

/// Return an iterator this [`DataFusionError`] and any other
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it should be "Return an iterator over this ..."?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in 1da42a2

@alamb
Copy link
Contributor Author

alamb commented Feb 12, 2025

Thank you very much for the review @jonahgao

@alamb alamb added the documentation Improvements or additions to documentation label Feb 12, 2025
@alamb alamb merged commit 82461b7 into apache:main Feb 12, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Related to common crate documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants