ashish_kumar
05/04/2022, 8:50 AMvisch
05/04/2022, 1:03 PMashish_kumar
05/04/2022, 1:06 PMashish_kumar
05/04/2022, 1:21 PMashish_kumar
05/04/2022, 2:04 PMpat_nadolny
05/04/2022, 2:29 PMashish_kumar
05/04/2022, 2:35 PM2022-05-04T14:27:35.011678Z [info ] snowflake.connector.errors.ProgrammingError: 000904 (42000): SQL compilation error: error line 1 at position 70 cmd_type=loader job_id=mongo-to-snowflake name=target-snowflake run_id=5c3be2a5-2523-4b6b-b09e-916c78bb2e36 stdio=stderr
2022-05-04T14:27:35.011884Z [info ] invalid identifier '_ID' cmd_type=loader job_id=mongo-to-snowflake name=target-snowflake run_id=5c3be2a5-2523-4b6b-b09e-916c78bb2e36 stdio=stderr
pat_nadolny
05/04/2022, 2:46 PMmeltano invoke
of your tap would be helpful tooashish_kumar
05/04/2022, 2:50 PMversion: 1
default_environment: dev
project_id: 0df72b50-ba8a-4169-884b-bafd34832785
plugins:
extractors:
- name: tap-mongodb
variant: singer-io
pip_url: tap-mongodb
config:
host: ************
port: 27017
user: f*****************
database: admin
replica_set: atlas-f6gbhi-shard-0
loaders:
- name: target-jsonl
variant: andyh1203
pip_url: target-jsonl
config:
do_timestamp_file: true
- name: target-snowflake
variant: transferwise
pip_url: pipelinewise-target-snowflake
config:
account: *************
dbname: ANALYSIS
user: ASHISH_DEV
warehouse: DEV_TEST_WH
file_format: ANALYSIS.MELTANO_ASHISH.FILE_FORMAT_CSV
role: DBT_DEVELOPER
default_target_schema: MELTANO_ASHISH
add_metadata_columns: false
logging_level: DEBUG
batch_size_rows: 1000000
schema_mapping:
public:
traget_schema: MELTANO_ASHISH
primary_key_required: false
schedules:
- name: mongodb-to-jsonl
extractor: tap-mongodb
loader: target-jsonl
transform: skip
interval: '@once'
start_date: 2022-04-30 09:55:11.751603
environments:
- name: dev
config:
plugins:
extractors:
- name: tap-mongodb
config:
ssl: true
filter_schemas: public
default_replication_method: FULL_TABLE
metadata:
'*':
replication-method: FULL_TABLE
select:
- koalas-applications-test-applications
loaders:
- name: target-jsonl
config:
destination_path: origination_elt/output
- name: target-snowflake
config:
account: ********
dbname: ANALYSIS
user: ASHISH_DEV
warehouse: DEV_TEST_WH
file_format: ANALYSIS.MELTANO_ASHISH.FILE_FORMAT_CSV
role: DBT_DEVELOPER
default_target_schema: MELTANO_ASHISH
add_metadata_columns: false
logging_level: DEBUG
batch_size_rows: 1000000
primary_key_required: false
- name: staging
- name: prod
ashish_kumar
05/04/2022, 2:53 PMpat_nadolny
05/04/2022, 3:04 PM{"type": "SCHEMA", "stream": "applications", "schema": {"type": "object"}, "key_properties": ["_id"]}
is being sent as the first schema message for that stream. The second one looks right. Maybe its a bug with the tap? I found this https://github.com/singer-io/tap-mongodb/issues/48 and someone said they resolved by using https://github.com/transferwise/pipelinewise-tap-mongodb instead. @ptd and @nigel_ainscoe I saw you both were using tap-mongodb, did you see any schema issues? what variant is working for you all?ptd
05/04/2022, 3:11 PMpat_nadolny
05/04/2022, 3:13 PMnigel_ainscoe
05/04/2022, 3:13 PM