pvillard31 commented on a change in pull request #4054: NIFI-6551: Improve 
PutKudu timestamp handling
URL: https://github.com/apache/nifi/pull/4054#discussion_r379219224
 
 

 ##########
 File path: 
nifi-nar-bundles/nifi-kudu-bundle/nifi-kudu-processors/src/main/java/org/apache/nifi/processors/kudu/AbstractKuduProcessor.java
 ##########
 @@ -181,47 +184,50 @@ protected void buildPartialRow(Schema schema, PartialRow 
row, Record record, Lis
                     if (schema.getColumnByIndex(colIdx).isKey()) {
                         throw new 
IllegalArgumentException(String.format("Can't set primary key column %s to null 
", colName));
                     } else if(!schema.getColumnByIndex(colIdx).isNullable()) {
-                        throw new 
IllegalArgumentException(String.format("Can't set primary key column %s to null 
", colName));
+                        throw new 
IllegalArgumentException(String.format("Can't column %s to null ", colName));
 
 Review comment:
   ```suggestion
                           throw new 
IllegalArgumentException(String.format("Can't set column %s to null ", 
colName));
   ```

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to