Forum Discussion

sshaikh's avatar
sshaikh
New Contributor
3 years ago

File Size Differences

Hi,
Why File Reader and File Writer size variation in the Pipeline?
I have make a simple pipeline to check my reader output file size and writer output file size and I have observed that reader and writer output size us not matching.
Could anyone please explain to me that.

12 Replies

    • sshaikh's avatar
      sshaikh
      New Contributor

      Size of input file is 945 bytes in file reader and output in writer is 574 bytes. Yes did transformation in mapper snap but connected all input schema to output in transformation without any changes in the files.

      • ptaylor's avatar
        ptaylor
        Employee

        Why do you expect the size to be the same? You’re changing the format from XML to JSON. JSON is less verbose than XML, so if it contains the same data, I would expect it to be smaller.