Bruno Arnabar
07/29/2025, 9:26 PMmeltano run tap-oracle remove-clobs target-oracle
and in my yml i have:
mappers:
- name: meltano-map-transformer
variant: meltano
pip_url: meltano-map-transform
mappings:
- name: remove-clobs
config:
stream_maps:
CUSTOMER_PHOTO:
photo: __NULL__
thumbnail: __NULL__
ENVISION-CUSTOMER_PHOTO:
photo: __NULL__
thumbnail: __NULL__
Yet as it runs it still leads me to:
RuntimeError: Could not convert column 'customer_photo.photo' from 'VARCHAR(4000)' to 'VARCHAR(4294967295)'
Reuben (Matatika)
07/30/2025, 1:58 AMCUSTOMER_PHOTO
.visch
07/30/2025, 12:24 PMReuben (Matatika)
07/30/2025, 12:34 PMBruno Arnabar
07/30/2025, 1:01 PMmeltano invoke tap-oracle --discover
and got back the catalog
then I ran
meltano select --list --all tap-oracle
Legend:
selected
excluded
automatic
unsupported
Enabled patterns:
ENVISION-CUSTOMER_PHOTO.*
Selected attributes:
[automatic ] ENVISION-CUSTOMER_PHOTO.CUST_ID
[selected ] ENVISION-CUSTOMER_PHOTO.PHOTO
[selected ] ENVISION-CUSTOMER_PHOTO.PHOTOMODIFIEDDATE
[selected ] ENVISION-CUSTOMER_PHOTO.THUMBNAIL
[selected ] ENVISION-CUSTOMER_PHOTO.THUMBNAILMODIFIEDDATE
so then I ran
meltano select tap-oracle --rm ENVISION-CUSTOMER_PHOTO PHOTO
meltano select tap-oracle --rm "ENVISION-CUSTOMER_PHOTO" "PHOTO"
meltano select tap-oracle --rm -exclude "ENVISION-CUSTOMER_PHOTO"
"PHOTO"
Essentially trying the different approaches laid out in https://docs.meltano.com/reference/command-line-interface/#select
But it seems that no pattern was changedReuben (Matatika)
07/30/2025, 1:11 PM--rm
removes patterns. You want:
meltano select tap-oracle ENVISION-CUSTOMER_PHOTO
meltano select tap-oracle --exclude ENVISION-CUSTOMER_PHOTO PHOTO
or just put
select:
- 'ENVISION-CUSTOMER_PHOTO.*'
- '!ENVISION-CUSTOMER_PHOTO.PHOTO'
in your meltano.yml
.Bruno Arnabar
07/30/2025, 1:16 PMLegend:
selected
excluded
automatic
unsupported
Enabled patterns:
ENVISION-CUSTOMER_PHOTO.*
!ENVISION-CUSTOMER_PHOTO.PHOTO
!ENVISION-CUSTOMER_PHOTO.THUMBNAIL
Selected attributes:
[automatic ] ENVISION-CUSTOMER_PHOTO.CUST_ID
[excluded ] ENVISION-CUSTOMER_PHOTO.PHOTO
[selected ] ENVISION-CUSTOMER_PHOTO.PHOTOMODIFIEDDATE
[excluded ] ENVISION-CUSTOMER_PHOTO.THUMBNAIL
[selected ] ENVISION-CUSTOMER_PHOTO.THUMBNAILMODIFIEDDATE
But when I run it still looks to resolve Photo:
RuntimeError: Could not convert column 'customer_photo.photo' from 'VARCHAR(4000)' to 'VARCHAR(4294967295)'. cmd_type=elb consumer=True job_name=dev:tap-oracle-to-target-oracle name=target-oracle producer=False run_id=38318763-dcbd-4d24-bab2-4acc9f56329e stdio=stderr string_id=target-oracle
When its excluded from the tap does that column still load onto the target?visch
07/30/2025, 1:17 PMvisch
07/30/2025, 1:17 PMvisch
07/30/2025, 1:18 PMReuben (Matatika)
07/30/2025, 1:39 PMmeltano invoke --dump catalog tap-oracle > catalog.json
Bruno Arnabar
07/30/2025, 2:04 PMReuben (Matatika)
07/30/2025, 3:42 PM{
"breadcrumb": [
"properties",
"PHOTO"
],
"metadata": {
"sql-datatype": "BLOB",
"inclusion": "available",
"selected-by-default": true,
"selected": true
}
},
So PHOTO
is selected, despite your selection criteria... 🤔Edgar Ramírez (Arch.dev)
07/30/2025, 6:35 PMBruno Arnabar
07/30/2025, 6:40 PMReuben (Matatika)
07/30/2025, 8:14 PMmeltano-map-transformer
actually. I would try the casing change now we know the properties are upper-case:
stream_maps:
ENVISION-CUSTOMER_PHOTO:
PHOTO: __NULL__
THUMBNAIL: __NULL__