check-from-v0.27.0-json.td 909 B

1234567891011
  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. > SHOW CREATE MATERIALIZED VIEW json_view;
  10. materialize.public.json_view "CREATE MATERIALIZED VIEW materialize.public.json_view\n IN CLUSTER json_compute_cluster\n WITH (REFRESH = ON COMMIT)\n AS\n SELECT\n a -> 1 AS c1,\n a ->> 'b' AS c2,\n a #> '{b,1}' AS c3,\n a #>> '{b, 1}' AS c4,\n a - 'b' AS c5,\n a @> '{b, 1}' AS c6,\n a <@ '{b, 1}'::pg_catalog.jsonb AS c7,\n a ? 'b' AS c8\n FROM materialize.public.json_table;"