Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2021 12:44 PM
yes indeed it looks like a bug with LAST_VALUE,
Min gives correct results:
Max hmm only when desc is specified (shouldn't affect as max is max but only with descending sorting it works as should be):
for last_value is exactly like on your example (so nothing helps - I tried many ways).
@Kaniz Fatma maybe someone from inside databricks could look at it
My blog: https://databrickster.medium.com/