-
Notifications
You must be signed in to change notification settings - Fork 64
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
Panic when using "over" in an expression context #5077
Comments
mattnibs
added a commit
that referenced
this issue
Mar 18, 2024
This commit fixes a bug in over expressions where vars where outer variables where not getting propagated to batches in the inner scope. Closes #5077
mattnibs
added a commit
that referenced
this issue
Mar 18, 2024
This commit fixes a bug in over expressions where vars where outer variables where not getting propagated to batches in the inner scope. Closes #5077
mattnibs
added a commit
that referenced
this issue
Mar 18, 2024
This commit fixes a bug in over expressions where vars where outer variables where not getting propagated to batches in the inner scope. Closes #5077
mattnibs
added a commit
that referenced
this issue
Mar 18, 2024
This commit fixes a bug in over expressions where outer scope variables were not getting propagated to batches in the inner scope. Closes #5077
mattnibs
added a commit
that referenced
this issue
Mar 19, 2024
This commit fixes a bug in over expressions where outer scope variables were not getting propagated to batches in the inner scope. Closes #5077
Verified in Zed commit 3e5febe. Both of the programs shown above that previously caused a panic now run successfully.
Thanks @mattnibs! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Repro is with Zed commit f1be6a4.
@mattnibs and I were working toward responding to a community user's inquiry in a Slack thread. I'd gotten to the point where I had this working in a user-defined operator:
So I thought to try the equivalent in a user-defined function, which triggered this panic.
Meanwhile @mattnibs was coming up with a more sophisticated variant that was closer to the user's original intent, and it looks like he hit a similar panic.
As a side-effect of working on this, we also both recognized that this functionality should be mentioned in the expressions docs, but we might as well fix the bug before calling more attention to it.
The text was updated successfully, but these errors were encountered: