You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2020/01/16 17:27:00 UTC

[GitHub] [incubator-iceberg] rdsr commented on issue #740: AvroSchemaUtil returns shaded Avro classes

rdsr commented on issue #740: AvroSchemaUtil returns shaded Avro classes
URL: https://github.com/apache/incubator-iceberg/issues/740#issuecomment-575258363
 
 
   @massdosage I see it that Avro is not part of the public API of Iceberg. There are two ways around this - both of which have issues.
   1. Use thin artifacts [iceberg-api, iceberg-core] instead of the shaded artifacts, where Avro will be unshaded.  This can have potential class-path conflicts if you use these  instead of the shaded runtime artifacts in compute engines Spark, Pig, Presto etc.
   1. You can convert the Avro Schema object to a string and then parse it with the shaded Avro api in Iceberg, but then u risk these internal apis changing underneath you with future versions of Iceberg.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org