Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
58201: row: fix import default expr sequence logic r=pbardea a=adityamaru Previously, we would attempt to create a sequence annotation when creating a NewDatumConverter. This code path is shared by various formats of IMPORT, and we only really want to create this annotation when coming from a subset of them (CSV only as of today). The annotation involves resolving sequence descs, and depending on whether we are coming from an IMPORT PGDUMP or an IMPORT CSV we use different resolvers to do this. Therefore, calling this method with the wrong resolver can result in a "descriptor not found" error. Informs: cockroachdb#58147 Release note: None Co-authored-by: Aditya Maru <adityamaru@gmail.com>
- Loading branch information