From b2654df5c5a158337c09e3b61b40a5c5059df17d Mon Sep 17 00:00:00 2001 From: Jax Liu Date: Tue, 24 Dec 2024 20:01:04 +0800 Subject: [PATCH] fix the doc --- datafusion/sql/src/unparser/extension_unparser.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/datafusion/sql/src/unparser/extension_unparser.rs b/datafusion/sql/src/unparser/extension_unparser.rs index d3161ced7b4c..f7deabe7c902 100644 --- a/datafusion/sql/src/unparser/extension_unparser.rs +++ b/datafusion/sql/src/unparser/extension_unparser.rs @@ -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, @@ -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,