urosstan-db commented on code in PR #45200:
URL: https://github.com/apache/spark/pull/45200#discussion_r1504284572
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/DataSourceV2Strategy.scala:
##########
@@ -116,6 +117,13 @@ class DataSourceV2Strategy(session: SparkSession) extends
Strategy with Predicat
val rdd = v1Relation.buildScan()
val unsafeRowRDD = DataSourceStrategy.toCatalystRDD(v1Relation, output,
rdd)
+ val tableIdentifier = v2Relation.identifier.map(_.asMultipartIdentifier)
match {
Review Comment:
We can potentially make implicit for DSV2Relation to try to get table
identifier, something like
`def asTableIdentifier(v2Relation: DataSourceV2Relation):
Option[TableIdentifier]`
should we?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]