You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Daniel Cave (JIRA)" <ji...@apache.org> on 2015/12/03 19:44:11 UTC

[jira] [Created] (NIFI-1247) ConvertJSONToSQL incorrectly handles UnmatchedFieldBehaviour for Update case

Daniel Cave created NIFI-1247:
---------------------------------

             Summary: 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


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)