-
Notifications
You must be signed in to change notification settings - Fork 315
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
spec/facet/tests: adding example for change in #2756 #2801
Merged
Merged
Conversation
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
boring-cyborg
bot
added
area:spec
Specifications and standards for the project
area:tests
Testing code
labels
Jun 25, 2024
Signed-off-by: Sheeri K. Cabral <[email protected]>
Signed-off-by: Sheeri K. Cabral <[email protected]>
Sheeri
force-pushed
the
2799_add_ex_for_2756
branch
from
June 25, 2024 14:19
ec0f191
to
a253023
Compare
tnazarew
reviewed
Jun 26, 2024
tnazarew
reviewed
Jun 26, 2024
tnazarew
reviewed
Jun 26, 2024
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.
thanks for the test update!
…he direct relationships Signed-off-by: Sheeri K. Cabral <[email protected]>
Sheeri
commented
Jun 26, 2024
Signed-off-by: Sheeri K. Cabral <[email protected]>
…Lineage into 2799_add_ex_for_2756
Signed-off-by: Sheeri K. Cabral <[email protected]>
@tnazarew the unsuccessful test fails because of diffs that don't actually look different (maybe tab instead of whitespace?) - I'm not sure what to do here:
|
tnazarew
previously requested changes
Jul 2, 2024
Signed-off-by: Sheeri K. Cabral <[email protected]>
mobuchowski
approved these changes
Jul 3, 2024
Thanks for the contribution @Sheeri |
lmassaoy
pushed a commit
to nubank/NuOpenLineage
that referenced
this pull request
Jul 5, 2024
…Lineage#2801) * adding example for 2756 Signed-off-by: Sheeri K. Cabral <[email protected]> * adding signoff. Signed-off-by: Sheeri K. Cabral <[email protected]> * updating to change subtype to JOIN, and adding subtype IDENTITY for the direct relationships Signed-off-by: Sheeri K. Cabral <[email protected]> * changing subType to subtype Signed-off-by: Sheeri K. Cabral <[email protected]> * adding _producer and _schemaURL as they are required. Signed-off-by: Sheeri K. Cabral <[email protected]> * fixing prettier commit errors Signed-off-by: Sheeri K. Cabral <[email protected]> --------- Signed-off-by: Sheeri K. Cabral <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
Problem
The customLineage facet was updated in #2756 but the test case is not up to date.
Closes: #2799
Solution
This example gives all the customLineage for the outputDataSet from this query:
CREATE VIEW CUSTOMER_DISCOUNTS AS
SELECT NAME, AMOUNT_OFF, STARTS_AT, ENDS_AT
FROM DISCOUNTS INNER JOIN CUSTOMERS ON (DISCOUNTS.CUSTOMERS_ID=CUSTOMERS.ID)
Each of the 4 columns (NAME, AMOUNT_OFF, STARTS_AT, ENDS_AT) has 3 inputFields - its own identity from the input, plus 2 indirect inputFields from the join clause, CUSTOMERS_ID and ID.
One-line summary:
Updating the customLineage facet test for the new syntax created in #2756
Checklist
SPDX-License-Identifier: Apache-2.0
Copyright 2018-2024 contributors to the OpenLineage project