[
https://issues.apache.org/jira/browse/NIFI-6753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16947691#comment-16947691
]
Joe Witt commented on NIFI-6753:
--------------------------------
will pull in
> CSVRecordSetWriter quotes numeric values when Quote Mode set to Quote
> Non-Numeric Values
> ----------------------------------------------------------------------------------------
>
> Key: NIFI-6753
> URL: https://issues.apache.org/jira/browse/NIFI-6753
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Fix For: 1.10.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When the CSVRecordSetWriter is configured with a quote mode of "Quote
> Non-Numeric Values" it still quotes the numeric values. For example, given
> the following schema:
> {code:java}
> {
> "name": "myschema",
> "namespace": "test",
> "type": "record",
> "fields": [
> { "name": "name", "type": "string" },
> { "name": "age", "type": "int" }
> ]
> } {code}
> And the following JSON as a representation of a Record:
> {code:java}
> {
> "name": "John Doe", "age": 30
> } {code}
> The output looks like this:
> {code:java}
> "name","age"
> "John Doe","30"{code}
> When it should look like this:
> {code:java}
> "name","age"
> "John Doe",30 {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)