-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Avro version to 1.12.0 #195
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition to the classLoader
issue below, the scripted
tests in sbt-avrohugger
are also failing due to an issue with the parser.
@@ -89,8 +97,8 @@ class FileInputParser { | |||
val protocol = Protocol.parse(infile) | |||
List(Right(protocol)) | |||
case "avdl" => | |||
val idlParser = new Idl(infile, classLoader) | |||
val protocol = idlParser.CompilationUnit() | |||
val idl = new IdlReader().parse(infile.toPath()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need a parse method that accepts our classLoader
, as was available for the Idl
constructor
Why?
Avro 1.12.0 deprecates
Idl
in favor of the newIdlReader
.Test Status