kz930 opened a new pull request, #8918:
URL: https://github.com/apache/texera/pull/8918

   ### What changes were proposed in this PR?
   When Sklearn Prediction's "Ground Truth Attribute Name to Ignore" names a 
column that is not in the data input, compilation failed with 
`java.util.NoSuchElementException: None.get`, which does not tell the user what 
is wrong. It now fails with "Ground Truth column '<name>' is not in the input 
table", the same wording MachineLearningScorer uses for its columns.
   
   ### Any related issues, documentation, discussions?
   Closes #8864
   
   ### How was this PR tested?
   Updated the existing test in `SklearnPredictionOpDescSpec` to check the new 
message. `sbt "WorkflowOperator/testOnly *SklearnPredictionOpDescSpec"` passes, 
and so do scalafmt and scalafix.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   Generated-by: Claude Code (Claude Opus 5.5)
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
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]

Reply via email to