GlareDB / glaredb

GlareDB: An analytics DBMS for distributed data
https://glaredb.com
MIT License
719 stars 41 forks source link

Postgres: Enums #2025

Open greyscaled opened 1 year ago

greyscaled commented 1 year ago

improve type conversion for enums in datafusion wrapper, probably need to convert better here: https://github.com/glaredb/glaredb/blob/6daac7d3a8920bd2c7d3dd467a5a4e8dc8904f80/crates/datasources/src/postgres/mod.rs#L389-L420

scsmithr commented 1 year ago

Error message:

Error during planning: Unable to fetch table provider for 'dev.public.suppress_vulnerability': Unknown Postgres OIDs: [23, 1043, 23, 23, 1043, 1043, 3802, 1043, 1043, 1114, 1114, 108832, 3802, 1043, 1043, 1043, 1043, 20, 20, 20, 20, 1114, 1114]

Immediate next step: Need to specify which oid is unknown. Currently shows us all the oids we have, but not which one we failed to get the type for.