Skip to content

Commit 38bc3c4

Browse files
committed
add pub
1 parent 734ac94 commit 38bc3c4

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

crates/catalog/sql/src/catalog.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -841,13 +841,11 @@ pub fn metadata_path(meta_data_location: &str, uuid: Uuid) -> String {
841841
mod tests {
842842
use std::collections::{HashMap, HashSet};
843843
use std::hash::Hash;
844-
use iceberg::spec::SnapshotReference;
845-
use iceberg::spec::SnapshotRetention;
846-
use iceberg::spec::MAIN_BRANCH;
847844

848845
use iceberg::io::FileIOBuilder;
849846
use iceberg::spec::{
850-
NestedField, Operation, PartitionSpec, PrimitiveType, Schema, Snapshot, SortOrder, Type,
847+
NestedField, Operation, PartitionSpec, PrimitiveType, Schema, Snapshot, SnapshotReference,
848+
SnapshotRetention, SortOrder, Type, MAIN_BRANCH,
851849
};
852850
use iceberg::table::Table;
853851
use iceberg::{

crates/iceberg/src/transaction/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,10 @@ mod tests {
260260
use std::io::BufReader;
261261

262262
use crate::io::FileIOBuilder;
263-
use crate::spec::{DataContentType, DataFileBuilder, DataFileFormat, FormatVersion, Literal, Struct, TableMetadata, MAIN_BRANCH};
263+
use crate::spec::{
264+
DataContentType, DataFileBuilder, DataFileFormat, FormatVersion, Literal, Struct,
265+
TableMetadata, MAIN_BRANCH,
266+
};
264267
use crate::table::Table;
265268
use crate::transaction::Transaction;
266269
use crate::{TableIdent, TableRequirement, TableUpdate};

crates/iceberg/src/writer/file_writer/location_generator.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ const DEFAULT_DATA_DIR: &str = "/data";
3939
/// `DefaultLocationGenerator` used to generate the data dir location of data file.
4040
/// The location is generated based on the table location and the data location in table properties.
4141
pub struct DefaultLocationGenerator {
42-
dir_path: String,
42+
/// The data dir path of the table.
43+
pub dir_path: String,
4344
}
4445

4546
impl DefaultLocationGenerator {

crates/integrations/datafusion/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub use catalog::*;
2121
mod error;
2222
pub use error::*;
2323

24-
mod physical_plan;
24+
pub mod physical_plan;
2525
mod schema;
2626
mod table;
2727
pub use table::table_provider_factory::IcebergTableProviderFactory;

0 commit comments

Comments
 (0)