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

Read input from STDIN if no input file specified #21

Closed
cygri opened this issue Jun 10, 2014 · 1 comment
Closed

Read input from STDIN if no input file specified #21

cygri opened this issue Jun 10, 2014 · 1 comment
Labels
Milestone

Comments

@cygri
Copy link
Contributor

cygri commented Jun 10, 2014

Currently, the input file has to be specified on the command line. To be a good unixy citizen and support pipelines (e.g., with csvkit), Tarql should be able to read from stdin if no input file is specified (neither on the command line nor via FROM).

@cygri cygri added the feature label Jun 10, 2014
@cygri cygri added this to the v1.1 milestone Dec 24, 2016
@cygri
Copy link
Contributor Author

cygri commented Dec 24, 2016

Done. This will throw an exception if the mapping requires the input to be read multiple times, as STDIN can only be read once. We could buffer the input from STDIN, but that would break for very large files.

@cygri cygri closed this as completed Dec 24, 2016
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

1 participant