# Copyright Materialize, Inc. and contributors. All rights reserved. # # Use of this software is governed by the Business Source License # included in the LICENSE file at the root of this repository. # # As of the Change Date specified in that file, in accordance with # the Business Source License, use of this software will be governed # by the Apache License, Version 2.0. # Regression test for https://github.com/MaterializeInc/database-issues/issues/5174 mode cockroach statement ok SET cluster_replica = r1 query T SELECT worker_id FROM mz_introspection.mz_scheduling_elapsed_raw JOIN mz_indexes ON (NULL) JOIN ( SELECT worker_id AS a, CAST(NULLIF(records, CAST(NULL AS DECIMAL)) AS DECIMAL) FROM mz_introspection.mz_records_per_dataflow_per_worker ) ON (SELECT a IS NULL) WHERE (SELECT a) IS NULL; ----