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

remove code not strictly required for ZQL, update comments [1] #53

Merged
merged 4 commits into from
Apr 1, 2024

Conversation

tantaman
Copy link

@tantaman tantaman commented Mar 28, 2024

  • Remove Queue. We never actually build up a queue of values in this implementation. Everything is batched into a single multiset each transaction due to our queue, notify, run staging.
  • Remove PersistentTreeView (we only need a mutable tree for ZQL. For now anyway..)
  • Remove AbstractTreeView (no longer have two different tree views since we removed the persistent one)
  • Remove IDifferenceStream (ZQL only has a single implementation)
  • Remove PassThroughOperator (ZQL doesn't need to temporarily detach pipelines)
  • Remove StatelessSource (ZQL always queries history)

GroupBy has some changes to aggregation that will let us:

  • Remove AbstractView
  • Remove PrimitiveView

The queue, notify, run, notifyCommitted pattern still exists. It doesn't seem that difficult to grok once I looked at it again to consider removing it.

@tantaman tantaman changed the title remove unused code, update comments remove code not strictly required for ZQL, update comments Mar 28, 2024
src/zql/ast-to-ivm/pipeline-builder.test.ts Outdated Show resolved Hide resolved
src/zql/context/context.ts Outdated Show resolved Hide resolved
src/zql/ivm/graph/operators/operator.ts Outdated Show resolved Hide resolved
Base automatically changed from mlaw/group-by to main March 29, 2024 19:55
@tantaman tantaman changed the title remove code not strictly required for ZQL, update comments remove code not strictly required for ZQL, update comments [1/n] Apr 1, 2024
@tantaman tantaman changed the title remove code not strictly required for ZQL, update comments [1/n] remove code not strictly required for ZQL, update comments [1] Apr 1, 2024
@tantaman tantaman merged commit aa1a6cf into main Apr 1, 2024
4 checks passed
@tantaman tantaman deleted the mlaw/simplify branch April 1, 2024 16:54
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

Successfully merging this pull request may close these issues.

2 participants