timeabarna commented on a change in pull request #4931:
URL: https://github.com/apache/nifi/pull/4931#discussion_r600516907
##########
File path:
nifi-nar-bundles/nifi-accumulo-bundle/nifi-accumulo-processors/src/main/java/org/apache/nifi/accumulo/processors/ScanAccumulo.java
##########
@@ -254,7 +258,12 @@ public void process(final InputStream in, final
OutputStream out) throws IOExcep
try{
final RecordSchema writeSchema =
writerFactory.getSchema(flowAttributes, new KeySchema());
- try (final RecordSetWriter writer =
writerFactory.createWriter(getLogger(), writeSchema, out)) {
+ List<RecordField> fieldList = new
ArrayList<>();
+ fieldList.addAll(writeSchema.getFields());
+ fieldList.add(new RecordField("value",
RecordFieldType.STRING.getDataType()));
Review comment:
Thanks for your help exceptionfactory, String will cover most cases
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]