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

Support for streaming/standard input #399

Open
duncandewhurst opened this issue Sep 13, 2022 · 2 comments
Open

Support for streaming/standard input #399

duncandewhurst opened this issue Sep 13, 2022 · 2 comments
Labels

Comments

@duncandewhurst
Copy link
Contributor

We're using Flatten Tool for flattening in OFDS, which offers JSON Lines as a format for large files.

As far as I can see, currently Flatten Tool only supports file input, so users would need to segment/repackage data published using JSON Lines in order to pass it to Flatten Tool, and would then need to recombine the output afterwards.

How much work would it be for Flatten Tool to support streaming/standard input?

@jpmckinney
Copy link
Contributor

See also #297 and related PR #246.

@Bjwebb
Copy link
Member

Bjwebb commented Sep 14, 2022

This should be fairly straightforward, as we just iterate through the JSON file, we don't need it all loaded into memory.

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

No branches or pull requests

3 participants