Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
Like `Expression`, this issue adds `sql` function for `LogicalPlan` and `NonSQLPlan` trait. The method will be `abstract` method. All logical plan should implement that or use trait `NonSQLPlan` explicitly.
/** * Returns SQL representation of this plan. For the plans extending [[NonSQLPlan]], * this method may return an arbitrary user facing string. */ def sql: String
Attachments
Issue Links
- relates to
-
SPARK-18209 More robust view canonicalization without full SQL expansion
- Resolved
- links to