Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add slt for asserting builtin tables #2387

Merged
merged 1 commit into from
Jan 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions testdata/sqllogictests/catalog/tables.slt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,23 @@ create schema builtin_tables_test;
statement ok
set search_path = builtin_tables_test;

# Builtin tables must have stable OIDs. If we end up doing refactoring, this
# just gives us confidence nothing broke.
query IIITTTTTT rowsort
select * from glare_catalog.tables;
----
16401 16384 16385 glare_catalog databases t f internal READ_ONLY
16402 16384 16385 glare_catalog tunnels t f internal READ_ONLY
16403 16384 16385 glare_catalog credentials t f internal READ_ONLY
16404 16384 16385 glare_catalog schemas t f internal READ_ONLY
16405 16384 16385 glare_catalog tables t f internal READ_ONLY
16406 16384 16385 glare_catalog views t f internal READ_ONLY
16407 16384 16385 glare_catalog columns t f internal READ_ONLY
16408 16384 16385 glare_catalog functions t f internal READ_ONLY
16409 16384 16385 glare_catalog ssh_keys t f internal READ_ONLY
16410 16384 16385 glare_catalog deployment_metadata t f internal READ_ONLY
16411 16384 16385 glare_catalog cached_external_database_tables t f internal READ_ONLY

statement ok
set enable_debug_datasources to t;

Expand Down