50-output-consistency-stats.sql 697 B

12345678910111213141516171819202122
  1. -- Copyright Materialize, Inc. and contributors. All rights reserved.
  2. --
  3. -- Use of this software is governed by the Business Source License
  4. -- included in the LICENSE file at the root of this repository.
  5. --
  6. -- As of the Change Date specified in that file, in accordance with
  7. -- the Business Source License, use of this software will be governed
  8. -- by the Apache License, Version 2.0.
  9. CREATE OR REPLACE VIEW v_output_consistency_stats AS
  10. SELECT
  11. b.build_number,
  12. b.branch,
  13. b.date,
  14. ocs.*
  15. FROM output_consistency_stats ocs
  16. INNER JOIN build_job bj
  17. ON ocs.build_job_id = bj.build_job_id
  18. INNER JOIN build b
  19. ON bj.build_id = b.build_id;
  20. ALTER VIEW v_output_consistency_stats OWNER TO qa;