Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
gengliangwang committed May 27, 2021
1 parent a7e03aa commit b96b6c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class DataSourceV2Strategy(session: SparkSession) extends Strategy with Predicat
case PhysicalOperation(project, filters,
DataSourceV2ScanRelation(_, scan: LocalScan, output)) =>
val localScanExec = LocalTableScanExec(output, scan.rows().toSeq)
withProjectAndFilter(project, filters, localScanExec, needsUnsafeConversion = true) :: Nil
withProjectAndFilter(project, filters, localScanExec, needsUnsafeConversion = false) :: Nil

case PhysicalOperation(project, filters, relation: DataSourceV2ScanRelation) =>
// projection and filters were already pushed down in the optimizer.
Expand Down

0 comments on commit b96b6c5

Please sign in to comment.