Skip to content

Commit f27475c

Browse files
author
Devdutt Shenoi
committed
fix: condition to check presence of custom_partition
1 parent 818b719 commit f27475c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/static_schema.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ pub fn convert_static_schema_to_arrow_schema(
6868
let mut time_partition_exists = false;
6969

7070
for partition in custom_partitions {
71-
if static_schema
71+
if !static_schema
7272
.fields
7373
.iter()
7474
.any(|field| &field.name == partition)

0 commit comments

Comments
 (0)