Comments (2)
Hi. Thanks for bringing this up. You can confirm all checks pass with this one change?
Out of interest, how are you running the compatibility tests?
from avro.
Out of interest, how are you running the compatibility tests?
I've took java apache/avro compatibility tests, made from them testcases for golang, and run them. Some part was easy to rewrite by hands, some part by regexps. Of course, I couldn't make full-fledged transpilation - i've had only several days, so hand-rewrite + regexps: made the deal.
Actually, I have now golang tool who take TestSchemaCompatibility.java & TestSchemas.java - and generates golang tests from them. But result code look ugly, so I didn't think somebody will be interested in that (I've just put it into my CI for myself). But if you are interested in that tests generator - I can share it.
You can confirm all checks pass with this one change?
yeah, if this check improve - then from java project apache/avro passed next tests:
- https://github.com/apache/avro/blob/main/lang/java/avro/src/test/java/org/apache/avro/TestSchemaCompatibilityFixedSizeMismatch.java#L34 - whole class TestSchemaCompatibilityFixedSizeMismatch
- https://github.com/apache/avro/blob/main/lang/java/avro/src/test/java/org/apache/avro/TestSchemaCompatibilityMissingEnumSymbols.java#L33 - whole class TestSchemaCompatibilityFixedSizeMismatch
- https://github.com/apache/avro/blob/main/lang/java/avro/src/test/java/org/apache/avro/TestSchemaCompatibilityNameMismatch.java - whole class TestSchemaCompatibilityNameMismatch
- https://github.com/apache/avro/blob/main/lang/java/avro/src/test/java/org/apache/avro/TestSchemaCompatibility.java - tests:
- readerWriterCompatibility()
- unionWriterSimpleReaderIncompatibility()
- validateSchemaPairMissingField()
- validateSchemaPairMissingSecondField()
- validateSchemaPairAllFields()
- validateSchemaNewFieldWithDefault()
- validateSchemaNewField()
- validateArrayWriterSchema()
- validatePrimitiveWriterSchema()
- unionReaderWriterSubsetIncompatibility()
from avro.
Related Issues (20)
- Local timestamp logical types HOT 1
- Add support for Zstandard compression
- Enum schema evolution for missing value in reader schema but with default HOT 3
- Question about max byte slice HOT 6
- Performance degradation in v2.19.0 HOT 4
- Wrong decoding of nested map HOT 1
- Infinite loop parsing recursive array type HOT 1
- "unknown union type long" error HOT 2
- Support nested array of record HOT 3
- Bug with encoding union + fixed + decimal HOT 6
- Problem with empty slices vs nil. HOT 8
- Decode Array - Panic: Allocation size out of range Error HOT 1
- I struggle to have more than one "registered" type in the same field of a schema HOT 9
- Reasoning behind swallowing EOF errors? HOT 2
- Decoding of map[string]any behavior changed HOT 3
- [avrogen] tags - having omitEmpty in the json generated object HOT 8
- [avrogen] Avro int32s are mapped to Go ints HOT 2
- Serialize schemas feature HOT 3
- Recursive references HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avro.