Skip to content

Commit

Permalink
Add description of method and change access modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
urosstan-db committed Aug 7, 2024
1 parent d791a98 commit 327bf7a
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,15 @@ private[sql] object DataSourceV2Strategy extends Logging {
None
}

private def withProjectAndFilter(
/**
* Creates new spark plan that should apply given filters and projections to given scan node
* @param project Projection list that should be output of returned spark plan
* @param filters Filter list that should be applied to scan node
* @param scan Scan node
* @param needsUnsafeConversion Value that indicates whether unsafe conversion is needed
* @return SparkPlan tree composed of scan node and eventually filter/project nodes
*/
protected[sql] def withProjectAndFilter(
project: Seq[NamedExpression],
filters: Seq[Expression],
scan: LeafExecNode,
Expand Down

0 comments on commit 327bf7a

Please sign in to comment.