SEZ9 commented on issue #13423:
URL: https://github.com/apache/seatunnel/issues/13423#issuecomment-7263799635

   Thanks @princepal-dev, that plan works well.
   
   To recap the scope: with `enable_file_split=true` and 
`csv_use_header_line=true`, the split strategy skips the header line, and the 
reader only obtains the actual header for a split starting at offset zero. 
Every other split falls back to the schema column order. That is why a file 
whose column order differs from the schema hits type-conversion failures or 
silently wrong data.
   
   Since a fix for this reader path is already in progress in the pull request 
linked above, the most useful help is verification there rather than a parallel 
fix. When you check it, please share:
   
   - The job config you used, in particular `enable_file_split`, 
`csv_use_header_line`, and the schema definition.
   - A small sample CSV whose header order differs from the schema order, large 
enough to produce more than one split, so that a split not starting at offset 
zero is exercised.
   - The observed versus expected rows, both without and with the fix applied.
   - Whether you saw a type-conversion failure or the silent wrong-data 
variant, since both were reported.
   
   If you find a case the fix does not cover, please post the exact 
reproduction steps on that pull request so it can be handled in the same change.
   
   <!-- streview-comment:2730 -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to