Skip to content

Commit

Permalink
[FLINK-10605] [avro] Upgrade AvroSerializer and snapshot for Avro sch…
Browse files Browse the repository at this point in the history
…ema evolution

This closes apache#6881.
  • Loading branch information
Igal Shilman authored and tzulitai committed Oct 30, 2018
1 parent 70f4141 commit b0b10ed
Show file tree
Hide file tree
Showing 12 changed files with 799 additions and 1,007 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public boolean isEndOfStream(T nextElement) {
@SuppressWarnings("unchecked")
public TypeInformation<T> getProducedType() {
if (SpecificRecord.class.isAssignableFrom(recordClazz)) {
return new AvroTypeInfo(recordClazz, false);
return new AvroTypeInfo(recordClazz);
} else {
return (TypeInformation<T>) new GenericRecordAvroTypeInfo(this.reader);
}
Expand Down
Loading

0 comments on commit b0b10ed

Please sign in to comment.