-
Notifications
You must be signed in to change notification settings - Fork 9
Refactor spark to create modular jobs for orchestrator #402
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
4dd487e
WIP
ezvz 1d72774
WIP
ezvz 5407c42
WIP
ezvz 267df11
WIP
ezvz 615d0c2
WIP
ezvz f3e0511
WIP
ezvz 650f5df
WIP
ezvz bbbc878
WIP
ezvz 2ecd3c2
WIP
ezvz 2fe8a89
WIP
ezvz 0cbd0c0
WIP
ezvz cd971c5
WIP
ezvz 2eab5d8
WIP
ezvz a19a89c
WIP
ezvz 4d92a15
WIP
ezvz ca7f9c6
WIP
ezvz 009d96b
WIP
ezvz c76de9c
WIP
ezvz fe3c35f
WIP
ezvz 8b3ac4f
WIP
ezvz 758f40b
WIP
ezvz c1f345b
WIP
ezvz c01e278
WIP
ezvz 3001bd6
WIP
ezvz 88c9af6
WIP
ezvz c449039
WIP
ezvz 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| .git |
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
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
3 changes: 1 addition & 2 deletions
3
online/src/main/scala/ai/chronon/online/OnlineDerivationUtil.scala
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,8 +23,8 @@ git clone [email protected]:zipline-ai/cananry-confs.git | |
| cd cananry-confs | ||
|
|
||
| # Use the branch with Zipline specific team.json | ||
| git fetch origin davidhan/canary | ||
| git checkout davidhan/canary | ||
| git fetch origin davidhan/selects | ||
| git checkout davidhan/selects | ||
|
Comment on lines
+26
to
+27
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we should merge these branches |
||
|
|
||
| # Create a virtualenv to fresh install zipline-ai | ||
| python3 -m venv tmp_chronon | ||
|
|
@@ -35,7 +35,7 @@ gcloud storage cp gs://zipline-artifacts-canary/jars/$WHEEL_FILE . | |
|
|
||
| # Install the wheel (force) | ||
| pip uninstall zipline-ai | ||
| pip install --force-reinstall $WHEEL_FILE | ||
| pip install --force-reinstall $WHEEL_FILE --break-system-packages | ||
|
|
||
| export PYTHONPATH="${PYTHONPATH}:$(pwd)" | ||
|
|
||
|
|
@@ -88,7 +88,7 @@ check_dataproc_job_state $METADATA_UPLOAD_JOB_ID | |
| # Need to wait for upload-to-kv to finish | ||
| echo -e "${GREEN}<<<<<.....................................FETCH.....................................>>>>>\033[0m" | ||
| touch tmp_fetch.out | ||
| zipline run --mode fetch --conf-type group_bys --name quickstart/purchases.v1_test -k '{"user_id":"5"}' 2>&1 | tee tmp_fetch.out | grep -q purchase_price_average_14d | ||
| zipline run --mode fetch --conf-type group_bys --name quickstart.purchases.v1_test -k '{"user_id":"5"}' 2>&1 | tee tmp_fetch.out | grep -q purchase_price_average_14d | ||
| cat tmp_fetch.out | grep purchase_price_average_14d | ||
| # check if exit code of previous is 0 | ||
| if [ $? -ne 0 ]; then | ||
|
|
||
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.
Uh oh!
There was an error while loading. Please reload this page.