hongzhi-gao opened a new pull request, #17759:
URL: https://github.com/apache/iotdb/pull/17759

   ## Summary
   
   Fix C++ client crash on `CALL INFERENCE` when iterating results via 
`RowRecord::toString()`.
   
   Inference responses declare the `output` column as `DOUBLE` in the result 
schema, but AINode serializes values as `FLOAT` in TsBlock (e.g. chronos2 
`float32` tensors). The C++ client called `getDouble()` on a `FloatColumn` and 
threw `Unsupported operation: getDouble`.
   
   ## Fix
   
   Coerce `getDouble()` / `getFloat()` using the **actual TsBlock column 
type**, matching the existing `getInt()` / `getLong()` pattern.
   
   ## Test plan
   
   - [x] `session_tests "[column][inference]"` — RLE float column coercion test


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