Skip to content

[BUG] Encoding error when read csv #649

Open
@chan1108

Description

@chan1108

Describe the bug
When I tried to load the dataset which is encoded with ISO-8859-1 in a certain symbol, the moduel raised a error

ERROR - Error initializing csv source 'mobile_dataset': Invalid Input Error: CSV Error on Line: 929

To Reproduce
Steps to reproduce the behavior:
Everytime when loading ISO-8859-1 files.

Expected behavior
Load files correctly

Screenshots

Environment:

  • OS: [MacOS]
  • Browser: [Edge]
  • Version: [135.0.3179.54]

Additional context
I checked the documentation and found no way to specify the encoding. Then I looked into the code and found that the module uses DuckDB to read CSV files. DuckDB had discussed the issue, and it seems they have already fixed it, since encoding can now be specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions