Crate hudi_core

Crate hudi_core 

Source
Expand description

Crate hudi-core.

§The config module is responsible for managing configurations.

Example

use hudi_core::config::read::HudiReadConfig::{AsOfTimestamp, InputPartitions};
use hudi_core::table::Table as HudiTable;

let options = [(InputPartitions, "2"), (AsOfTimestamp, "20240101010100000")];
HudiTable::new_with_options("/tmp/hudi_data", options);

§The table module is responsible for managing Hudi tables.

Example

create hudi table

use hudi_core::table::Table;

pub async fn test() {
    let hudi_table = Table::new("/tmp/hudi_data").await.unwrap();
}

Modules§

config
Hudi Configurations.
error
expr
file_group
This module is for File Group related models and APIs.
merge
metadata
schema
storage
This module is responsible for interacting with the storage layer.
table
This module is responsible for Hudi table APIs.
timeline
util