diff --git a/service/trino-verifier/src/main/java/io/trino/verifier/Validator.java b/service/trino-verifier/src/main/java/io/trino/verifier/Validator.java index b29397561105..0f9160ad0ed8 100644 --- a/service/trino-verifier/src/main/java/io/trino/verifier/Validator.java +++ b/service/trino-verifier/src/main/java/io/trino/verifier/Validator.java @@ -716,7 +716,7 @@ private static Comparator columnComparator(int precision) if (a.getClass() != b.getClass()) { throw new TypesDoNotMatchException(format("item types do not match: %s vs %s", a.getClass().getName(), b.getClass().getName())); } - if ((a.getClass().isArray() && b.getClass().isArray())) { + if (a.getClass().isArray()) { Object[] aArray = (Object[]) a; Object[] bArray = (Object[]) b;