You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/06/21 10:05:33 UTC

[GitHub] [doris] starocean999 opened a new issue, #10308: [Bug] outer join with window function might crash in some case

starocean999 opened a new issue, #10308:
URL: https://github.com/apache/doris/issues/10308

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   master
   
   ### What's Wrong?
   
   SELECT online_detail.game_code, next_login_time
   FROM (
   select dwd_online_detail.game_code, LEAD(dwd_online_detail.login_time, 1, '9999-12-30 00:00:00') OVER () AS next_login_time
   from dim_account_userid_mapping right join dwd_online_detail
   on dim_account_userid_mapping.game_code = dwd_online_detail.game_code
   ) online_detail
   LEFT JOIN (
       SELECT day, game AS game_code, dt
       FROM ods_logout
   ) logout
   ON online_detail.game_code = logout.game_code;
   
   crash because of the LEAD function didn't produce nullable type value correctly.
   
   ### What You Expected?
   
   get the correct result
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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@doris.apache.org.apache.org

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


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


[GitHub] [doris] morningman closed issue #10308: [Bug] outer join with window function might crash in some case

Posted by GitBox <gi...@apache.org>.
morningman closed issue #10308: [Bug] outer join with window function might crash in some case
URL: https://github.com/apache/doris/issues/10308


-- 
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@doris.apache.org

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


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