Skip to content

How to insert SUPER AND GEOMETRY data type values? #79

Discussion options

You must be logged in to vote

Thank you for this feedback. We will add examples to our docs, likely in the form of a tutorial. In the meantime I've added some docs below -- feel free to let me know what other examples/information would be helpful :)

Geometry

When sending Geometry datatype, use WKB (well known binary) format unless passing to a Redshift server method such as ST_GeomFromText(). In that case, a WKT (well known text) representation should be used. Available Redshift server methods can be found, with examples, here.

Geometry datatype is received in WKB format.

Super

When sending super datatype, send it as a string. If your Python datatype is a dict, use json.dumps.

When receiving super datatype, a string i…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Brooke-white
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants