Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9929

CSVRecordSetWriter output the java object like [Ljava.lang.Object;@580f36fb

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.14.0
    • None
    • NiFi Registry
    • None
    •  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
       Kernel: Linux 3.10.0-1160.31.1.el7.x86_64
    • Patch

    Description

      hello,

      I want to merge some records from json to csv, so I create a work flow like image-2022-04-15-10-57-49-229.png,  and I try to use CSVRecordSetWriter to construct the csv file, but when I have a compelix json like json.txt, the end csv file will contains some property is java memery object such as [Ljava.lang.Object;@580f36fb like file cc_2022-04-15-11-11-15.CSV. I don't know which is right or not, BUT i think if it return the json string will be better. all that's should i need.

      Attachments

        1. json.txt
          0.3 kB
          duncanfu
        2. image-2022-04-15-10-57-49-229.png
          106 kB
          duncanfu
        3. cc_2022-04-15-11-11-15.CSV
          5 kB
          duncanfu

        Activity

          People

            Unassigned Unassigned
            duncanfu duncanfu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 504h
                504h
                Remaining:
                Remaining Estimate - 504h
                504h
                Logged:
                Time Spent - Not Specified
                Not Specified