pub struct StagingTable {
pub id: String,
pub name: String,
pub schema_name: String,
pub catalog_name: String,
pub staging_location: String,
pub created_by: Option<String>,
pub stage_committed: bool,
pub created_at: Option<i64>,
}Expand description
A staging table is a transient reservation created while provisioning a Unity Catalog managed table.
On creation the server allocates an immutable table id and storage location
under the parent schema/catalog’s managed storage root. The client then
writes the initial Delta commit (_delta_log/00...0.json) at that location
and finalizes the table via the CreateTable API, which commits this staging
row. A staging table is not yet a usable table and is not returned by the
table APIs.
Fields§
§id: StringUnique identifier generated for the staging table. Becomes the managed table’s id once finalized.
name: StringName of the staging table, relative to the parent schema.
schema_name: StringName of the parent schema relative to its parent catalog.
catalog_name: StringName of the parent catalog.
staging_location: StringStorage location allocated for the staging table, where the client writes the initial Delta commit. Immutable once allocated.
created_by: Option<String>Username of the principal that created the staging table. Only this principal may finalize the table.
stage_committed: boolWhether the staging table has been finalized into a managed table.
created_at: Option<i64>Time at which this staging table was created, in epoch milliseconds.
Implementations§
Source§impl StagingTable
impl StagingTable
Sourcepub fn qualified_name(&self) -> String
pub fn qualified_name(&self) -> String
Returns the fully-qualified dot-separated name computed from component fields.
Source§impl StagingTable
impl StagingTable
Sourcepub fn created_by(&self) -> &str
pub fn created_by(&self) -> &str
Returns the value of created_by, or the default value if created_by is unset.
Sourcepub fn created_at(&self) -> i64
pub fn created_at(&self) -> i64
Returns the value of created_at, or the default value if created_at is unset.
Trait Implementations§
Source§impl Clone for StagingTable
impl Clone for StagingTable
Source§fn clone(&self) -> StagingTable
fn clone(&self) -> StagingTable
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StagingTable
impl Debug for StagingTable
Source§impl Default for StagingTable
impl Default for StagingTable
§impl<'de> Deserialize<'de> for StagingTable
impl<'de> Deserialize<'de> for StagingTable
§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
impl Eq for StagingTable
Source§impl From<StagingTable> for Resource
impl From<StagingTable> for Resource
Source§fn from(v: StagingTable) -> Self
fn from(v: StagingTable) -> Self
Source§impl Hash for StagingTable
impl Hash for StagingTable
Source§impl Message for StagingTable
impl Message for StagingTable
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.