Reputation: 21
I have csv's with quoted strings and the crawler by default registers the table with LazySimpleSerde.Is there anyway I can programmatically change this to use the OpenCSVSerde instead?
Upvotes: 2
Views: 1542
Reputation: 1615
You can make use of boto3 which is an aws sdk. You can simply call their api using python or any other language. To precisely answer your question - You will need to call update_table() api to update serde used by glue table.
https://boto3.readthedocs.io/en/latest/reference/services/glue.html#Glue.Client.update_table
Upvotes: 1