Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7C71F200B9C for ; Mon, 10 Oct 2016 14:13:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7B078160ACA; Mon, 10 Oct 2016 12:13:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B230E160AF6 for ; Mon, 10 Oct 2016 14:13:21 +0200 (CEST) Received: (qmail 50666 invoked by uid 500); 10 Oct 2016 12:13:20 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 50457 invoked by uid 99); 10 Oct 2016 12:13:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2016 12:13:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 864292C0D54 for ; Mon, 10 Oct 2016 12:13:20 +0000 (UTC) Date: Mon, 10 Oct 2016 12:13:20 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-4771) Compression for AvroOutputFormat MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 10 Oct 2016 12:13:22 -0000 [ https://issues.apache.org/jira/browse/FLINK-4771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15562130#comment-15562130 ] ASF GitHub Bot commented on FLINK-4771: --------------------------------------- Github user fhueske commented on a diff in the pull request: https://github.com/apache/flink/pull/2612#discussion_r82590833 --- Diff: flink-batch-connectors/flink-avro/src/test/java/org/apache/flink/api/java/io/AvroOutputFormatTest.java --- @@ -0,0 +1,106 @@ +package org.apache.flink.api.java.io; + +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import java.io.IOException; +import java.net.URISyntaxException; +import java.nio.file.Files; +import java.nio.file.Paths; + +import org.apache.avro.file.CodecFactory; +import org.apache.flink.configuration.Configuration; +import org.apache.flink.core.fs.FileSystem; +import org.apache.flink.core.fs.Path; +import org.junit.Test; + +/** + * Tests for {@link AvroOutputFormat} + */ +public class AvroOutputFormatTest { --- End diff -- Please add a test that checks that AvroOutputFormat is correctly serialized and deserialized. > Compression for AvroOutputFormat > -------------------------------- > > Key: FLINK-4771 > URL: https://issues.apache.org/jira/browse/FLINK-4771 > Project: Flink > Issue Type: Improvement > Components: Batch Connectors and Input/Output Formats > Reporter: Lars Bachmann > Original Estimate: 1h > Remaining Estimate: 1h > > Currently it is not possible to set a compression codec for the AvroOutputFormat. > This improvement will provide a setter for the avro CodecFactory which is used by the DataFileWriter. -- This message was sent by Atlassian JIRA (v6.3.4#6332)