bander-r opened a new issue, #4814:
URL: https://github.com/apache/hop/issues/4814

   ### Apache Hop version?
   
   2.11
   
   ### Java version?
   
   21.0.5
   
   ### Operating system
   
   Windows
   
   ### What happened?
   
   My transformation has a field of data type "string". Most values are whole 
numbers but there are a few exceptions containing letters.
   
   On text file output (field set to string) only the fields with numbers are 
written, those containing non numeral characters are left blank.
   
   This only occurs if there is a lot of lines without non numerals first. In 
my example the first value with non numerals is in line 350.
   
   The screenshots show the data being displayed correctly in the output 
preview but not written correctly (opened the csv with excel)
   
![Image](https://github.com/user-attachments/assets/e192a93e-b2d3-40cc-bcb0-e150d4522f50)
   
![Image](https://github.com/user-attachments/assets/9886ded2-25f4-4ceb-ae04-74493b8080d0)
 
   
   
![Image](https://github.com/user-attachments/assets/3024212b-2df9-4ca4-a5da-28580b9cfe92)
   
   It seems HOP tries to determine the data type from the first X lines instead 
of using the type determined in the fields section. Then values unfit for the 
determined type (String to Int) are skipped.
   
   Thanks in advance:)
   
   
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Hop Gui


-- 
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