starocean999 opened a new pull request, #10502:
URL: https://github.com/apache/doris/pull/10502
# Proposed changes
Issue Number: close #xxx
## Problem Summary:
fix bitmap_union_count bug in window function. like the sql bellow:
with tmp as(
select game_code ,plat_code ,`day`,hour,time_zone, pid_code,gid_code,
BITMAP_UNION_COUNT(userid_bitmap) over(PARTITION by
final.game_code,final.plat_code, pid_code,gid_code,day order by hour)
active_unt_dth
from
(select game_code ,plat_code ,`day`,hour,
time_zone,pid_code,gid_code,bitmap_union(userid_bitmap) userid_bitmap
from dwm_login_action_1h WHERE game_code ='abc' and day='2019-04-26'
group by 1,2,3,4,5,6,7
) final
)
SELECT * from tmp where gid_code='1005897'
## Checklist(Required)
1. Does it affect the original behavior: (No)
2. Has unit tests been added: (No)
3. Has document been added or modified: (No)
4. Does it need to update dependencies: (No)
5. Are there any changes that cannot be rolled back: (No)
## Further comments
If this is a relatively large or complex change, kick off the discussion at
[[email protected]](mailto:[email protected]) by explaining why you
chose the solution you did and what alternatives you considered, etc...
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]