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

ASF GitHub Bot commented on NIFI-1705:
--------------------------------------

Github user bdesert commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2711#discussion_r190992414
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/AttributesToCSV.java
 ---
    @@ -64,17 +62,18 @@
             "If the attribute value contains a comma, newline or double quote, 
then the attribute value will be " +
             "escaped with double quotes.  Any double quote characters in the 
attribute value are escaped with " +
             "another double quote.")
    -@WritesAttribute(attribute = "CSVAttributes", description = "CSV 
representation of Attributes")
    +@WritesAttribute(attribute = "CSVData", description = "CSV representation 
of Attributes")
     public class AttributesToCSV extends AbstractProcessor {
    -    private static final String OUTPUT_ATTRIBUTE_NAME = "CSVAttributes";
    +    private static final String DATA_ATTRIBUTE_NAME = "CSVData";
    +    private static final String SCHEMA_ATTRIBUTE_NAME = "CSVSchema";
    --- End diff --
    
    This attribute should be declared @ WritesAttribute(....)


> AttributesToCSV
> ---------------
>
>                 Key: NIFI-1705
>                 URL: https://issues.apache.org/jira/browse/NIFI-1705
>             Project: Apache NiFi
>          Issue Type: Sub-task
>          Components: Extensions
>            Reporter: Randy Gelhausen
>            Priority: Major
>
> Create a new processor which converts a Flowfile's attributes into CSV 
> content.
> Should support the same configuration options as the AttributesToJSON 
> processor



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to