Skip to content

Commit

Permalink
Fix bug where enum for s3 select was using NotBlank annotation (#3208)
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Gray <[email protected]>
  • Loading branch information
graytaylor0 authored Aug 22, 2023
1 parent 3673d02 commit d2bdb38
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
package org.opensearch.dataprepper.plugins.source.configuration;

import com.fasterxml.jackson.annotation.JsonProperty;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
* Class consists the s3 select options.
Expand All @@ -24,7 +24,7 @@ public class S3SelectOptions {
private String expressionType = DEFAULT_EXPRESSION_TYPE;

@JsonProperty("input_serialization")
@NotBlank(message = "input serialization format cannot be null or empty")
@NotNull
private S3SelectSerializationFormatOption s3SelectSerializationFormatOption;

@JsonProperty("compression_type")
Expand Down

0 comments on commit d2bdb38

Please sign in to comment.