You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "PHILO-HE (via GitHub)" <gi...@apache.org> on 2024/03/21 12:35:38 UTC

[I] [VL] Casting integer to binary type produces inconsistent result with Spark [incubator-gluten]

PHILO-HE opened a new issue, #5073:
URL: https://github.com/apache/incubator-gluten/issues/5073

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   ```sql
   SELECT a, cast(a as binary) from tbl;
   ```
   Spark result:
   ```
   +---+-------------+
   |  a|            a|
   +---+-------------+
   | 10|[00 00 00 0A]|
   |  0|[00 00 00 00]|
   |  3|[00 00 00 03]|
   |  2|[00 00 00 02]|
   |  2|[00 00 00 02]|
   |  0|[00 00 00 00]|
   +---+-------------+
   ```
   
   Gluten result:
   ```
   +---+-------+
   |  a|      a|
   +---+-------+
   | 10|[31 30]|
   |  0|   [30]|
   |  3|   [33]|
   |  2|   [32]|
   |  2|   [32]|
   |  0|   [30]|
   +---+-------+
   ```
   
   ### Spark version
   
   None
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   _No response_
   
   ### Relevant logs
   
   _No response_


-- 
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] Casting integer to binary type produces inconsistent result with Spark [incubator-gluten]

Posted by "PHILO-HE (via GitHub)" <gi...@apache.org>.
PHILO-HE closed issue #5073: [VL] Casting integer to binary type produces inconsistent result with Spark
URL: https://github.com/apache/incubator-gluten/issues/5073


-- 
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] Casting integer to binary type produces inconsistent result with Spark [incubator-gluten]

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

   Fixing this issue with https://github.com/facebookincubator/velox/pull/9819.


-- 
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] Casting integer to binary type produces inconsistent result with Spark [incubator-gluten]

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

   @rui-mo, could you take a look? Thanks!


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