nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-5755) Allow PutParquet prosessor to dynamically set config properties for parquet lib
Date Wed, 04 Sep 2019 12:54:00 GMT

    [ https://issues.apache.org/jira/browse/NIFI-5755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16922458#comment-16922458
] 

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=nifi.git;h=76c2c3f ]

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 <mthomsen@apache.org>


> Allow PutParquet prosessor to dynamically set config properties for parquet 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 contain arrays
with null elements: 
>  Schema snippet example:
> {              "name": "myfield",              "type" : ["null", \\{ "type"
: "array", "items" : ["null","string"], "default": null }
> ], "default": null
>   },
>   
>  And a corresponding data example:
>  "myfield" : [ null, "value1" ],
>  "myfield" : [ null, "value2" ],
>  "myfield" : [ "value3", null, "value4" ],
>   
>  Avro does not seem to have a problem with this, but Put parquet fails with the following
error: "Array contains a null element at X".
>   
>  There is a parquet config to allow this: 
>  parquet.avro.write-old-list-structure=false
>   
>  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)

Mime
View raw message