From commits-return-58521-archive-asf-public=cust-asf.ponee.io@beam.apache.org Mon Feb 12 20:15:05 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id A75E6180652 for ; Mon, 12 Feb 2018 20:15:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 950CD160C3F; Mon, 12 Feb 2018 19:15:05 +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 DAB63160C30 for ; Mon, 12 Feb 2018 20:15:04 +0100 (CET) Received: (qmail 12220 invoked by uid 500); 12 Feb 2018 19:15:04 -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 12210 invoked by uid 99); 12 Feb 2018 19:15:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Feb 2018 19:15:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A8A031803CC for ; Mon, 12 Feb 2018 19:15:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 533Mdc15Wjp7 for ; Mon, 12 Feb 2018 19:15:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id B8AF55F21E for ; Mon, 12 Feb 2018 19:15:00 +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 5DE3BE01A9 for ; Mon, 12 Feb 2018 19:15: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 180E021E80 for ; Mon, 12 Feb 2018 19:15:00 +0000 (UTC) Date: Mon, 12 Feb 2018 19:15:00 +0000 (UTC) From: "Kenneth Knowles (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-3647) Default Coder/Reading Coder From File MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/BEAM-3647?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16361= 304#comment-16361304 ]=20 Kenneth Knowles commented on BEAM-3647: --------------------------------------- Pinging [~kedin] and [~reuvenlax] as this is a good example use case, if I = understand correctly. > Default Coder/Reading Coder From File=20 > -------------------------------------- > > Key: BEAM-3647 > URL: https://issues.apache.org/jira/browse/BEAM-3647 > Project: Beam > Issue Type: New Feature > Components: beam-model, dsl-sql > Affects Versions: 2.2.0 > Reporter: Kishan Kumar > Priority: Major > > *Requirement*-: Need to Run Template With Same Logics on Different Tables= Data.(Example is Given Below) > =C2=A0 > *Need*: Default Coder is Required So According to Data It Make All Fields= as String and Read Data else Thier must be Dynamic Options to Read Coder F= rom GCS as JSON FILE and Parse Data on Basis of That (But We can Pass Locat= ion Using ValueProvider) or SomeWhere Else so At Runtime Using ValueProvide= r. > =C2=A0 > =C2=A0 > *Examples*: I Have Two Tables 1 is Having Column (NAME, CLASS, ROLL, SUB_= PRICE) > And 2 Table is (NAME, ROLL, SUB, TEST_MARKS) > =C2=A0 > On Both Tables, I am Just=C2=A0Sorting Table on Basis Of Roll Number so i= f We can Read Coder at Run Time The Same Template Can Be Used For Different= Tables at Run Time. > =C2=A0 > Such Situations Make Our Work Easy and Make=C2=A0Our job Easy. > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)