Fokko commented on issue #7226:
URL: https://github.com/apache/iceberg/issues/7226#issuecomment-1603932406

   Was able to chase this down. Looks like the catalog is not passed down to 
the execution. 
   
   ```scala
       // TODO (SPARK-27484): we should add the writing node before the plan is 
analyzed.
       sink match {
         case s: SupportsWrite =>
           val relationOpt = plan.catalogAndIdent.map {
             case (catalog, ident) => DataSourceV2Relation.create(s, 
Some(catalog), Some(ident))
           }
           WriteToMicroBatchDataSource(
             relationOpt,
             table = s,
             query = _logicalPlan,
             queryId = id.toString,
             extraOptions,
             outputMode)
   ```
   
   The `relationOpt` is `None`


-- 
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]

Reply via email to