S3 Select CSV Headers

前端 未结 3 1667
独厮守ぢ
独厮守ぢ 2021-01-13 08:12

I am using S3 Select to read csv file from S3 Bucket and outputting as CSV. In the output I only see rows, but not headers. How do I get output with headers included.

<
3条回答
  •  暖寄归人
    2021-01-13 08:34

    Amazon S3 Select will not output headers.

    In your code, you could just include a print command to output the headers before looping through the results.

提交回复
热议问题