odysa commented on issue #273: URL: https://github.com/apache/iceberg-rust/issues/273#issuecomment-2001518711
We may use a Hashmap for properties like the [RestCatalogConfig](https://github.com/apache/iceberg-rust/blob/6e29ca77fb48ea1c862efc325de93c15ea064c01/crates/catalog/rest/src/catalog.rs#L50) and [load_file_io](https://github.com/apache/iceberg-rust/blob/6e29ca77fb48ea1c862efc325de93c15ea064c01/crates/catalog/rest/src/catalog.rs#L528) ```rust pub struct HmsCatalogConfig { address: String, thrift_transport: HmsThriftTransport, props: Hashmap<String, String> } let file_io = FileIO::from_path(url)?.with_props(config.props).build()? ``` -- 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