Apache DataFusion SQL Query Engine
MINOR: add df.to_unoptimized_plan() to docs, remove erroneous comment (#3348)
kmitchener0fc7297d4f7f
diff --git a/datafusion/core/src/dataframe.rs b/datafusion/core/src/dataframe.rsindex cf7803494a..8f2759f53a 100644--- a/datafusion/core/src/dataframe.rs+++ b/datafusion/core/src/dataframe.rs@@ -522,7 +522,6 @@ impl DataFrame {/// Return the unoptimized logical plan represented by this DataFrame.pub fn to_unoptimized_plan(&self) -> LogicalPlan {- // Optimize the plan first for better UXself.plan.clone()}diff --git a/docs/source/user-guide/dataframe.md b/docs/source/user-guide/dataframe.mdindex d21be0e426..4c370b6bf2 100644--- a/docs/source/user-guide/dataframe.md+++ b/docs/source/user-guide/dataframe.md@@ -96,9 +96,10 @@ These methods execute the logical plan represented by the DataFrame and either c## Other DataFrame Methods-| Function | Notes |-| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |-| explain | Return a DataFrame with the explanation of its plan so far. |-| registry | Return a `FunctionRegistry` used to plan udf's calls. |-| schema | Returns the schema describing the output of this DataFrame in terms of columns returned, where each column has a name, data type, and nullability attribute. |-| to_logical_plan | Return the logical plan represented by this DataFrame. |+| Function | Notes |+| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |+| explain | Return a DataFrame with the explanation of its plan so far. |+| registry | Return a `FunctionRegistry` used to plan udf's calls. |+| schema | Returns the schema describing the output of this DataFrame in terms of columns returned, where each column has a name, data type, and nullability attribute. |+| to_logical_plan | Return the optimized logical plan represented by this DataFrame. |+| to_unoptimized_plan | Return the unoptimized logical plan represented by this DataFrame. |