Skip to content

importccl: add dry-run mode to show what would be imported #26493

@dt

Description

@dt

With the addition of IMPORT formats with configurable delimiters and or the ability to convert schemas from other DBs on the fly (rather than providing explicit, cockroach-dialect syntaxes in the statement itself), the result of IMPORT has become somewhat more complex to predict from the statement.

It thus now seems like it would be useful to a user to have some form of "dry-run" mode that, at the very least, showed the tables that would be imported and their schemas. Additionally it might be nice to show the first row or something, to verify decoding was properly configured along with something like row count, or even estimated imported size.

Metadata

Metadata

Assignees

Labels

A-disaster-recoveryC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions