-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: Added support for OpenLineage integration #5884
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
|
|
||
| ## Lineage Visualization | ||
|
|
||
| Use [Marquez](https://marquezproject.ai/) to visualize your Feast lineage: |
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.
oh this is a weird name for openlineage's visualization but this is the name of it. leaving a comment for future
| namespace=namespace, | ||
| ) | ||
|
|
||
| return self._client.emit_dataset_event( |
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.
why is entity a datatset event?
| namespace=namespace, | ||
| ) | ||
| except Exception as e: | ||
| logger.error(f"Error emitting historical retrieval lineage: {e}") |
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.
we should be emitting "FAIL" events here
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.
| logger.error(f"Error emitting historical retrieval lineage: {e}") | ||
| return False | ||
|
|
||
| def emit_online_retrieval( |
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.
does this actually make sense to do?
| ) | ||
| } | ||
|
|
||
| result1 = self._client.emit_run_event( |
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.
shouldn't this be an "OTHER" even type?
| ) | ||
|
|
||
| # Emit OpenLineage event for historical retrieval | ||
| self._emit_openlineage_historical_retrieval( |
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.
do we need to emit events for retrieval?
What this PR does / why we need it:
Added support for OpenLineage integration