Skip to main content

Module paths

Module paths 

Source
Expand description

Parquet-specific path, filename, and identifier operations.

Cross-backend primitives (the CatalogPathPrefix trait, object-store path constructors, identifier sanitization) live in crate::common::paths and are re-exported below for parquet internal callers.

Re-exports§

pub use crate::common::paths::CatalogPathPrefix;
pub use crate::common::paths::extract_identifier_from_path;
pub use crate::common::paths::extract_path_components;
pub use crate::common::paths::local_to_object_store_path;
pub use crate::common::paths::make_object_store_path;
pub use crate::common::paths::make_sql_safe_identifier;
pub use crate::common::paths::normalize_path_separators;
pub use crate::common::paths::safe_directory_identifier;
pub use crate::common::paths::urisafe_instrument_id;

Functions§

extract_sql_safe_filename
Extracts the filename from a file path and makes it SQL-safe.
make_local_path
Creates a platform-appropriate local path using PathBuf.
parse_filename_timestamps
Parses timestamps from a Parquet filename.
timestamps_to_filename
Converts timestamps to a filename using ISO 8601 format.