[jira] [Updated] (NIFI-3430) PutSQL Errors attempting to coerce date string to timestamp

2017-02-06 Thread Pierre Villard (JIRA)

 [ 
https://issues.apache.org/jira/browse/NIFI-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard updated NIFI-3430:
-
Component/s: (was: Core Framework)
 Extensions

> PutSQL Errors attempting to coerce date string to timestamp
> ---
>
> Key: NIFI-3430
> URL: https://issues.apache.org/jira/browse/NIFI-3430
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Nicholas Carenza
>Priority: Minor
>  Labels: convertjsontosql, putsql
>
> I am attempting to write a flat json object to my postgresql database using 
> ConvertJSONToSQL followed by PutSQL. My json has a string date field in ISO 
> 8601 format which postgres can accept as a timestamp. The column in the 
> database is of type 'timestamp without time zone'.
> org.apache.nifi.processor.exception.ProcessException: The value of the 
> sql.args.33.value is '2017-02-01T23:12:21+00:00', which cannot be converted 
> to a timestamp
> Is PutSQL trying to do some preprocessing here that it should just let the 
> database handle?
> select  cast('2017-02-01T23:12:21+00:00' as timestamp without time zone);
>   timestamp  
> -
>  2017-02-01 23:12:21
> (1 row)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (NIFI-3430) PutSQL Errors attempting to coerce date string to timestamp

2017-02-02 Thread Nicholas Carenza (JIRA)

 [ 
https://issues.apache.org/jira/browse/NIFI-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicholas Carenza updated NIFI-3430:
---
Priority: Minor  (was: Major)

> PutSQL Errors attempting to coerce date string to timestamp
> ---
>
> Key: NIFI-3430
> URL: https://issues.apache.org/jira/browse/NIFI-3430
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework
>Reporter: Nicholas Carenza
>Priority: Minor
>  Labels: convertjsontosql, putsql
>
> I am attempting to write a flat json object to my postgresql database using 
> ConvertJSONToSQL followed by PutSQL. My json has a string date field in ISO 
> 8601 format which postgres can accept as a timestamp. The column in the 
> database is of type 'timestamp without time zone'.
> org.apache.nifi.processor.exception.ProcessException: The value of the 
> sql.args.33.value is '2017-02-01T23:12:21+00:00', which cannot be converted 
> to a timestamp
> Is PutSQL trying to do some preprocessing here that it should just let the 
> database handle?
> select  cast('2017-02-01T23:12:21+00:00' as timestamp without time zone);
>   timestamp  
> -
>  2017-02-01 23:12:21
> (1 row)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (NIFI-3430) PutSQL Errors attempting to coerce date string to timestamp

2017-02-02 Thread Nicholas Carenza (JIRA)

 [ 
https://issues.apache.org/jira/browse/NIFI-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicholas Carenza updated NIFI-3430:
---
Issue Type: Improvement  (was: Bug)

> PutSQL Errors attempting to coerce date string to timestamp
> ---
>
> Key: NIFI-3430
> URL: https://issues.apache.org/jira/browse/NIFI-3430
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework
>Reporter: Nicholas Carenza
>  Labels: convertjsontosql, putsql
>
> I am attempting to write a flat json object to my postgresql database using 
> ConvertJSONToSQL followed by PutSQL. My json has a string date field in ISO 
> 8601 format which postgres can accept as a timestamp. The column in the 
> database is of type 'timestamp without time zone'.
> org.apache.nifi.processor.exception.ProcessException: The value of the 
> sql.args.33.value is '2017-02-01T23:12:21+00:00', which cannot be converted 
> to a timestamp
> Is PutSQL trying to do some preprocessing here that it should just let the 
> database handle?
> select  cast('2017-02-01T23:12:21+00:00' as timestamp without time zone);
>   timestamp  
> -
>  2017-02-01 23:12:21
> (1 row)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)