We have errors when uploading CSV canonical file with additional columns that are not declared in the canonical:
errorMsg: Invalid value path 'substation_code<*>' at 16 for type CanonicalWindFarmStaticReferencec3.love.exceptions.C3RuntimeException: Invalid value path 'substation_code<*>' at 16 for type CanonicalWindFarmStaticReference at c3.love.typesys.ValuePath.formatError(ValuePath.java:278) at c3.love.typesys.ValuePath.parse(ValuePath.java:270) at c3.love.typesys.ValuePath.parse(ValuePath.java:78) at c3.love.typesys.obj.pipe.ser.CsvObjValueIterator.<init>(CsvObjValueIterator.java:100) at c3.love.typesys.obj.pipe.ser.CsvSerDeser.iterator(CsvSerDeser.java:111) at
We would have expected the parsing to simply ignore additional columns and to integrate the CSV file since the declared fields were all present in the CSV.
With this kind of errors we are obliged to declared all additional columns that we won’t actually use, and any additional columns would require a new code modification.
Is there a way to avoid that?