Skip to content
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

Shared: Add support for provenance pretty-printing as a qltest postprocess step. #17011

Merged

Conversation

aschackmull
Copy link
Contributor

Follow-up for #16210. With post-processing of qltest output we can now do this in a much nicer way.

@aschackmull aschackmull added the no-change-note-required This PR does not need a change note label Jul 18, 2024
@aschackmull aschackmull requested a review from a team as a code owner July 18, 2024 09:31

external predicate queryRelations(string relation);

query predicate resultRelations(string relation) { queryRelations(relation) }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand why we need this line. I assume it's linked to the post-processing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is. It basically ensures that we keep any empty tables instead of discarding them (so this mostly applies to the subpaths predicate).

@aschackmull aschackmull force-pushed the dataflow/provenance-postprocess-qltest branch from 884eff6 to 94078e8 Compare July 18, 2024 13:34
Copy link
Contributor

@owen-mc owen-mc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I will approve when the next release is out.

@owen-mc
Copy link
Contributor

owen-mc commented Jul 26, 2024

An integration test kept on failing, so I merged in main in the hope that it will fix it.

@owen-mc
Copy link
Contributor

owen-mc commented Jul 26, 2024

@aschackmull I believe this is ready to be merged now 🎉 .

@aschackmull aschackmull merged commit 822f8b0 into github:main Jul 26, 2024
35 checks passed
@aschackmull aschackmull deleted the dataflow/provenance-postprocess-qltest branch July 26, 2024 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DataFlow Library Java no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants