diff --git a/nexus/analyzer/src/lib.rs b/nexus/analyzer/src/lib.rs index 1000dd77db..b9d01e1739 100644 --- a/nexus/analyzer/src/lib.rs +++ b/nexus/analyzer/src/lib.rs @@ -411,6 +411,8 @@ fn parse_db_options( let key = opt.name.value; let val = match opt.value { sqlparser::ast::Value::SingleQuotedString(str) => str, + sqlparser::ast::Value::Number(v, _) => v, + sqlparser::ast::Value::Boolean(v) => v.to_string(), _ => panic!("invalid option type for peer"), }; opts.insert(key, val);