The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"Bug in ExampleSource configuration"

imoutsatsosimoutsatsos Member Posts: 2 Contributor I
edited May 2019 in Help
I have identified what I believe to be a buggy behavior of the ExampleSource CSV parser.
When a null/missing value exists at the end of a CSV record it seems to ignore it, and as a result it throws an exception complaining about the number of columns. For example using the following CSV fragment (all rows have 6 columns):

PAB00004039,H,11,720,2,3.952,
PAB00004039,H,12,730,2,3.952,
PAB00004039,H,13,678,2,3.744,
PAB00004039,H,14,,0,,
PAB00004039,H,15,,0,,
PAB00004039,H,16,727,2,3.744,
PAB00004039,H,17,705,2,3.883,
PAB00004039,H,18,712,2.222,4,

I get the error dialog with the message:
'Cannot guess value types: Line 4 has a number of columns(5) different from the preceding lines (6). IOException caught. Line 4 has a number of columns (5) different from the preceding lines (6)'

The log indicates that no data is read passed line 3.

Are there any workarounds or other configuration options for dealing with missing values?

thanks
--ioannis--
Tagged:

Answers

  • IngoRMIngoRM Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM Founder
    Hi Ioannis,

    thanks for pointing this out. This behaviour was actually already known and is already fixed in the latest CVS version of RapidMiner. Of course, this fix will also be part of the next release.

    Thanks again and cheers,
    Ingo
  • imoutsatsosimoutsatsos Member Posts: 2 Contributor I
    That's great. Thanks, looking forward to the new release!
    --ioannis--
Sign In or Register to comment.