AWS Glue crawler change serde

核能气质少年 提交于 2020-01-24 17:30:06

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/48438102/aws-glue-crawler-change-serde

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!