jaye_howell
12/14/2022, 9:26 PMselect:
- public-truck_stops.zipcode.*
- public-truck_stops.*.*
However when I invoke the extractor, i get and error of
{"type": "ACTIVATE_VERSION", "stream": "public-truck_stops", "version": 1671052198343}
time=2022-12-14 15:09:58 name=tap_postgres level=CRITICAL message='NoneType' object has no attribute 'get'
Traceback (most recent call last):
I cant seem to figure out what it is looking for
Also, is there a way to only download a set number of rows at a time? Some of future tables i will be downloading are large so dont want lock tables as the extract happens.jaye_howell
12/14/2022, 9:31 PMthomas_briggs
12/14/2022, 9:44 PMdefault_replication_method: INCREMENTAL
you have to define the field used to identify new/updated rowsedgar_ramirez_mondragon
12/14/2022, 9:45 PM- name: dev
config:
plugins:
extractors:
- name: tap-postgres
config:
host: ***********
port: 5432
user: *************
dbname: mudflap
default_replication_method: INCREMENTAL
filter_schemas: public
select:
- public-truck_stops.zipcode.*
- public-truck_stops.*.*
thomas_briggs
12/14/2022, 9:45 PMjaye_howell
12/14/2022, 9:46 PMjaye_howell
12/14/2022, 9:48 PMmeltano config tap-postgres set _metadata some_entity_id replication-key updated_at
meltano config tap-postgres set _metadata some_entity_id replication-key id
thomas_briggs
12/14/2022, 9:49 PMmetadata:
public-truck_stops.*:
replication-method: INCREMENTAL
replication-key: dbTimeStamp
thomas_briggs
12/14/2022, 9:49 PMthomas_briggs
12/14/2022, 9:49 PMjaye_howell
12/14/2022, 9:49 PMthomas_briggs
12/14/2022, 9:52 PMjaye_howell
12/14/2022, 9:52 PMthomas_briggs
12/14/2022, 9:52 PMthomas_briggs
12/14/2022, 9:53 PMjaye_howell
12/14/2022, 9:57 PMchristoph
12/14/2022, 9:58 PMchristoph
12/14/2022, 9:59 PMstart_date
setting in Meltano SDK based taps, "*should*" be available and working out of the box for most of the those taps.christoph
12/14/2022, 10:00 PMstart_date
setting is what could give you an initial point of investigation for limiting the data to extract, if your source has a time-based column that you can use as the 'replication key'jaye_howell
12/14/2022, 10:03 PMjaye_howell
12/14/2022, 10:04 PMjaye_howell
12/14/2022, 10:26 PMloaders:
- name: target-snowflake
config:
account: <http://uxb77134.snowflakecomputing.com|uxb77134.snowflakecomputing.com>
username: <mailto:jaye@mudflapinc.com|jaye@mudflapinc.com>
role: PROD_EL
database: PROD_RAW
warehouse: PROD_EL
schema: MUDFLAP_MELTANO
batch_size: 5000
timestamp_column: ETL__loaded_at
- name: staging
- name: prod
plugins:
extractors:
- name: tap-postgres
variant: transferwise
pip_url: pipelinewise-tap-postgres
loaders:
- name: target-snowflake
variant: meltano
pip_url: git+<https://gitlab.com/meltano/target-snowflake.git>
I am getting a warn of
WARNING: /Users/jayehowell/Documents/REPOS/meltano-demo/demo/.meltano/loaders/target-snowflake/venv/bin/python is loading libcrypto in an unsafe way
2022-12-14T22:22:30.463690Z [debug ] Deleted configuration at /Users/jayehowell/Documents/REPOS/meltano-demo/demo/.meltano/run/target-snowflake/target.8aec8b61-ddc6-4062-adc8-1112bdf53c59.config.json
But dont think that is the issue.
I ran the invoke of the extract to a file then cat and pipe the file to invoke of the loader. A file is produced.thomas_briggs
12/14/2022, 10:28 PMjaye_howell
12/14/2022, 10:30 PMthomas_briggs
12/14/2022, 10:30 PMthomas_briggs
12/14/2022, 10:30 PMjaye_howell
12/14/2022, 10:31 PMthomas_briggs
12/14/2022, 10:31 PMthomas_briggs
12/14/2022, 10:36 PMjaye_howell
12/14/2022, 10:39 PMjaye_howell
12/14/2022, 10:39 PMthomas_briggs
12/14/2022, 10:42 PMjaye_howell
12/14/2022, 10:42 PMthomas_briggs
12/14/2022, 10:42 PMjaye_howell
12/14/2022, 10:42 PMthomas_briggs
12/14/2022, 10:42 PMjaye_howell
12/14/2022, 10:43 PMthomas_briggs
12/14/2022, 10:48 PMjaye_howell
12/14/2022, 10:48 PMthomas_briggs
12/15/2022, 2:07 PMmeltano invoke target-snowflake
what do you get?jaye_howell
12/15/2022, 6:18 PMjaye_howell
12/15/2022, 6:19 PMthomas_briggs
12/15/2022, 7:43 PM