emcp
09/12/2021, 8:43 PMdatamill-co/target-postgres
but wondering.. this thing looks about 2 years with no changes.. are others on a better version of a postgres target?
https://github.com/datamill-co/target-postgres/issues/208amanda.folson
09/13/2021, 6:53 PMemcp
09/14/2021, 7:05 AMemcp
09/14/2021, 9:38 PMemcp
09/14/2021, 9:38 PMemcp
09/14/2021, 9:44 PMemcp
09/14/2021, 9:44 PMNULL
emcp
09/14/2021, 9:44 PMemcp
09/14/2021, 9:45 PMNULL
emcp
09/14/2021, 9:47 PMquery_start_time
is returning NaT
emcp
09/14/2021, 9:47 PMemcp
09/14/2021, 9:47 PMemcp
09/14/2021, 9:50 PMCOPY
UPDATE
INSERT
emcp
09/14/2021, 9:51 PMemcp
09/14/2021, 9:54 PMtarget-postgres | INFO Loading 27 rows into 'my_table'
target-postgres | INFO COPY my_table_temp ("col2", "col3", "col4", "col5", "col6", "col7", "col8") FROM STDIN WITH (FORMAT CSV, ESCAPE '\')
target-postgres | INFO UPDATE 27
target-postgres | INFO INSERT 0 0
emcp
09/14/2021, 9:54 PMemcp
09/14/2021, 9:55 PMVARCHAR
emcp
09/14/2021, 10:02 PMstreams.py
looks like
schema = th.PropertiesList(
th.Property("col2", th.StringType),
th.Property("col3", th.StringType),
th.Property("col4", th.StringType),
th.Property("col5", th.StringType),
th.Property("col6", th.StringType),
th.Property("contract_id", th.IntegerType),
th.Property("col7", th.DateTimeType)
).to_dict()
and my record looks like
new_record = {
"col2": python_string.lower(),
"col3": python_string.lower(),
"col4": python_string.lower(),
"col5": python_string.lower(),
"col6": python_string.lower(),
"contract_id": integer_input,
"col7": python_string_with_datetime
}
emcp
09/14/2021, 10:09 PMschema: public
in the setup of the target... not sure whether I should drop that or ..emcp
09/14/2021, 10:18 PMversion: 1
send_anonymous_usage_stats: true
project_id: xxx
plugins:
extractors:
- name: tap-spreadsheets-anywhere
variant: original
pip_url: git+<https://github.com/ets/tap-spreadsheets-anywhere.git>
capabilities:
- catalog
- discover
- state
config:
tables:
- path: <https://dataverse.harvard.edu/api/access/datafile/>
name: mit__house_elections
pattern: "4202836"
start_date: '2010-01-01T00:00:00Z'
key_properties: []
format: csv
delimiter: "\t"
perhaps I too need to learn how to setup my tap for pushing into meltanos variant?emcp
09/14/2021, 10:46 PMemcp
09/14/2021, 11:02 PMemcp
09/14/2021, 11:02 PMemcp
09/14/2021, 11:03 PMemcp
09/14/2021, 11:34 PMSELECT * FROM schema_name.table_name
and it's working nowemcp
09/14/2021, 11:34 PMemcp
09/14/2021, 11:34 PMemcp
09/14/2021, 11:34 PMemcp
09/14/2021, 11:36 PMemcp
09/15/2021, 8:41 AMNULL
transferwise = still running the big big job (takes about 12 hours in bare bones python script) .. happy to say the string data and all gets populated and I currently have the job running at 9 hours 20 minutesemcp
09/15/2021, 8:42 AMamanda.folson
09/15/2021, 3:16 PMedward_ryan
02/03/2022, 3:55 PM