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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to