Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-19076

S3 CSV Input shows wrong result when the CSV file does not have a line break.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Severity: Unknown
    • Resolution: Unresolved
    • Affects Version/s: 8.3.0 GA, 8.3.0.13 GA, 9.1.0 GA
    • Fix Version/s: None
    • Component/s: Step
    • Labels:
      None
    • Story Points:
      0
    • PDI Sub-component:
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Steps to Reproduce:
      Hide

      Steps to Reproduce :

      • Upload the CSV file to S3 bucket.
      • Edit S3 CSV Input step according to your environment.
      • Run the transformation.
      Show
      Steps to Reproduce : Upload the CSV file to S3 bucket. Edit S3 CSV Input step according to your environment. Run the transformation.

      Description

      When processing a CSV file stored on S3 bucket through S3 CSV Input step, it requires a line break at the last record. If there is no line break then it shows wrong data example in the last record/line "シリアルNO" becomes "シリアルN". Notice that O is missing. This causes wrong data to be further processed downstream in other set of transformations and jobs causing data issues.

      I have attached the sample transformation and CSV input file which will help in reproducing the issue.

        Attachments

        1. Data_Missed_when_No_LineBreak.PNG
          Data_Missed_when_No_LineBreak.PNG
          97 kB
        2. ETL-test.ktr
          20 kB
        3. ETL-test-data.csv
          4 kB
        4. pdi.log
          16 kB
        5. test-output.txt
          3 kB

          Activity

            People

            Assignee:
            rmansoor Ramaiz Mansoor
            Reporter:
            nprakash Nikhil Prakash
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: