Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/bindings_python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
uses: ./.github/actions/setup-builder
- name: Cache Rust artifacts
if: runner.os != 'Linux'
uses: swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
uses: swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
key: bindings-python
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
uses: ./.github/actions/setup-builder

- name: Cache Rust artifacts
uses: swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
uses: swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

Expand All @@ -148,7 +148,7 @@ jobs:
uses: ./.github/actions/setup-builder

- name: Cache Rust artifacts
uses: swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
uses: swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
uses: ./.github/actions/setup-builder

- name: Cache Rust artifacts
uses: swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
uses: swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Cache Rust artifacts
uses: swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
uses: swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
key: ${{ matrix.test-suite.name }}
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/public-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: ./.github/actions/setup-builder

- name: Cache Rust artifacts
uses: swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
uses: swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

Expand Down
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,10 @@ pretty_assertions = "1.4"
pyo3 = "0.28"
rand = "0.9.3"
regex = "1.11.3"
reqwest = { version = "0.12.12", default-features = false, features = ["json", "native-tls"] }
reqwest = { version = "0.12.12", default-features = false, features = [
"json",
"native-tls",
] }
roaring = { version = "0.11" }
rstest = "0.26"
serde = { version = "1.0.219", features = ["rc"] }
Expand Down
56 changes: 56 additions & 0 deletions crates/catalog/rest/public-api.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
pub mod iceberg_catalog_rest
pub struct iceberg_catalog_rest::AuthenticatorConfig
pub iceberg_catalog_rest::AuthenticatorConfig::credential: core::option::Option<(core::option::Option<alloc::string::String>, alloc::string::String)>
pub iceberg_catalog_rest::AuthenticatorConfig::custom_authenticator: core::option::Option<alloc::sync::Arc<dyn iceberg_catalog_rest::RequestAuthenticator>>
pub iceberg_catalog_rest::AuthenticatorConfig::extra_oauth_params: std::collections::hash::map::HashMap<alloc::string::String, alloc::string::String>
pub iceberg_catalog_rest::AuthenticatorConfig::token: core::option::Option<alloc::string::String>
pub iceberg_catalog_rest::AuthenticatorConfig::token_endpoint: alloc::string::String
pub struct iceberg_catalog_rest::BearerTokenAuthenticator
impl iceberg_catalog_rest::BearerTokenAuthenticator
pub fn iceberg_catalog_rest::BearerTokenAuthenticator::new(provider: alloc::sync::Arc<dyn iceberg_catalog_rest::TokenProvider>) -> Self
impl core::clone::Clone for iceberg_catalog_rest::BearerTokenAuthenticator
pub fn iceberg_catalog_rest::BearerTokenAuthenticator::clone(&self) -> iceberg_catalog_rest::BearerTokenAuthenticator
impl core::fmt::Debug for iceberg_catalog_rest::BearerTokenAuthenticator
pub fn iceberg_catalog_rest::BearerTokenAuthenticator::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl iceberg_catalog_rest::RequestAuthenticator for iceberg_catalog_rest::BearerTokenAuthenticator
pub fn iceberg_catalog_rest::BearerTokenAuthenticator::authenticate_request<'life0, 'life1, 'async_trait>(&'life0 self, req: &'life1 mut reqwest::async_impl::request::Request) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait
pub fn iceberg_catalog_rest::BearerTokenAuthenticator::invalidate_cache<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub fn iceberg_catalog_rest::BearerTokenAuthenticator::regenerate_cache<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub struct iceberg_catalog_rest::CommitTableRequest
pub iceberg_catalog_rest::CommitTableRequest::identifier: core::option::Option<iceberg::catalog::TableIdent>
pub iceberg_catalog_rest::CommitTableRequest::requirements: alloc::vec::Vec<iceberg::catalog::TableRequirement>
Expand Down Expand Up @@ -152,6 +169,15 @@ impl serde_core::ser::Serialize for iceberg_catalog_rest::NamespaceResponse
pub fn iceberg_catalog_rest::NamespaceResponse::serialize<__S>(&self, __serializer: __S) -> core::result::Result<<__S as serde_core::ser::Serializer>::Ok, <__S as serde_core::ser::Serializer>::Error> where __S: serde_core::ser::Serializer
impl<'de> serde_core::de::Deserialize<'de> for iceberg_catalog_rest::NamespaceResponse
pub fn iceberg_catalog_rest::NamespaceResponse::deserialize<__D>(__deserializer: __D) -> core::result::Result<Self, <__D as serde_core::de::Deserializer>::Error> where __D: serde_core::de::Deserializer<'de>
pub struct iceberg_catalog_rest::OAuth2TokenProvider
impl iceberg_catalog_rest::OAuth2TokenProvider
pub fn iceberg_catalog_rest::OAuth2TokenProvider::new(client: reqwest::async_impl::client::Client, client_id: core::option::Option<alloc::string::String>, client_secret: alloc::string::String, token_endpoint: alloc::string::String, extra_headers: http::header::map::HeaderMap, extra_oauth_params: std::collections::hash::map::HashMap<alloc::string::String, alloc::string::String>) -> Self
impl core::fmt::Debug for iceberg_catalog_rest::OAuth2TokenProvider
pub fn iceberg_catalog_rest::OAuth2TokenProvider::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl iceberg_catalog_rest::TokenProvider for iceberg_catalog_rest::OAuth2TokenProvider
pub fn iceberg_catalog_rest::OAuth2TokenProvider::invalidate<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub fn iceberg_catalog_rest::OAuth2TokenProvider::regenerate<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub fn iceberg_catalog_rest::OAuth2TokenProvider::token<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<alloc::string::String>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub struct iceberg_catalog_rest::RegisterTableRequest
pub iceberg_catalog_rest::RegisterTableRequest::metadata_location: alloc::string::String
pub iceberg_catalog_rest::RegisterTableRequest::name: alloc::string::String
Expand Down Expand Up @@ -207,6 +233,7 @@ pub fn iceberg_catalog_rest::RestCatalog::update_namespace<'life0, 'life1, 'asyn
pub fn iceberg_catalog_rest::RestCatalog::update_table<'life0, 'async_trait>(&'life0 self, commit: iceberg::catalog::TableCommit) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<iceberg::table::Table>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub struct iceberg_catalog_rest::RestCatalogBuilder
impl iceberg_catalog_rest::RestCatalogBuilder
pub fn iceberg_catalog_rest::RestCatalogBuilder::with_authenticator(self, authenticator: alloc::sync::Arc<dyn iceberg_catalog_rest::RequestAuthenticator>) -> Self
pub fn iceberg_catalog_rest::RestCatalogBuilder::with_client(self, client: reqwest::async_impl::client::Client) -> Self
impl core::default::Default for iceberg_catalog_rest::RestCatalogBuilder
pub fn iceberg_catalog_rest::RestCatalogBuilder::default() -> Self
Expand All @@ -217,6 +244,15 @@ pub type iceberg_catalog_rest::RestCatalogBuilder::C = iceberg_catalog_rest::Res
pub fn iceberg_catalog_rest::RestCatalogBuilder::load(self, name: impl core::convert::Into<alloc::string::String>, props: std::collections::hash::map::HashMap<alloc::string::String, alloc::string::String>) -> impl core::future::future::Future<Output = iceberg::error::Result<Self::C>> + core::marker::Send
pub fn iceberg_catalog_rest::RestCatalogBuilder::with_runtime(self, runtime: iceberg::runtime::Runtime) -> Self
pub fn iceberg_catalog_rest::RestCatalogBuilder::with_storage_factory(self, storage_factory: alloc::sync::Arc<dyn iceberg::io::storage::StorageFactory>) -> Self
pub struct iceberg_catalog_rest::StaticTokenProvider
impl iceberg_catalog_rest::StaticTokenProvider
pub fn iceberg_catalog_rest::StaticTokenProvider::new(token: impl core::convert::Into<alloc::string::String>) -> Self
impl core::fmt::Debug for iceberg_catalog_rest::StaticTokenProvider
pub fn iceberg_catalog_rest::StaticTokenProvider::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl iceberg_catalog_rest::TokenProvider for iceberg_catalog_rest::StaticTokenProvider
pub fn iceberg_catalog_rest::StaticTokenProvider::invalidate<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub fn iceberg_catalog_rest::StaticTokenProvider::regenerate<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub fn iceberg_catalog_rest::StaticTokenProvider::token<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<alloc::string::String>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub struct iceberg_catalog_rest::StorageCredential
pub iceberg_catalog_rest::StorageCredential::config: std::collections::hash::map::HashMap<alloc::string::String, alloc::string::String>
pub iceberg_catalog_rest::StorageCredential::prefix: alloc::string::String
Expand Down Expand Up @@ -266,3 +302,23 @@ pub fn iceberg_catalog_rest::UpdateNamespacePropertiesResponse::deserialize<__D>
pub const iceberg_catalog_rest::REST_CATALOG_PROP_DISABLE_HEADER_REDACTION: &str
pub const iceberg_catalog_rest::REST_CATALOG_PROP_URI: &str
pub const iceberg_catalog_rest::REST_CATALOG_PROP_WAREHOUSE: &str
pub trait iceberg_catalog_rest::RequestAuthenticator: core::marker::Send + core::marker::Sync + core::fmt::Debug
pub fn iceberg_catalog_rest::RequestAuthenticator::authenticate_request<'life0, 'life1, 'async_trait>(&'life0 self, req: &'life1 mut reqwest::async_impl::request::Request) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait
pub fn iceberg_catalog_rest::RequestAuthenticator::invalidate_cache<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub fn iceberg_catalog_rest::RequestAuthenticator::regenerate_cache<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
impl iceberg_catalog_rest::RequestAuthenticator for iceberg_catalog_rest::BearerTokenAuthenticator
pub fn iceberg_catalog_rest::BearerTokenAuthenticator::authenticate_request<'life0, 'life1, 'async_trait>(&'life0 self, req: &'life1 mut reqwest::async_impl::request::Request) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait
pub fn iceberg_catalog_rest::BearerTokenAuthenticator::invalidate_cache<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub fn iceberg_catalog_rest::BearerTokenAuthenticator::regenerate_cache<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub trait iceberg_catalog_rest::TokenProvider: core::marker::Send + core::marker::Sync + core::fmt::Debug
pub fn iceberg_catalog_rest::TokenProvider::invalidate<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub fn iceberg_catalog_rest::TokenProvider::regenerate<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub fn iceberg_catalog_rest::TokenProvider::token<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<alloc::string::String>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
impl iceberg_catalog_rest::TokenProvider for iceberg_catalog_rest::OAuth2TokenProvider
pub fn iceberg_catalog_rest::OAuth2TokenProvider::invalidate<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub fn iceberg_catalog_rest::OAuth2TokenProvider::regenerate<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub fn iceberg_catalog_rest::OAuth2TokenProvider::token<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<alloc::string::String>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
impl iceberg_catalog_rest::TokenProvider for iceberg_catalog_rest::StaticTokenProvider
pub fn iceberg_catalog_rest::StaticTokenProvider::invalidate<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub fn iceberg_catalog_rest::StaticTokenProvider::regenerate<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<()>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
pub fn iceberg_catalog_rest::StaticTokenProvider::token<'life0, 'async_trait>(&'life0 self) -> core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output = iceberg::error::Result<alloc::string::String>> + core::marker::Send + 'async_trait)>> where Self: 'async_trait, 'life0: 'async_trait
Loading
Loading