-
Notifications
You must be signed in to change notification settings - Fork 4.1k
importccl: add dry-run mode to show what would be imported #26493
Copy link
Copy link
Closed
Labels
A-disaster-recoveryC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-disaster-recoveryC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)