Scott created NIFI-1019:
---------------------------

             Summary: PutSQL Breaks when putting an nvavarchar, int, bigint 
with not a valid java.sql.type
                 Key: NIFI-1019
                 URL: https://issues.apache.org/jira/browse/NIFI-1019
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
    Affects Versions: 0.3.0
         Environment: MsSQL
            Reporter: Scott


/ nifi-nar-bundles / nifi-standard-bundle / nifi-standard-processors / src / 
main / java / org / apache / nifi / processors / standard / PutSQL.java

When putting data into SQL server using PutSQL Processor the sql types are 
validated against a regular expression, this regex should also allow negative 
numbers, as some java.sql.types are negative for example bigint and nvarchar -5 
and -9 iirc.

line 147: regex should be "-?\\d+"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to