importccl: Bundle format imports do not support UDT #67983
Labels
A-import
Issues related to IMPORT syntax
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-sql-queries
SQL Queries Team
Bundle formats such as PGDUMP and MYSQLDUMP do not support user-defined types. Today, PGDUMP files with
CREATE TYPE
statements will either fail or ignore the create type based on whetherignore_unsupported_statements
was passed.If a column in a table in the dump file uses the UDT then this leads to all sorts of undefined behavior (currently a NPE). Since bundle formats offer us the guarantee that we will only use objects that are in the dump file itself, we should add support for
CREATE TYPE
similar to how we handle UDS.Jira issue: CRDB-8814
Epic CRDB-8353
The text was updated successfully, but these errors were encountered: