From issues-return-84139-archive-asf-public=cust-asf.ponee.io@nifi.apache.org Wed Sep 4 12:54:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 045D6180674 for ; Wed, 4 Sep 2019 14:54:02 +0200 (CEST) Received: (qmail 65652 invoked by uid 500); 4 Sep 2019 17:54:20 -0000 Mailing-List: contact issues-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list issues@nifi.apache.org Received: (qmail 65643 invoked by uid 99); 4 Sep 2019 17:54:19 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Sep 2019 17:54:19 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id EDD18E30C4 for ; Wed, 4 Sep 2019 12:54:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 56008781F26 for ; Wed, 4 Sep 2019 12:54:00 +0000 (UTC) Date: Wed, 4 Sep 2019 12:54:00 +0000 (UTC) From: "ASF subversion and git services (Jira)" To: issues@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NIFI-5755) Allow PutParquet prosessor to dynamically set config properties for parquet lib 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/NIFI-5755?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16922= 458#comment-16922458 ]=20 ASF subversion and git services commented on NIFI-5755: ------------------------------------------------------- Commit 76c2c3fee298ae33775ce794fef7f3a0851eb179 in nifi's branch refs/heads= /master from Bryan Bende [ https://gitbox.apache.org/repos/asf?p=3Dnifi.git;h=3D76c2c3f ] NIFI-6089 Add Parquet record reader and writer NIFI-5755 Allow PutParquet processor to specify avro write configuration Review feedback Additional review feedback This closes #3679 Signed-off-by: Mike Thomsen > Allow PutParquet prosessor to dynamically set config properties for parqu= et lib > -------------------------------------------------------------------------= ------ > > Key: NIFI-5755 > URL: https://issues.apache.org/jira/browse/NIFI-5755 > Project: Apache NiFi > Issue Type: New Feature > Components: Core Framework > Affects Versions: 1.7.1 > Reporter: Ken Tore Tallakstad > Assignee: Bryan Bende > Priority: Major > Attachments: parq2.png > > > PutParquet (NiFi 1.7.1), will fail to write parquet if incoming records c= ontain arrays with null elements:=C2=A0 > Schema snippet example: > { =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"name": "myfield", =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"type" : ["null", \\{ "type" := "array", "items" : ["null","string"], "default": null } > ], "default": null > =C2=A0}, > =C2=A0 > And a corresponding data example: > "myfield" : [ null, "value1" ], > "myfield" : [ null, "value2" ], > "myfield" : [ "value3", null, "value4" ], > =C2=A0 > Avro does not seem to have a problem with this, but Put parquet fails wi= th the following error: "Array contains a null element at X". > =C2=A0 > There is a parquet config to allow this:=C2=A0 > parquet.avro.write-old-list-structure=3Dfalse > =C2=A0 > If the processor would have a box for toggling this value, or a text box= to pass configs in general would be great! -- This message was sent by Atlassian Jira (v8.3.2#803003)