Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export JSON without column name as root #8

Open
buildbreakdo opened this issue Feb 6, 2017 · 1 comment
Open

Export JSON without column name as root #8

buildbreakdo opened this issue Feb 6, 2017 · 1 comment

Comments

@buildbreakdo
Copy link

buildbreakdo commented Feb 6, 2017

@lukasmartinelli Import new line delimited JSON with pgfutter --host=localhost --port=5432 --schema=public json jsonfile and then export same JSON (no transformations) with pgclimb via $ pgclimb -c "select data from jsonfile;" jsonlines > jsonfile yields {"data":{"foo":"bar"}}.

How can I avoid the wrapping of the JSON in the column name? Have to shuffle large datasets in and out for transformations and re-query when an algorithm changes.

@ebbauer
Copy link

ebbauer commented Apr 20, 2020

that is a good one, especially for jsonline export type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants