Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Oct 26, 2023
1 parent 9939dce commit a8cba11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nexus/analyzer/src/qrep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ pub fn process_options(

// If mode is upsert, we need unique key columns
if opts.get("mode") == Some(&Value::String(String::from("upsert")))
&& (opts.get("unique_key_columns") == None
&& (opts.get("unique_key_columns").is_none()
|| opts.get("unique_key_columns") == Some(&Value::Array(vec![])))
{
anyhow::bail!("For upsert mode, unique_key_columns must be specified");
Expand Down

0 comments on commit a8cba11

Please sign in to comment.