02-after-environmentd-restart.td 762 B

123456789101112131415161718192021
  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. # Verify that the data ingested before `environmentd` was killed is still
  10. # present, then try ingesting more data.
  11. > SELECT
  12. (u.rehydration_latency)::text = '${arg.rehydration-latency}'
  13. FROM mz_sources s
  14. JOIN mz_internal.mz_source_statistics u ON s.id = u.id
  15. WHERE s.name IN ('count')
  16. true
  17. > DROP SOURCE IF EXISTS count CASCADE
  18. > DROP CLUSTER IF EXISTS test_cluster CASCADE