daphne-eu / daphne

DAPHNE: An Open and Extensible System Infrastructure for Integrated Data Analysis Pipelines
Apache License 2.0
67 stars 62 forks source link

880 Fix bug in reading frame from CSV with string column in the middle. #886

Closed saminbassiri closed 3 weeks ago

saminbassiri commented 3 weeks ago

Fix bug in the setCString function when reading Frame from CSV files.

This PR closes issue #880. This issue was caused by an incorrect position being returned, leading to errors when reading Frames from CSV files.

Problem

In the setCString function:

Solution

To correct this:

Testing

Additional test cases have been added to validate correct position handling when reading a Frame from a CSV with a string column in the middle.