forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
importccl: support partial indexes in IMPORT INTO
This change adds logic to IMPORT INTO to support partial indexes when ingesting data into an existing table. The change relies on the `PartialIndexUpdateHelper` to indicate whether a row should be added to a partial index or not. It is important to call out that this only adds support to formats supporting IMPORT INTO i.e. CSV, Delimited, AVRO. Bundle formats do not support partial indexes. Informs: cockroachdb#50225 Release note (sql change): Users can now IMPORT INTO a table with partial indexes from CSV, AVRO, and Delimited formats. This was previously disallowed.
- Loading branch information
1 parent
d7094d7
commit b5cb0f1
Showing
6 changed files
with
150 additions
and
42 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
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