You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "wForget (via GitHub)" <gi...@apache.org> on 2025/11/14 07:18:30 UTC

[I] [VL][1.5] Result mismatch of cast string with numeric suffixes to double [incubator-gluten]

wForget opened a new issue, #11082:
URL: https://github.com/apache/incubator-gluten/issues/11082

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   sql:
   
   ```
   select cast('00123d' as double), cast('123f' as double);
   ```
   
   spark result: `123.0, 123.0`
   gluten result: `NULL, NULL`
   
   ### Gluten version
   
   Gluten-1.5
   
   ### Spark version
   
   Spark-3.5.x
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   _No response_
   
   ### Relevant logs
   
   ```bash
   
   ```


-- 
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: commits-unsubscribe@gluten.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [I] [VL][1.5] Result mismatch of `cast string with numeric suffixes to double` [incubator-gluten]

Posted by "wForget (via GitHub)" <gi...@apache.org>.
wForget commented on issue #11082:
URL: https://github.com/apache/incubator-gluten/issues/11082#issuecomment-3531381676

   In Java, when parsing string to float/double, the opt [FfDd]? suffix will be skipped.
   
   https://github.com/openjdk/jdk/blob/f4305923fb6203089fd13cf3387c81e127ae5fe2/src/java.base/share/classes/jdk/internal/math/FloatingDecimal.java#L1409-L1412


-- 
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: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [I] [VL][1.5] Result mismatch of `cast string with numeric suffixes to double` [incubator-gluten]

Posted by "wForget (via GitHub)" <gi...@apache.org>.
wForget commented on issue #11082:
URL: https://github.com/apache/incubator-gluten/issues/11082#issuecomment-3544763086

   Fix on velox side: https://github.com/facebookincubator/velox/pull/15534
   
   


-- 
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: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org