Commit 12f7055
authored
Fixes deserialization when reader/writer schemas are different. (Azure#26592)
* Add test case for portal.
* Adding code to consider both reader and writer schemas.
* Separating fields because there is ambiguity about generated class schemas.
* Updating test cases to consider different reader/writer schemas.
* Adding testcase for forwards compatibility checks.
* Adding person2 java and avro file.
* Adding recording file.
* Specify avro files.1 parent 02c6300 commit 12f7055
File tree
9 files changed
+891
-32
lines changed- sdk/schemaregistry
- azure-data-schemaregistry-apacheavro
- src
- main/java/com/azure/data/schemaregistry/apacheavro
- samples
- java/com/azure/data/schemaregistry/apacheavro/generatedtestsources
- resources/avro
- test
- java/com/azure/data/schemaregistry/apacheavro
- resources/session-records
- azure-data-schemaregistry/src/test/resources/session-records
9 files changed
+891
-32
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
| 134 | + | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| |||
Lines changed: 56 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| |||
156 | 160 | | |
157 | 161 | | |
158 | 162 | | |
159 | | - | |
160 | | - | |
| 163 | + | |
| 164 | + | |
161 | 165 | | |
162 | 166 | | |
163 | 167 | | |
| |||
229 | 233 | | |
230 | 234 | | |
231 | 235 | | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
232 | 277 | | |
233 | 278 | | |
234 | 279 | | |
| |||
256 | 301 | | |
257 | 302 | | |
258 | 303 | | |
259 | | - | |
260 | 304 | | |
261 | | - | |
262 | | - | |
| 305 | + | |
263 | 306 | | |
264 | 307 | | |
265 | 308 | | |
| |||
270 | 313 | | |
271 | 314 | | |
272 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
273 | 324 | | |
274 | 325 | | |
275 | 326 | | |
| |||
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
175 | 178 | | |
176 | 179 | | |
177 | 180 | | |
| |||
0 commit comments