Skip to content

Commit

Permalink
Merge pull request #19378 from Dieken/fix-separate-avro-schema-compiling
Browse files Browse the repository at this point in the history
Make separate schema compiling really work
  • Loading branch information
gsmet authored Aug 15, 2021
2 parents 9f42b6e + 08153e8 commit 8e79350
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void compileSingleFile(Path filePath,
// allow them to share a single schema so reuse and sharing of schema
// is possible.
try {
if (options.imports == null) {
if (options.imports == AvroOptions.EMPTY) {
schema = new Schema.Parser().parse(file);
} else {
schema = schemaParser.parse(file);
Expand Down

0 comments on commit 8e79350

Please sign in to comment.