Return-Path: X-Original-To: apmail-streams-dev-archive@minotaur.apache.org Delivered-To: apmail-streams-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A3A0517884 for ; Thu, 19 Mar 2015 22:24:04 +0000 (UTC) Received: (qmail 17407 invoked by uid 500); 19 Mar 2015 22:24:04 -0000 Delivered-To: apmail-streams-dev-archive@streams.apache.org Received: (qmail 17362 invoked by uid 500); 19 Mar 2015 22:24:04 -0000 Mailing-List: contact dev-help@streams.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@streams.incubator.apache.org Delivered-To: mailing list dev@streams.incubator.apache.org Received: (qmail 17351 invoked by uid 99); 19 Mar 2015 22:24:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2015 22:24:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 19 Mar 2015 22:24:03 +0000 Received: (qmail 16891 invoked by uid 99); 19 Mar 2015 22:23:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2015 22:23:38 +0000 Date: Thu, 19 Mar 2015 22:23:38 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@streams.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (STREAMS-293) allow for missing metadata fields in streams-persist-hdfs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STREAMS-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14370242#comment-14370242 ] ASF GitHub Bot commented on STREAMS-293: ---------------------------------------- Github user jfrazee commented on the pull request: https://github.com/apache/incubator-streams/pull/195#issuecomment-83785169 :+1: This would be/is really helpful for processing document only streams on disk. I would add though that it'd be cool if it was a little bit more flexible maybe having the option of a user provided function or lambda to define how to process the files -- problem for another day though. > allow for missing metadata fields in streams-persist-hdfs > --------------------------------------------------------- > > Key: STREAMS-293 > URL: https://issues.apache.org/jira/browse/STREAMS-293 > Project: Streams > Issue Type: Improvement > Reporter: Steve Blackmon > Assignee: Steve Blackmon > > Currently streams-persist-hdfs writer creates (and reader expects) exactly four columns. this could be made much more flexible without too much effort. > Update reader to support additional use cases: > a) file paths containing one json document per line > b) file paths containing just id and json on each line, > c) file paths containing id timestamp and json document on each line > Update writer support > a) ids only > b) ids and timestamp only > c) ids timestamp and json only -- This message was sent by Atlassian JIRA (v6.3.4#6332)