Github user bdesert commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2711#discussion_r191010916
--- 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 --
Also, there are style-check errors related to "if" one-line statement.
---