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 7DAB1200CCC for ; Fri, 21 Jul 2017 23:17:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7ADAB16DE37; Fri, 21 Jul 2017 21:17:04 +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 C946416DE2E for ; Fri, 21 Jul 2017 23:17:03 +0200 (CEST) Received: (qmail 81252 invoked by uid 500); 21 Jul 2017 21:17:03 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 81240 invoked by uid 99); 21 Jul 2017 21:17:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2017 21:17:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 75C641A05DA for ; Fri, 21 Jul 2017 21:17:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id OhnW6S-dFKIY for ; Fri, 21 Jul 2017 21:17:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 137AD5FC7B for ; Fri, 21 Jul 2017 21:17:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 55E09E00A3 for ; Fri, 21 Jul 2017 21:17:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1333021ED9 for ; Fri, 21 Jul 2017 21:17:00 +0000 (UTC) Date: Fri, 21 Jul 2017 21:17:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-2656) Introduce AvroIO.readAll() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 21 Jul 2017 21:17:04 -0000 [ https://issues.apache.org/jira/browse/BEAM-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16096882#comment-16096882 ] ASF GitHub Bot commented on BEAM-2656: -------------------------------------- GitHub user jkff opened a pull request: https://github.com/apache/beam/pull/3615 [BEAM-2656] Introduces AvroIO.readAll() This includes a couple more improvements: - Adding ValueProvider support to AvroIO.read() - Creating a common utility transform for reading a collection of filepatterns via FileBasedSource. I did not make it public because it should bake some more with other use cases. R: @jbonofre CC: @reuvenlax You can merge this pull request into a Git repository by running: $ git pull https://github.com/jkff/incubator-beam avroio-readall Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/3615.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3615 ---- commit 0824e3982bd47f54b917da250497923049d23ca9 Author: Eugene Kirpichov Date: 2017-07-21T19:38:17Z Adds ValueProvider support to AvroIO.Read commit f988deb238178e28227443b5e8fc389c96f907cf Author: Eugene Kirpichov Date: 2017-07-21T21:09:13Z Extracts common logic from TextIO.ReadAll into a utility transform commit 7345de77b2fa658970addfddc21fecaf57dc3775 Author: Eugene Kirpichov Date: 2017-07-21T21:09:35Z Introduces AvroIO.readAll() and readAllGenericRecords() ---- > Introduce AvroIO.readAll() > -------------------------- > > Key: BEAM-2656 > URL: https://issues.apache.org/jira/browse/BEAM-2656 > Project: Beam > Issue Type: Bug > Components: sdk-java-core > Reporter: Eugene Kirpichov > Assignee: Eugene Kirpichov > > TextIO.readAll() is nifty and performant when reading a large number of files. > We should similarly have AvroIO.readAll(). Maybe other connectors too in the future. -- This message was sent by Atlassian JIRA (v6.4.14#64029)