-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use FileTypeNone as default * add avro reading * update dbio * improve replication HasStream * clean up docs linking * add r.11 test * add windows path fix * rename source.columns to source.select to avoid confusion * update test tasks * update test names * add sas7bdat file format * add store history keeping * improve store reliability * update github.com/flarco/dbio v0.4.38 * improve store
- Loading branch information
Showing
15 changed files
with
455 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
source: postgres | ||
target: aws_s3 | ||
|
||
defaults: | ||
mode: full-refresh | ||
object: 'test1k/{YEAR}' | ||
target_options: | ||
file_max_rows: 1000000 # multiple files | ||
compression: gzip | ||
|
||
streams: | ||
test1: | ||
sql: | | ||
select * from public.test1k | ||
where date_trunc('year', create_date) = '{YEAR}-01-01' | ||
env: | ||
# pass in env vars, e.g. YEAR=2005 | ||
YEAR: $YEAR |
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 |
---|---|---|
@@ -1 +1 @@ | ||
{"env":{},"mode":"full-refresh","options":{},"source":{"conn":"","options":{},"primary_key":[],"stream":"file://tests/files/test1.csv","update_key":""},"target":{"conn":"POSTGRES","object":"public.test1","options":{"add_new_columns":true,"adjust_column_type":true}}} | ||
{"env":{},"mode":"full-refresh","options":{},"source":{"conn":"","options":{},"primary_key":[],"stream":"file://tests/files/test1.csv","update_key":""},"target":{"conn":"POSTGRES","object":"public.test1","options":{"add_new_columns":true,"adjust_column_type":true,"use_bulk":true}}} |
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 |
---|---|---|
@@ -1 +1 @@ | ||
{"env":{"validation_cols":"0,1,2,3,4,6","validation_file":"file://tests/files/test1.result.csv"},"mode":"incremental","options":{},"source":{"conn":"","options":{},"primary_key":["id"],"stream":"file://tests/files/test1.upsert.csv","update_key":"create_dt"},"target":{"conn":"POSTGRES","object":"public.test1","options":{"add_new_columns":true,"adjust_column_type":true}}} | ||
{"env":{"validation_cols":"0,1,2,3,4,6","validation_file":"file://tests/files/test1.result.csv"},"mode":"incremental","options":{},"source":{"conn":"","options":{},"primary_key":["id"],"stream":"file://tests/files/test1.upsert.csv","update_key":"create_dt"},"target":{"conn":"POSTGRES","object":"public.test1","options":{"add_new_columns":true,"adjust_column_type":true,"use_bulk":true}}} |
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.