holgerbrandl / krangl

krangl is a {K}otlin DSL for data w{rangl}ing
MIT License
560 stars 50 forks source link

Column type 1111 #141

Open jazzysnake opened 2 years ago

jazzysnake commented 2 years ago

Hey, I just started playing around with krangl, but when I was trying to read from a postgresql db I got the following error: Column type 1111 is not yet supported by {krangl}. I haven't found any documentation on it. I checked every column type in the db and they were all converted correctly, besides: org.postgresql.util.PGobject The PGobject is a list of jsons in the db. Here's a sample: [ { "chaincode": "simple", "set": [ { "key": "a" } ] } ]

holgerbrandl commented 2 years ago

Database type mappings are done in https://github.com/holgerbrandl/krangl/blob/master/src/main/kotlin/krangl/Builder.kt#L309 Not sure what 1111 is all about. Could you share some details, so that we could extend the mapper?