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

pq programs with arbitrary number of filters #10

Open
iximiuz opened this issue Jul 30, 2021 · 0 comments
Open

pq programs with arbitrary number of filters #10

iximiuz opened this issue Jul 30, 2021 · 0 comments

Comments

@iximiuz
Copy link
Owner

iximiuz commented Jul 30, 2021

At the moment, a valid pq program must always start from a decoder step, then have 0 or 1 mapping (transform step), and then 0 or 1 query step, potentially followed by a formatter. While I don't see how multiple query steps can be added, a more generic format like decode | map | map | ... | map | query | format would make the pq language much more expressive. Actually, the very first decode step would just become a syntactic sugar for map { .0: decode }.

The change would require some moderate refactoring, of course.

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