Skip to content

Commit

Permalink
fix the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
goldmedal committed Dec 24, 2024
1 parent 7b6c37f commit b2654df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions datafusion/sql/src/unparser/extension_unparser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ pub trait UserDefinedLogicalNodeUnparser {
/// This method is called when the custom logical node is part of a statement.
/// e.g. `SELECT * FROM custom_logical_node`
///
/// The return value should be [UnparseResult::WithinStatement] if the custom logical node was successfully unparsed.
/// Otherwise, return [UnparseResult::Original].
/// The return value should be [UnparseWithinStatementResult::Modified] if the custom logical node was successfully unparsed.
/// Otherwise, return [UnparseWithinStatementResult::Unmodified].
fn unparse(
&self,
_node: &dyn UserDefinedLogicalNode,
Expand All @@ -44,8 +44,8 @@ pub trait UserDefinedLogicalNodeUnparser {
///
/// This method is called when the custom logical node is a custom statement.
///
/// The return value should be [UnparseResult::Statement] if the custom logical node was successfully unparsed.
/// Otherwise, return [UnparseResult::Original].
/// The return value should be [UnparseToStatementResult::Modified] if the custom logical node was successfully unparsed.
/// Otherwise, return [UnparseToStatementResult::Unmodified].
fn unparse_to_statement(
&self,
_node: &dyn UserDefinedLogicalNode,
Expand Down

0 comments on commit b2654df

Please sign in to comment.