RussellSpitzer commented on a change in pull request #2460:
URL: https://github.com/apache/iceberg/pull/2460#discussion_r612565618
##########
File path:
spark3-extensions/src/main/scala/org/apache/spark/sql/catalyst/utils/RewriteRowLevelOperationHelper.scala
##########
@@ -103,7 +103,7 @@ trait RewriteRowLevelOperationHelper extends
PredicateHelper with Logging {
val scan = scanBuilder.asIceberg.withMetadataColumns(FILE_NAME_COL,
ROW_POS_COL).build()
val outputAttrs = toOutputAttrs(scan.readSchema(), tableAttrs)
- val scanRelation = DataSourceV2ScanRelation(table, scan, outputAttrs)
+ val scanRelation = DataSourceV2ScanRelation(relation, scan, outputAttrs)
Review comment:
This is our big 3.0 vs 3.1 change right? So here is where we could
dynamically lookup the DSV2ScanRelation constructor
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]