Skip to content

columns_comments in s3.to_csv will not work as expected  #268

@bryanyang0528

Description

@bryanyang0528

Describe the bug
The comment here https://github.com/awslabs/aws-data-wrangler/blob/master/awswrangler/s3.py#L684
said that dataset=False will not be able to use with these arguments: database, table, description, parameters, and columns_comments. But columns_comments is not a if else statement in this part.

To Reproduce
When a user called to_csv with dataset=False and columns_comment={"foo": "bar"}, this method can run normally without any exception.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingminor releaseWill be addressed in the next minor release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions