-
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: add option to log unsupported stmts
This is the last commit, that adds an `ignored_stmt_log` options to IMPORT PGDUMP. This option specifies the destination we will log the statements that we skip over during an import. This option can only be used in conjunction with `ignore_unsupported`, else the IMPORT will fail. Currently, we will write to two files during the import. One during the schema parsing phase, and another during the data ingestion phase. The files will be called: `unsupported-data-stmts`: Contains unparseable stmts, and unsupported DML stmts. `unsupported-schema-stmts`: Contains unparseable stmts, and unsupported DDL stmts. Release note (sql change): New IMPORT PGDUMP option `ignored_stmt_log` that allows users to specify where they would like to log stmts that have been skipped during an import, by virtue of being unsupported.
- Loading branch information
1 parent
2e3cc52
commit 0d99c8e
Showing
10 changed files
with
487 additions
and
183 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.