Open v-Hailishi opened 12 months ago
This should be handled in ml.net @LittleLittleCloud thought?
@v-Hailishi what you mean the error message is not clear. IMO the error message is helpful to locate the bad data...
@LittleLittleCloud I mean that after changing the "context" column's Data type to "Boolean" or "Int", actually all data could not be parsed. Because the "context" column's Data type should be "String". But in the error message it only mentioned the data in line 66.
The bug is only repro in NET6.0. The bug is not repro in NET7.0, 8.0.
System Information (please complete the following information): Windows OS: Windows-11-Enterprise-22H2 ML.Net Model Builder 2022: 17.17.0.2360601 (Main Build) Microsoft Visual Studio Enterprise: 2022(17.7.7) .Net: 6.0,7.0
Describe the bug
TestMatrix Smallsuad.tsv.txt
To Reproduce Steps to reproduce the behavior:
Expected behavior The error message should be like "Schema mismatch for Context column 'context': expected String, got Boolean/Int".
Screenshot
Additional context The bug is also repro after changing the "answer_start" column's Data type to "Boolean". The error message should be like "Don't know how to convert answer_start into Int32".