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

    https://github.com/apache/nifi/pull/2853#discussion_r201413683
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestConvertRecord.java
 ---
    @@ -62,6 +62,44 @@ public void testSuccessfulConversion() throws 
InitializationException {
             out.assertContentEquals("header\nJohn Doe,48\nJane Doe,47\nJimmy 
Doe,14\n");
         }
     
    +    @Test
    +    public void testDropEmpty() throws InitializationException {
    --- End diff --
    
    I tried a couple writers, but at the very least the record delimiter is 
output, so it appears you still get a record even if it doesn't have any 
fields. This is good as it stands, thanks!


---

Reply via email to