Skip to content

Lineage DAG (outdated) #234

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

Closed
wants to merge 14 commits into from
Closed

Conversation

sean-zlai
Copy link
Contributor

@sean-zlai sean-zlai commented Jan 17, 2025

Summary

Checklist

  • Added Unit Tests
  • Covered by existing CI
  • Integration tested
  • Documentation update

Copy link

coderabbitai bot commented Jan 17, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@sean-zlai sean-zlai mentioned this pull request Jan 17, 2025
4 tasks
david-zlai and others added 14 commits January 17, 2025 14:11
## Summary

## Checklist
- [ ] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Style**
	- Streamlined command construction for better readability.
	- Improved code formatting and readability across multiple functions.
	- Enhanced dictionary and string formatting.
	- Consistent error message presentation.
- **Bug Fixes**
- Updated conditional logic for downloading the dataproc jar to ensure
it only occurs in the appropriate mode.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Summary
Migrated `service_commons` module to Bazel from sbt.

## Checklist
- [ ] Added Unit Tests
- [X] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## Release Notes

- **New Features**
  - Enhanced build configuration to support Java 17
  - Added new JVM rulesets for improved testing and development

- **Dependencies**
  - Updated Netty to version 4.1.111.Final
  - Added JUnit 5 testing components
  - Integrated Vert.x 4.5.10 libraries
  - Added logback and configuration libraries

- **Build Improvements**
  - Refined Bazel build rules for Java libraries and test suites
  - Streamlined dependency management

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: nikhil-zlai <[email protected]>
Co-authored-by: Kumar Teja Chippala <[email protected]>
## Summary

## Checklist
- [ ] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update

Tested:
```
(dev_chronon) davidhan@Davids-MacBook-Pro: ~/zipline/chronon (davidhan/check_for_java11) $ asdf local java corretto-17.0.13.11.1
(dev_chronon) davidhan@Davids-MacBook-Pro: ~/zipline/chronon (davidhan/check_for_java11) $ asdf reshim java corretto-17.0.13.11.1
j(dev_chronon) davidhan@Davids-MacBook-Pro: ~/zipline/chronon (davidhan/check_for_java11) $ javac --version
javac 17.0.13
(dev_chronon) davidhan@Davids-MacBook-Pro: ~/zipline/chronon (davidhan/check_for_java11) $ python  api/py/ai/chronon/repo/run.py --mode upload --conf production/group_bys/quickstart/purchases.v1 --ds  2023-12-01 --dataproc 
(dev_chronon) davidhan@Davids-MacBook-Pro: ~/zipline/chronon (davidhan/check_for_java11) $ 
(dev_chronon) davidhan@Davids-MacBook-Pro: ~/zipline/chronon (davidhan/check_for_java11) $ bash distribution/build_and_upload_gcp_artifacts.sh canary
Working in /Users/davidhan/zipline/chronon
Building wheel
Failed major version of 17. Expecting java version of at least 11.

```



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Added commands for generating Python code from Thrift files in the
build script.
- Introduced a clean command to prepare the build environment before
assembly tasks.
- Added validation for the existence of the Zipline wheel file after
building.

- **Chores**
	- Updated build configuration to target Java 11 compiler settings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Summary

^^^


### Testing
This testing assumes the gbu job (this one is just the job that
generates the data to bigquery) has run.

Tested with this command:
```
(dev_chronon) davidhan@Davids-MacBook-Pro: ~/zipline/chronon (main) $ 
python  api/py/ai/chronon/repo/run.py --mode upload-to-kv --conf production/group_bys/quickstart/purchases.v1 --partition-string=2023-11-30 --dataproc --repo=/Users/davidhan/zipline/chronon/api/py/test/sample
```

and led to successful run of this job:
https://console.cloud.google.com/dataproc/jobs/2f6b0b81-7b34-4a92-840d-cb90059f3d42/monitoring?region=us-central1&project=canary-443022


## Checklist
- [ ] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
	- Added support for a new upload mode to Google Cloud Platform.
	- Enhanced configuration handling for GCP Dataproc clusters.
	- Introduced new GCP-related options in the command-line interface.
	- Updated JSON configuration with new GCP parameters.

- **Bug Fixes**
- Improved error handling and argument processing in various components.

- **Refactor**
	- Updated environment variable naming conventions.
	- Restructured configuration management across multiple files.
	- Enhanced clarity and organization in code structure.

- **Chores**
	- Added support for multiple Java versions.
	- Updated build and deployment scripts for improved reliability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
… repartitioning (#238)

## Summary

## Checklist
- [ ] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Performance Optimization**
- Updated DataFrame coalescing logic to improve resource utilization and
performance.
- Introduced more flexible configuration for DataFrame partition
management.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
…#244)

## Summary

- Removed directory nesting for components (except shadcn-svelte
components in `ui`)
- Rework page layout structure and data loading strategy
  - Removes unnecessary data loading (ex. data distributions)
- Improves performance by no longer rendering other/offscreen tab
content
- Provides better page component organization (and smaller files) via
use of layouts (including nested)
- Data loading can be handled more granularly and consistently via
`load()` function. This also enables browser caching via `setHeaders({
'cache-control': ... })`
([example](https://github.com/techniq/strava-analysis/blob/main/src/routes/analysis/%2Blayout.server.ts#L73C3-L75C6))
  - Persist tab state for drift/distributions as route params

## Checklist
- [ ] Added Unit Tests
- [x] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Summary by CodeRabbit

- **Refactor**
	- Simplified import paths across multiple frontend components
	- Removed redundant subdirectories in component imports

- **New Features**
	- Added new layout for joins detail page with tab navigation
	- Introduced new observability navigation tabs
	- Created new ModelTable component for displaying model details
	- Added new distributions page for feature distributions
	- Implemented zoom functionality in distribution charts
	- Added placeholder content for lineage page

- **Changes**
	- Updated page routing for joins detail pages
	- Modified page load and redirect behaviors
	- Restructured observability and job tracker views
	- Added loading state handling in distribution components
	- Implemented redirects for specific observability routes
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

<!-- av pr metadata
This information is embedded by the av CLI when creating PRs to track
the status of stacks when using Aviator. Please do not delete or edit
this section of the PR.
```
{"parent":"main","parentHead":"","trunk":"main"}
```
-->

---------

Co-authored-by: Sean Lynch <[email protected]>
## Summary

## Checklist
- [ ] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update


<!-- av pr metadata
This information is embedded by the av CLI when creating PRs to track
the status of stacks when using Aviator. Please do not delete or edit
this section of the PR.
```
{"parent":"main","parentHead":"","trunk":"main"}
```
-->


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Refactor**
- Removed unused `fade` transition import from Svelte in distribution
and drift observability pages
	- No functional changes to the components

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Sean Lynch <[email protected]>
## Summary
^^^

## Checklist
- [ ] Added Unit Tests
- [x] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
	- Added a new Async KV Store writer test to the workflow
	- Enhanced test suite with tagging capabilities

- **Chores**
	- Updated project dependencies in build configuration
	- Refined GitHub Actions workflow configuration

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@sean-zlai sean-zlai changed the title Lineage DAG Lineage DAG (outdated) Jan 20, 2025
@sean-zlai sean-zlai closed this Jan 20, 2025
@sean-zlai sean-zlai mentioned this pull request Jan 20, 2025
4 tasks
@sean-zlai sean-zlai deleted the sean/lineage-dag2 branch May 12, 2025 19:02
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.

5 participants