Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "parseable"
version = "2.4.2"
version = "2.4.3"
authors = ["Parseable Team <[email protected]>"]
edition = "2024"
rust-version = "1.88.0"
Expand Down Expand Up @@ -160,8 +160,8 @@ arrow = "54.0.0"
temp-dir = "0.1.14"

[package.metadata.parseable_ui]
assets-url = "https://parseable-prism-build.s3.us-east-2.amazonaws.com/v2.4.2/build.zip"
assets-sha1 = "218c43d9bb75e8f9a15df544763a874e65fa0f40"
assets-url = "https://parseable-prism-build.s3.us-east-2.amazonaws.com/v2.4.3/build.zip"
assets-sha1 = "1b7db84c0365f48870745989be0640ecfe8f06fd"

[features]
debug = []
Expand Down
2 changes: 0 additions & 2 deletions src/static_schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ pub struct Fields {
metadata: HashMap<String, String>,
}

#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct Metadata {}
pub fn convert_static_schema_to_arrow_schema(
static_schema: StaticSchema,
time_partition: &str,
Expand Down
2 changes: 1 addition & 1 deletion src/storage/azure_blob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ impl BlobStore {

// let mut upload_parts = Vec::new();

let has_final_partial_part = total_size % MIN_MULTIPART_UPLOAD_SIZE > 0;
let has_final_partial_part = !total_size.is_multiple_of(MIN_MULTIPART_UPLOAD_SIZE);
let num_full_parts = total_size / MIN_MULTIPART_UPLOAD_SIZE;
let total_parts = num_full_parts + if has_final_partial_part { 1 } else { 0 };

Expand Down
2 changes: 1 addition & 1 deletion src/storage/gcs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ impl Gcs {
let mut data = Vec::new();
file.read_to_end(&mut data).await?;

let has_final_partial_part = total_size % MIN_MULTIPART_UPLOAD_SIZE > 0;
let has_final_partial_part = !total_size.is_multiple_of(MIN_MULTIPART_UPLOAD_SIZE);
let num_full_parts = total_size / MIN_MULTIPART_UPLOAD_SIZE;
let total_parts = num_full_parts + if has_final_partial_part { 1 } else { 0 };

Expand Down
2 changes: 1 addition & 1 deletion src/storage/localfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ impl ObjectStorage for LocalFS {
async fn get_objects(
&self,
base_path: Option<&RelativePath>,
filter_func: Box<(dyn Fn(String) -> bool + std::marker::Send + 'static)>,
filter_func: Box<dyn Fn(String) -> bool + std::marker::Send + 'static>,
) -> Result<Vec<Bytes>, ObjectStorageError> {
let time = Instant::now();

Expand Down
2 changes: 1 addition & 1 deletion src/storage/s3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ impl S3 {

// let mut upload_parts = Vec::new();

let has_final_partial_part = total_size % MIN_MULTIPART_UPLOAD_SIZE > 0;
let has_final_partial_part = !total_size.is_multiple_of(MIN_MULTIPART_UPLOAD_SIZE);
let num_full_parts = total_size / MIN_MULTIPART_UPLOAD_SIZE;
let total_parts = num_full_parts + if has_final_partial_part { 1 } else { 0 };

Expand Down
Loading