-
Notifications
You must be signed in to change notification settings - Fork 90
Write daily IRs for incremental aggregation #998
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
Open
kambstreat
wants to merge
66
commits into
airbnb:main
Choose a base branch
from
kambstreat:kchakka/incremental
base: main
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.
Open
Changes from all commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
eaacfa6
code to write daily irs
kambstreat 40b6cb2
store incremental agg and compute final IRs
kambstreat a014b6e
Store hops to inc tables
kambstreat 32d559e
add code changes to generate final output from IR for AVG
kambstreat 37293df
change function structure and variable names
kambstreat 6263706
remove unused functions
kambstreat cb4325b
change function defs
kambstreat 796ef96
make changes
kambstreat f218b23
change function order
kambstreat b1d4ee9
add new field is_incremental to python api
kambstreat 2ab7659
get argument for isIncremental in scala spark backend
kambstreat 238c781
add unit test for incremental groupby
kambstreat 8edfd27
reuse table ccreation
kambstreat e903683
Update GroupByTest
kambstreat 0bdc4fc
Add GroupByTest for events
kambstreat 7987931
changes for incrementalg
kambstreat 2b26d45
resolve merge conflicts
kambstreat 7b62a43
add last hole logic for incrementnal bacckfill
kambstreat aeeb5ec
fix syntax
kambstreat 9180d23
fix bug : backfill only for missing holes
kambstreat ee81672
fix none error for inc Table
kambstreat 29a3f28
add incremental table queryable range
kambstreat aa16010
add logging for tableUtils
kambstreat ff41cc9
add log
kambstreat aa25f9f
fill incremental holes
kambstreat 3efe8cd
modify incremental aggregation parts
kambstreat a3bece6
remove logs for debugging
kambstreat 897d18c
fix output schema from incremenntal aggregations. Added unit tests
kambstreat a52d7d0
resolve merge conflicts
kambstreat 9c446ec
resolve merge conflict
kambstreat ca14309
add test case to test struct of Average
kambstreat dfb9226
add option for isIncremental for backward compatibility
kambstreat 7ca4dfc
resolve merge conflicts
kambstreat ab994bc
fix count operation from incremental IRS
kambstreat 2714ad5
use saw tooth aggregator to compute from daily IRs
kambstreat d70cfa7
remove Average IR
kambstreat 053fd9d
remove empty spaces and unused functions
kambstreat 99f9788
testing subset of aggregations
kambstreat 7dff16e
remove duplicate test
kambstreat 5852a1b
add unit tests for all aggregations
kambstreat c29a1df
convert spark datatype to java
kambstreat bb9b7d2
resolve merge conflicts
kambstreat 2f78a05
scala formatted
kambstreat b296d70
fix for scala 2.13
kambstreat 3202e7d
fix for scala 2.13
kambstreat fa2fcba
change unit test
kambstreat b0e90bf
add toSeq for scala 2.13 compatibility
kambstreat 7138a66
fix last/first tests
kambstreat 325302c
add new test file for incremental aggregations
kambstreat 40aa755
fix failed ci
pengyu-hou b847a40
remove obsolete comment
kambstreat 7692f24
Merge branch 'kchakka/incremental' of https://github.com/kambstreat/c…
kambstreat b385cda
revert to master files tor spark_submit.sh and teams.json
kambstreat 464395b
remove log statements during debug
kambstreat 1002744
Add daily_inc suffix to incremental table
kambstreat cd141ab
fix bug in flatten function
kambstreat 9a25d10
Merge branch 'kchakka/incremental' of https://github.com/kambstreat/c…
kambstreat a9f3c78
revert changes in GroupByTest
kambstreat 0a8499d
Merge branch 'main' of github.com:airbnb/chronon into kchakka/increme…
pengyu-hou 91d2768
remove comment
kambstreat 5649e0c
Merge branch 'main' into kchakka/incremental
pengyu-hou c68ae66
Merge branch 'kchakka/incremental' of https://github.com/kambstreat/c…
pengyu-hou eea3bbf
Merge branch 'main' into kchakka/incremental
pengyu-hou 127410c
Merge branch 'kchakka/incremental' of https://github.com/kambstreat/c…
pengyu-hou 0dc3879
Strengthen incremental backfill test coverage and fix bugs in GroupBy…
pengyu-hou 84d3ece
Merge branch 'main' into kchakka/incremental
pengyu-hou 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
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
should we still keep the
aggregationPart.window.suffix? Otherwise, how do we reconstruct the final output column?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.
@pengyu-hou not sure I get it. I can not use the window.suffix right as the intermediate incremental is daily aggregation.