Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

CSV file uses wrong file format (uses JSON instead of CSV) #131

@cwegener

Description

@cwegener

This is a most obvious bug, but somehow I'm the first person to report this?

json.dumps(flatten[name], ensure_ascii=False)

The Postgresql COPY command does NOT support reading JSON formatted files. It only supports CSV formatted files (and Binary and Text formats)

https://www.postgresql.org/docs/current/sql-copy.html

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