sql: CREATE AS sourcing crdb_internal.create_statements nil pointer dereference #106168
Labels
A-sql-vtables
Virtual tables - pg_catalog, information_schema etc
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
db-cy-23
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Running
CREATE TABLE t AS SELECT * FROM crdb_internal.create_statements;
or
CREATE MATERIALIZED VIEW v AS SELECT * FROM crdb_internal.create_statements;
results in a nil pointer dereference here
cockroach/pkg/sql/catalog/schemaexpr/column.go
Line 342 in 5b3cd0d
Jira issue: CRDB-29437
Epic CRDB-27601
The text was updated successfully, but these errors were encountered: