openinx commented on PR #14443:
URL: https://github.com/apache/iceberg/pull/14443#issuecomment-3706846415

   The usage may like this ( let's take the spark  and hive catalog as an 
example):
   
   ```
   SET spark.sql.catalog.demo= org.apache.iceberg.spark.SparkCatalog;
   SET spark.sql.catalog.demo.type = hive;
   SET spark.sql.catalog.demo.uri=thrift://hms-host:9083;
   SET spark.sql.catalog.demo.warehouse=oss://my-bucket/iceberg/warehouse;
   SET spark.sql.catalog.demo.io-impl=org.apache.iceberg.aliyun.oss.OSSFileIO;
   -- with this catalog configuration,  we can direct the iceberg catalog to 
use the customized aliyun credentials provider
   -- and then people can use any kind of the credentials provider 
implementation to access the correct credentials.
   SET 
spark.sql.catalog.demo.client.credentials-provider=com.test.CustomizedCredentialsProviderImplementations;
   
   USE demo;
   ```


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