tenthe opened a new issue, #4850: URL: https://github.com/apache/streampipes/issues/4850
### Body ## Goal Allow CSV data to be imported into existing datasets containing properties of type `DOUBLE`. ## Description **Current behavior** When importing a CSV into an existing dataset, columns defined as `DOUBLE` are displayed and submitted as `FLOAT`. Schema validation then rejects the import with an error such as: > Column "distanceAfter" must use type "DOUBLE" instead of "FLOAT". The CSV importer currently does not preserve the existing dataset’s `DOUBLE` datatype throughout the import flow. **Expected behavior** When importing into an existing dataset, the importer should use the dataset schema as the authoritative source. Columns defined as `DOUBLE` must remain `DOUBLE`, and valid decimal values should be converted and imported accordingly. **Steps to reproduce** 1. Select an existing dataset containing a `DOUBLE` property. 2. Open the CSV import dialog. 3. Upload a CSV containing a column with the same name and decimal values. 4. Continue to the preview. 5. Observe that the column is represented as `FLOAT`. 6. Observe that schema validation rejects the import because the existing property requires `DOUBLE`. ### StreamPipes Committer I acknowledge that I am a maintainer/committer of the Apache StreamPipes project. -- 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]
