Github user squito commented on the pull request: https://github.com/apache/spark/pull/7004#issuecomment-115328079 One high-level question -- if a user does *not* call `SparkConf.registerAvroSchema`, this will still write the schema with every record, correct? The only potential advantage is that the schema gets compressed? My instinct is that its not worth it for you to do any extra compression for the schema. There is already compression controlled by `spark.shuffle.compress`, I don't think you'll gain anything beyond that. I think removing the compression logic would simplify things a bit, and you'd still get the benefits of not sending the schema with every record.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org