This is an automated email from the ASF dual-hosted git repository.
agrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/master by this push:
new 0fc7297d4 MINOR: add df.to_unoptimized_plan() to docs, remove
erroneous comment (#3348)
0fc7297d4 is described below
commit 0fc7297d4f7f93b152ab48a662cd37ef6b944066
Author: kmitchener <[email protected]>
AuthorDate: Fri Sep 2 19:26:29 2022 -0400
MINOR: add df.to_unoptimized_plan() to docs, remove erroneous comment
(#3348)
* MINOR: add df.to_unoptimized_plan() to docs, remove erroneous comment
* npx prettier
---
datafusion/core/src/dataframe.rs | 1 -
docs/source/user-guide/dataframe.md | 13 +++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/datafusion/core/src/dataframe.rs b/datafusion/core/src/dataframe.rs
index cf7803494..8f2759f53 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 UX
self.plan.clone()
}
diff --git a/docs/source/user-guide/dataframe.md
b/docs/source/user-guide/dataframe.md
index d21be0e42..4c370b6bf 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.
|