Github user gengliangwang commented on a diff in the pull request: https://github.com/apache/spark/pull/21837#discussion_r204251513 --- Diff: external/avro/src/test/scala/org/apache/spark/sql/avro/AvroSuite.scala --- @@ -889,4 +889,30 @@ class AvroSuite extends QueryTest with SharedSQLContext with SQLTestUtils { assert(count == 8) } } + + test("SPARK-24881: write with compression - avro options") { + withTempPath { dir => + val uncompressDir = s"$dir/uncompress" + val deflateDir = s"$dir/deflate" + val snappyDir = s"$dir/snappy" + + val df = spark.read.avro(testAvro) --- End diff -- I am removing all the `.avro` method: https://github.com/apache/spark/pull/21841 Could you change it to ".format("avro").load" or ".format("avro").save"? Thanks!
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org