Closed kristenmcintosh closed 4 years ago
Hi, I checked and that method is in both Spark 2.3.x and 2.4.x. My guess is there is some other version mismatch. Are you using the same Scala version of Abris and Spark?
Which version of Abris are you using? It's probably duplicate of this: https://github.com/AbsaOSS/ABRiS/issues/54
I’m using Abris 3.1.2 with Scala 2.11 and spark 2.3
You were right it's a bug.
In Spark 2.3 the method is org.apache.spark.sql.catalyst.expressions.codegen.CodegenContext.boxedType
In Spark 2.4 it was moved to org.apache.spark.sql.catalyst.expressions.codegen.CodeGenerator$.boxedType
They are both in the same long file, so it's easy to miss it.
Oh yes, that’s easy to miss forsure. I didn’t notice they were differently named either when I was looking into this. Thanks.
Any timeline on when this can be fixed?
The plan is to release new Abris version next week. It will include several other improvements.
Okay, great!
Fixed in 3.2.0
Hi,
When trying to deserialize confluent Avro messages I get a no such method error when running on spark 2.3, but the same code works fine on spark 2.4. I have updated the org.apache.avro dependency on spark 2.3 to be 1.9 as stated in the documentation. This issue only occurs when deserializing confluent avro, as my code for serializing runs fine on 2.3. Not sure if this is an issue on ABRIS or a more general spark issue.
Although I know the code works on 2.4, my team is not yet ready to upgrade, so I still need this to run on 2.3.
Please see the stack trace below. Thanks.