package analysis
- Alphabetic
- By Inheritance
- analysis
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class EvalSubqueriesForTimeTravel extends Rule[LogicalPlan]
- class InvokeProcedures extends Rule[LogicalPlan]
- class ResolveDataSource extends Rule[LogicalPlan]
Resolves the relations created from the DataFrameReader and DataStreamReader APIs.
- class ResolveSessionCatalog extends Rule[LogicalPlan] with LookupCatalog
Converts resolved v2 commands to v1 if the catalog is the session catalog.
Converts resolved v2 commands to v1 if the catalog is the session catalog. Since the v2 commands are resolved, the referred tables/views/functions are resolved as well. This rule uses qualified identifiers to construct the v1 commands, so that v1 commands do not need to qualify identifiers again, which may lead to inconsistent behavior if the current database is changed in the middle.
- class ResolveTranspose extends Rule[LogicalPlan]
Rule that resolves and transforms an
UnresolvedTranspose
logical plan into aTranspose
logical plan, which effectively transposes a DataFrame by turning rows into columns based on a specified index column.Rule that resolves and transforms an
UnresolvedTranspose
logical plan into aTranspose
logical plan, which effectively transposes a DataFrame by turning rows into columns based on a specified index column.The high-level logic for the transpose operation is as follows:
- If the index column is not provided, the first column of the DataFrame is used as the default index column.
- The index column is cast to
StringType
to ensure consistent column naming. - Non-index columns are cast to a common data type, determined by finding the least common type that can accommodate all non-index columns.
- The data is sorted by the index column, and rows with
null
index values are excluded from the transpose operation. - The transposed DataFrame is constructed by turning the original rows into columns, with the index column values becoming the new column names and the non-index column values populating the transposed data.
- type Resolver = (String, String) => Boolean
Value Members
- val caseInsensitiveResolution: (String, String) => Boolean
- val caseSensitiveResolution: (String, String) => Boolean
- def withPosition[A](t: TreeNode[_])(f: => A): A
- object ReplaceCharWithVarchar extends Rule[LogicalPlan]