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

[CDAP-15787] Adding failure collector api for format plugins #947

Merged
merged 1 commit into from
Sep 23, 2019

Conversation

CuriousVini
Copy link
Contributor

@CuriousVini CuriousVini commented Sep 19, 2019

Requires changes from cdapio/cdap#11638 to be merged first
build: https://builds.cask.co/browse/HYP-BAD581-13

image

new SimpleDateFormat(suffix);
}
if (!containsMacro("format")) {
if (!containsMacro(NAME_FORMAT)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

this shouldn't have been here before, format is not macro enabled so this will always be true

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

Copy link
Contributor

Choose a reason for hiding this comment

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

that's weird... it's not annotated as a macro above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will remove macros for format property.

Schema schema = config.getSchema();
FileFormat fileFormat = config.getFormat();
FileFormat fileFormat = getFileFormat();
Schema schema = null;
if (fileFormat != null) {
Copy link
Contributor

Choose a reason for hiding this comment

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

this shouldn't have been here either, format is required.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

format is macro enabled tho

@CuriousVini
Copy link
Contributor Author

build is green: https://builds.cask.co/browse/HYP-BAD581-22

@CuriousVini CuriousVini merged commit 5ae2422 into release/2.3 Sep 23, 2019
@CuriousVini CuriousVini deleted the feature/add-validation-format branch September 23, 2019 01:49
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.

2 participants