-
Notifications
You must be signed in to change notification settings - Fork 119
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
Enhancement/8561507350/precompute output schema from processing #2233
Open
alexowens90
wants to merge
29
commits into
master
Choose a base branch
from
enhancement/8561507350/precompute-output-schema-from-processing
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,474
−28
Open
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
45d9a43
Implement modify_schema for passthrough, row range, and date range cl…
alexowens90 c4ff8e9
Implement and test FilterClause::modify_schema based only on input_co…
alexowens90 9772e0e
Implement and test PartitionClause::modify_schema
alexowens90 191a101
Implemented AggregationClause::modify_schema
alexowens90 912c059
Aggregation column names tested
alexowens90 4b1cf76
Implement aggregation output types properly, test for sum
alexowens90 5970065
Tests for min and max aggregators
alexowens90 738c9b3
Tests for mean aggregator
alexowens90 9938d77
Refactored tests
alexowens90 c68eda1
Implement modify_schema for ResampleClause
alexowens90 3923582
ResampleClause::modify_schema fully tested
alexowens90 0ff5086
Tests for RemoveCOlumnPartitioning, Split, Sort, and Merge clauses, a…
alexowens90 c103b92
Throw if modify_schema is called on ColumnStatsGenerationClause
alexowens90 a0b0266
Same level of checks for FilterClause added to ProjectionClause
alexowens90 c419245
Implemented type checking for ProjectClause (untested)
alexowens90 0d3f2d5
Implemented type checking for FilterClause (untested)
alexowens90 ac9e385
Fix filter and project tests
alexowens90 2073432
Clone StreamDescriptors
alexowens90 cb344ae
AST validity tests passing for projections
alexowens90 e401c17
AST validity tests passing for filters
alexowens90 fd5d85c
Remove unneeded computed_data
alexowens90 15ea08e
Keep cache of column types
alexowens90 1b63ab0
Make ExpressionContext const&
alexowens90 ed5e186
Implement PartitionClause::modify_schema in the same way as the others
alexowens90 9f0c941
Factor out input columns check to own method
alexowens90 eab0465
Factor out check that a stream descriptor represents a timeseries int…
alexowens90 1c7d237
Improve return type of ExpressionNode::compute
alexowens90 4029b74
Factor out child type calculation to own method
alexowens90 8ed9560
Uncomment test files
alexowens90 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
AST validity tests passing for filters
commit e401c17232a2319d7048152dcb87989ed9578b0b
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related to my other comment about difference between
BitSetTag
andDataType::BOOL8
.Shouldn't
AND
,OR
,XOR
,NOT
operations returnDataType::BOOL8
, not aBitSetTag
?E.g. if we have nested
(something AND (NOT something_else))
theNOT
clause should either return a bool or theAND
clause should accept aBitSetTag