Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lead/lag will cause BE down] #4730

Closed
francisoliverlee opened this issue Oct 13, 2020 · 1 comment · Fixed by #4732
Closed

[lead/lag will cause BE down] #4730

francisoliverlee opened this issue Oct 13, 2020 · 1 comment · Fixed by #4732

Comments

@francisoliverlee
Copy link
Member

Describe the bug
query with lead or lag will cause some be down

To Reproduce
select lead(last_stage_id, 1, null) over ( partition by student_id order by paid_date_time ) as next_stage_id, lead(is_refund_order, 1, null) over ( partition by student_id order by paid_date_time ) as next_is_refund_order, lead(consumption, 1, null) over ( partition by student_id order by paid_date_time ) as next_consumption, lead(paid_date_time, 1, null) over ( partition by student_id order by paid_date_time ) as next_paid_date_time from xxxx
Expected behavior
exec normally

@francisoliverlee
Copy link
Member Author

some related issues
#1842
#4665

some pr about lead and lag bug:
#4666

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant