robin_spilner
10/11/2024, 7:08 PMversion: 1
default_environment: dev
project_id: id_here
environments:
- name: dev
- name: staging
- name: prod
plugins:
extractors:
- name: tap-purecloud
variant: pathlight
pip_url: git+<https://github.com/Pathlight/tap-purecloud.git>
config:
domain: <http://mypurecloud.com|mypurecloud.com>
start_date: '2024-10-06'
loaders:
- name: target-oracle
variant: radbrt
pip_url: git+<https://github.com/radbrt/target-oracle.git>
config:
sqlalchemy_url: oracle+cx_<oracle://[USER]@proxy_user>
flattening_enabled: true
flattening_max_depth: 3
We see the following error
[info ] KeyError: 'division__id'
I assumed this was an issue with schema flattening, but we have played around with the max depth and it seems to have no bearing on the error. The only other thing I noticed was that a top level id is a key property which the keyError is on division{id:, name:, url:}
Should this be resolved by schema flattening or am I misinterpreting the error?visch
10/14/2024, 12:30 PMrobin_spilner
10/14/2024, 1:29 PMrobin_spilner
10/22/2024, 3:52 PM{
"type": "object",
"properties": {
"email": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"username": {
"type": "string"
}
}
}
The error is
ValueError: dict contains fields not in fieldnames: 'selfUri', 'division__id', 'division__selfUri', 'businessUnit__id', 'businessUnit__selfUri'
robin_spilner
10/22/2024, 3:53 PMEdgar RamÃrez (Arch.dev)
10/22/2024, 5:39 PMrobin_spilner
10/22/2024, 6:05 PMEdgar RamÃrez (Arch.dev)
10/22/2024, 6:15 PMrobin_spilner
10/23/2024, 1:14 PM