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

Pipeline Command #21

Open
verdverm opened this issue Nov 17, 2021 · 0 comments
Open

Pipeline Command #21

verdverm opened this issue Nov 17, 2021 · 0 comments

Comments

@verdverm
Copy link
Member

verdverm commented Nov 17, 2021

Implement a pipeline command

  • enables writing DAGs for ETL like processes, use cue/tools/flow
  • attributes to reference operators, so we can use Go implementations
    • @pick() ... @op()
    • @print() and @write()
  • Need to figure out how to reference inputs/outputs between tasks
  • Ability to print DAG with something like https://github.com/silas/dag
  • Process each glob/file arg with pipeline
  • Some way to support single, inline pipeline at CLI cuetils pipeline '{ @extact() a: b: _ } ~ { @mask() c: _ } ~ { @canonical _ }' *.json. What should the separator be? (~, ;), should not be an existing token used ambiguously in that context (like |). Will have to do some processing to make each segment valid CUE (like line break after @op(), first { and last } should be sufficient?
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

1 participant