-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
importccl: guard all silently ignored PGDUMP stmts with option
Previously, we would silently ignore several statements we might come across in a PGDUMP file. These statements can be parsed by CRDB but are not implemented by IMPORT. This change brings most of these silently ignored stmts under the umbrella of the newly introduced `ignore_unsupported` option. The motivation for this change is to further improve the UX of this option. If specified, we will ignore unsupported stmts, else we will fail the IMPORT. This will result in IMPORTs that previously succeeded by silently ignoring some stmts to fail. The solution is to add the `ignore_unsupported` option. Release note (sql change): Users will now need to specify `ignore_unsupported` to ignore all unsupported import stmts during an IMPORT PGDUMP.
- Loading branch information
1 parent
dc70754
commit 20f169e
Showing
7 changed files
with
27,658 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.