We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16c261e commit b58d6d2Copy full SHA for b58d6d2
src/expr/src/scalar/func.rs
@@ -33,7 +33,7 @@ use mz_ore::fmt::FormatBuffer;
33
use mz_ore::lex::LexBuf;
34
use mz_ore::option::OptionExt;
35
use mz_ore::result::ResultExt;
36
-use mz_ore::soft_assert_eq_or_log;
+use mz_ore::{soft_assert_eq_or_log, soft_assert_or_log};
37
use mz_ore::str::StrExt;
38
use mz_pgrepr::Type;
39
use mz_pgtz::timezone::{Timezone, TimezoneSpec};
@@ -8033,7 +8033,7 @@ impl VariadicFunc {
8033
}
8034
.nullable(true),
8035
ArrayCreate { elem_type } => {
8036
- debug_assert!(
+ soft_assert_or_log!(
8037
input_types.iter().all(|t| t.scalar_type.base_eq(elem_type)),
8038
"Args to ArrayCreate should have types that are compatible with the elem_type"
8039
);
0 commit comments