Skip to content

Commit

Permalink
Add comment for jackson datatype jdk8
Browse files Browse the repository at this point in the history
  • Loading branch information
RustedBones committed May 15, 2024
1 parent ed9bee0 commit 8a1053f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file modified doc/dremel_paper/schema.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ public class ParquetMetadata {

private static final ObjectMapper objectMapper = new ObjectMapper();

// Enable FAIL_ON_EMPTY_BEANS on objectmapper. Without this feature parquet-casdacing tests fail,
// because LogicalTypeAnnotation implementations are classes without any property.
static {
// Enable FAIL_ON_EMPTY_BEANS on objectmapper. Without this feature parquet-casdacing tests fail,
// because LogicalTypeAnnotation implementations are classes without any property.
objectMapper.disable(SerializationFeature.FAIL_ON_EMPTY_BEANS);
// Add support for Java 8 Optional
objectMapper.registerModule(new Jdk8Module());
}

Expand Down

0 comments on commit 8a1053f

Please sign in to comment.