kazuyukitanimura commented on issue #11741:
URL: https://github.com/apache/iceberg/issues/11741#issuecomment-2537281522

   @sunny1154 I think you would need to specify the catalog in 
`TableIdentifier()`
   
   Otherwise, Spark tries to use `spark_catalog`
   
https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala#L192
   ```
     private def getCatalog(ident: CatalystIdentifier): Option[String] = {
       if (conf.getConf(SQLConf.LEGACY_NON_IDENTIFIER_OUTPUT_CATALOG_NAME)) {
         ident.catalog
       } else {
         
Some(format(ident.catalog.getOrElse(CatalogManager.SESSION_CATALOG_NAME)))
       }
     }
   ```


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