You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Dennis Jaheruddin (Jira)" <ji...@apache.org> on 2020/06/20 17:04:00 UTC
[jira] [Commented] (NIFI-1019) PutSQL Breaks when putting an
nvavarchar, int, bigint with not a valid java.sql.type
[ https://issues.apache.org/jira/browse/NIFI-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17141139#comment-17141139 ]
Dennis Jaheruddin commented on NIFI-1019:
-----------------------------------------
This seems to be a duplicate of NIFI-977 which has already been resolved.
> 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
> Priority: Major
>
> / 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
(v8.3.4#803005)