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

[🍒][PLUGIN-1742] Fix EmptyInputFormat failure outside of Core Plugins #1852

Merged

Conversation

psainics
Copy link
Contributor

@psainics psainics commented Apr 4, 2024

[Cherrypick]
Commit : dbd5473
PR: #1843


Fix EmptyInputFormat failure outside of Core Plugins

Description

Plugins that extend from AbstractFileSource (link) which are outside of the Core Plugins module will not correctly export the EmptyInputFormat that is required when we need to handle the case where the source input is empty.

Patch Description

  • This PR adds a method getEmptyInputFormatClassName that class can override to provide their own implementation for an emptyInputFormat.

  • Renamed EmptyInputFormat to AbstractEmptyInputFormat so this can be extended by other classes as their own EmptyInputFormat to reduce code duplication.

@psainics psainics added the build Trigger unit test build label Apr 4, 2024
@psainics psainics merged commit eb91515 into cdapio:release/2.12 Apr 12, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Trigger unit test build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants