-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve write operations to be closer to
target-postgres
Meltano's `target-postgres` uses a temporary table to receive data first, and then update the effective target table with information from that. CrateDB's `target-cratedb` additonally offers the possibility to also write directly into the target table, yielding speed improvements, which may be important in certain situations. The environment variable `MELTANO_CRATEDB_STRATEGY_DIRECT` controls that behavior. - `MELTANO_CRATEDB_STRATEGY_DIRECT=true`: Directly write to the target table. - `MELTANO_CRATEDB_STRATEGY_DIRECT=false`: Use a temporary table to stage updates. Note: The current default value is `true`, effectively short-cutting the native way of how Meltano handles database updates. The reason is that the vanilla way does not satisfy all test cases, yet.
- Loading branch information
Showing
6 changed files
with
147 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
.idea | ||
.venv* | ||
*.egg-info | ||
.coverage* | ||
coverage.xml | ||
build | ||
dist |
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.