avro-util
avro-util copied to clipboard
Collection of utilities to allow writing java code that operates across a wide range of avro versions.
Populate methods now always have 'customization' argument because deserialize-method(s) of nested records may generate another populate methods that require 'customization' (at least for compilation purposes). This may happen when record...
When serializing a record with mandatory fields, there is no null check. For a mandatory string field, fast-avro generates code like this: ``` if (((CharSequence) data.get(1)) instanceof Utf8) { (encoder).writeString(((Utf8)((CharSequence)...
`save-state` and `set-output` commands used in GitHub Actions are deprecated and [GitHub recommends using environment files](https://github.blog/changelog/2023-07-24-github-actions-update-on-save-state-and-set-output-commands/). This PR updates the usage of `set-output` to `$GITHUB_OUTPUT` Instructions for envvar usage from...
Are there any plans to give working examples to showcase the features in comparision to the existing stock-avro library ? This would help understand the features and adopt much quicker,...
## What Unit test to find all generated files in avro-builder-> tests and compile assert compile ## Why Explicit compilation test was missing on all classes generated by Codegen. ##...
For a schema which contains nested maps, the class generated is incorrect. ```json { "type": "record", "name": "TestDecodeFailureValue", "doc": "Value schema demonstrating failed decode with Map field", "fields": [ {...
also try parallelizing unit tests some. this still has issues with repeat builds on a dirty working copy failing due to leftover files
Very interesting project. Can you please point me to some example/code snippets usage of this library ? In particular looking for what is the equivalent `FastGenericDatumReader` and `FastSpecificDatumReader` that i...
Hi I am using fastDesrializer for a file written using avro 1.8.2 , whenever parsing using fastdesrializer code , i run into `Illegal union index for ... ` error ?...