Skip to content

Commit 2aad1c8

Browse files
committed
make createtable public
1 parent e05d4c3 commit 2aad1c8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

iceberg-rust/src/catalog/create.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,25 +39,25 @@ pub struct CreateTable {
3939
/// Location tables base location
4040
#[serde(skip_serializing_if = "Option::is_none")]
4141
#[builder(setter(into, strip_option), default)]
42-
location: Option<String>,
42+
pub location: Option<String>,
4343
/// Table schemma
44-
schema: Schema,
44+
pub schema: Schema,
4545
/// Partition spec
4646
#[serde(skip_serializing_if = "Option::is_none")]
4747
#[builder(setter(strip_option), default)]
48-
partition_spec: Option<PartitionSpec>,
48+
pub partition_spec: Option<PartitionSpec>,
4949
/// Sort order
5050
#[serde(skip_serializing_if = "Option::is_none")]
5151
#[builder(setter(strip_option, name = "with_sort_order"), default)]
52-
write_order: Option<SortOrder>,
52+
pub write_order: Option<SortOrder>,
5353
/// stage create
5454
#[serde(skip_serializing_if = "Option::is_none")]
5555
#[builder(setter(strip_option), default)]
56-
stage_create: Option<bool>,
56+
pub stage_create: Option<bool>,
5757
/// Table properties
5858
#[serde(skip_serializing_if = "Option::is_none")]
5959
#[builder(setter(strip_option, each(name = "with_property")), default)]
60-
properties: Option<HashMap<String, String>>,
60+
pub properties: Option<HashMap<String, String>>,
6161
}
6262

6363
impl CreateTableBuilder {

0 commit comments

Comments
 (0)