Skip to content

Commit

Permalink
Drop field.name() as_str() conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlospt committed Dec 19, 2024
1 parent b65b6d9 commit 84c1f4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rustic-cdc-operator/src/cdc_operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ impl CDCOperator {
let has_schema_diff = df_column_fields
.iter()
.filter(|field| {
field.name().as_str() != "Op"
&& field.name().as_str() != "_dms_ingestion_timestamp"
field.name() != "Op"
&& field.name() != "_dms_ingestion_timestamp"
})
.any(|field| !source_table_columns.contains_key(field.name().as_str()));

Expand Down

0 comments on commit 84c1f4e

Please sign in to comment.