Skip to content

Commit b5d85ef

Browse files
chore: update Cargo.toml for release v2.4.3 (#1436)
* chore: update Cargo.toml for release v2.4.3 * update sha, clippy fix
1 parent 5edecaf commit b5d85ef

File tree

7 files changed

+8
-10
lines changed

7 files changed

+8
-10
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "parseable"
3-
version = "2.4.2"
3+
version = "2.4.3"
44
authors = ["Parseable Team <hi@parseable.com>"]
55
edition = "2024"
66
rust-version = "1.88.0"
@@ -160,8 +160,8 @@ arrow = "54.0.0"
160160
temp-dir = "0.1.14"
161161

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

166166
[features]
167167
debug = []

src/static_schema.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ pub struct Fields {
5656
metadata: HashMap<String, String>,
5757
}
5858

59-
#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)]
60-
pub struct Metadata {}
6159
pub fn convert_static_schema_to_arrow_schema(
6260
static_schema: StaticSchema,
6361
time_partition: &str,

src/storage/azure_blob.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ impl BlobStore {
345345

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

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

src/storage/gcs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ impl Gcs {
324324
let mut data = Vec::new();
325325
file.read_to_end(&mut data).await?;
326326

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

src/storage/localfs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ impl ObjectStorage for LocalFS {
218218
async fn get_objects(
219219
&self,
220220
base_path: Option<&RelativePath>,
221-
filter_func: Box<(dyn Fn(String) -> bool + std::marker::Send + 'static)>,
221+
filter_func: Box<dyn Fn(String) -> bool + std::marker::Send + 'static>,
222222
) -> Result<Vec<Bytes>, ObjectStorageError> {
223223
let time = Instant::now();
224224

src/storage/s3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ impl S3 {
510510

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

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

0 commit comments

Comments
 (0)