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

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

    [ 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)