1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- # 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.
- # Tests for the esoteric TABLE statement.
- mode cockroach
- statement ok
- CREATE TABLE t (a int)
- statement ok
- INSERT INTO t VALUES (1), (2), (3)
- query I rowsort
- TABLE t
- ----
- 1
- 2
- 3
- query I rowsort
- TABLE materialize.public.t
- ----
- 1
- 2
- 3
- query I
- TABLE t UNION ALL TABLE t ORDER BY a LIMIT 5
- ----
- 1
- 1
- 2
- 2
- 3
- query error unknown catalog item 'noexist'
- TABLE noexist
|