You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "zml1206 (via GitHub)" <gi...@apache.org> on 2024/08/12 06:42:57 UTC

[I] Result mismatch of weekOfYear [incubator-gluten]

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

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   ```
   select d,weekofyear(d) from values ('2021-12-31'),('2022-01-01') as data(d)
   ```
   spark:
   ```
   +----------+-------------+
   |         d|weekofyear(d)|
   +----------+-------------+
   |2021-12-31|           52|
   |2022-01-01|           52|
   ```
   gluten:
   ```
   +----------+-------------+
   |         d|weekofyear(d)|
   +----------+-------------+
   |2021-12-31|           52|
   |2022-01-01|           53|
   ```
   
   ### 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] Result mismatch of weekOfYear [incubator-gluten]

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

   Looks this issue is already fixed for Presto but not Spark.
   https://github.com/facebookincubator/velox/commit/f8f538ecdbab08ec8bc515acb11a904fbd991e25
   


-- 
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] Result mismatch of weekOfYear [incubator-gluten]

Posted by "rui-mo (via GitHub)" <gi...@apache.org>.
rui-mo closed issue #6784: Result mismatch of weekOfYear
URL: https://github.com/apache/incubator-gluten/issues/6784


-- 
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] Result mismatch of weekOfYear [incubator-gluten]

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

   @zml1206, could you fix this issue in Velox? In the initial implementation, the only difference between spark and presto is the return type. See https://github.com/facebookincubator/velox/pull/5941. Now we may just need to copy presto's fix for spark.


-- 
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] Result mismatch of weekOfYear [incubator-gluten]

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

   > @zml1206, could you fix this issue in Velox? In the initial implementation, the only difference between spark and presto is the return type. See [facebookincubator/velox#5941](https://github.com/facebookincubator/velox/pull/5941). Now we may just need to copy presto's fix for spark.
   
   Processing in https://github.com/facebookincubator/velox/pull/10713.


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