Add A Single Column CSV To DynamoDb Table Via S3

  Kiến thức lập trình

I have a large CSV file of 265,000,000 domain names, one domain per line. I want to upload this file to AWS S3 and then upload the file to DynamoDb. I have some questions. 1) Can I make the domain on each line my PK? 2) Do I need to define a PK in my CSV header? For example, I want to name my DynamoDb domain column, “d”. So do I simply put a single “d” in my CSV file header and leave it at that?

d
mydomain1.com
mydomain2.com
mydomain3.com
...etc...
  1. Lastly, do I need to separate each domain with a comma? Or is one domain per line and no comma okay?

Thanks

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT