Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on September 5, 2018 5:19PM
Likes: 0
Replies: 5
Hello,
In my python receipt, I would like to write in my PostreSQL database (with PostGis extension) data with a geometry type. Therefore, I declared a schema and created my table with this specific schema
schema = [{"name": 'id', "type": 'int'}, {"name": 'value', "type": 'string'}, {"name": 'the_geom', "type": 'geometry'}]
test_schema = dataiku.Dataset("test_schema")
test_schema.write_schema(schema, dropAndCreate=True)
with test_schema.get_writer() as writer:
writer.write_dataframe(df_test)
However there's no way "Dataiku" recognizes any geometry type I tried. Is it possible to have the list of types that Dataiku can handle?
Hello Clément,
Have you any news on that topic? I have the same issue with visual recipes. Do we still have to add a SQL scripts to our Workflow?
Thanks in advance
Romain
Thanks Corey,
I don't need to look for another solution anymore. So it helps.