repeated-source-rendering-after.td 749 B

123456789101112131415161718192021222324252627282930
  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. # Run parts of repeated-source-rendering-before.td post-restart
  10. > SELECT COUNT(*) FROM a_view;
  11. 10
  12. > DROP VIEW a_view;
  13. > CREATE VIEW a_view AS SELECT * FROM re_created_tbl;
  14. > CREATE DEFAULT INDEX ON a_view;
  15. > SELECT COUNT(*) FROM a_view;
  16. 10
  17. # Same with DROP INDEX
  18. > DROP INDEX a_view_primary_idx;
  19. > CREATE DEFAULT INDEX ON a_view;
  20. > SELECT COUNT(*) FROM a_view;
  21. 10