[ https://issues.apache.org/jira/browse/NIFI-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15038337#comment-15038337 ]
Mark Payne commented on NIFI-1247: ---------------------------------- Wow, great catch! Will address. > ConvertJSONToSQL incorrectly handles UnmatchedFieldBehaviour for Update case > ---------------------------------------------------------------------------- > > Key: NIFI-1247 > URL: https://issues.apache.org/jira/browse/NIFI-1247 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Reporter: Daniel Cave > Priority: Minor > Fix For: 0.4.0 > > Original Estimate: 1h > Remaining Estimate: 1h > > ConvertJSONToSQL is handling UnmatchedFieldBehaviour inversely between Insert > and Update. Specifically, Update is failing when columns are not present and > "Ignore Unmatched Fields" is selected. Correct functionality would be to > only fail when "Fail" is selected (as Insert does). > This is due to a minor error between the two cases of generateUpdate and > generateInsert where the value of ignoreUnmappedFields is checked -- This message was sent by Atlassian JIRA (v6.3.4#6332)