Skip to content

Commit

Permalink
feat: CHECK constraints addressing a lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hntd187 committed Dec 6, 2023
1 parent fba0b50 commit 811a6d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/deltalake-core/src/delta_datafusion/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ impl DeltaDataChecker {
.and_then(|meta| meta.schema.get_invariants().ok())
.unwrap_or_default();
let constraints = metadata
.and_then(|meta| Some(meta.get_constraints()))
.map(|meta| meta.get_constraints())
.unwrap_or_default();
Self {
invariants,
Expand Down

0 comments on commit 811a6d4

Please sign in to comment.