dyrnq commented on issue #7442:
URL: https://github.com/apache/gravitino/issues/7442#issuecomment-2999192941

   > > Also, please advise, `spark.sql.catalog.hive_backend_catalog.prefix` 
**.prefix** mean, I can not fount in 
[org/apache/iceberg/spark/SparkCatalog](https://iceberg.apache.org/javadoc/latest/org/apache/iceberg/spark/SparkCatalog.html)
   > > This parameter(.prefix) does not appear in the manual. 
https://github.com/apache/iceberg/blob/main/docs/docs/spark-configuration.md?plain=1
   > > --conf spark.sql.catalog.default_rest_catalog.type=rest  
   > > --conf 
spark.sql.catalog.default_rest_catalog.uri=http://127.0.0.1:9001/iceberg/ 
   > > ...
   > > --conf spark.sql.catalog.hive_backend_catalog.type=rest  
   > > --conf 
spark.sql.catalog.hive_backend_catalog.uri=http://127.0.0.1:9001/iceberg/ 
   > > --conf spark.sql.catalog.hive_backend_catalog.prefix=hive_backend 
   > > ...
   > > --conf spark.sql.catalog.jdbc_backend_catalog.type=rest  
   > > --conf 
spark.sql.catalog.jdbc_backend_catalog.uri=http://127.0.0.1:9001/iceberg/ 
   > > --conf spark.sql.catalog.jdbc_backend_catalog.prefix=jdbc_backend \
   > 
   > `prefix` is used to define the URI path, Gravitino IRC used as catalog 
identifier. please refer to: 
https://github.com/apache/iceberg/blob/6e432fcb24fd55c9024a3192b17a364623886047/core/src/main/java/org/apache/iceberg/rest/ResourcePaths.java#L50
   
   TKS reply, 
   
   I don't know if `prefix` related about `org.apache.iceberg.rest.RESTCatalog` 
, and it is JUST A Gravitino IRC used param, and how `Gravitino IRC` get the 
value.
   
   ```bash
   .config("spark.sql.catalog.rest_catalog.catalog-impl", 
"org.apache.iceberg.rest.RESTCatalog")
   ```


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

Reply via email to