any ideas what the mapping should be for these dat...
# troubleshoot
s
any ideas what the mapping should be for these data type errors during ingestion from a postgres database?
Copy code
- unable to map type Geography(geometry_type='POINT', srid=4326, from_text='ST_GeogFromText'
- unable to map type UUID() to metadata schema
- unable to map type OID() to metadata schema
- unable to map type Geography(geometry_type='MULTIPOLYGON', srid=4326, from_text='ST_GeogFromText', name='geography') to metadata schema
- unable to map type Geometry(from_text='ST_GeomFromEWKT', name='geometry') to metadata schema
- unable to map type INET() to metadata schema
@gray-shoe-75895 Any suggestions where I can add these to fix this problem?
g
Does it show up incorrectly in the UI?
In the Postgres sql source you can add custom mappings (eg snowflake does this as an example), but we do handle this error somewhat gracefully and it should show up ok in the UI
s
It shows up as
UUID()
. Seems like the string is added as-it-is. For these custom types it is supposed to show up like this?
g
Yep that’s the expected behavior right now - we will clean it up a bit in the future