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

Non deterministic result for window function #9544

Closed
jayzhan211 opened this issue Mar 11, 2024 · 2 comments
Closed

Non deterministic result for window function #9544

jayzhan211 opened this issue Mar 11, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@jayzhan211
Copy link
Contributor

jayzhan211 commented Mar 11, 2024

Is your feature request related to a problem or challenge?

This query failed sometimes.
https://github.com/apache/arrow-datafusion/actions/runs/8222295671/job/22483743010
https://github.com/apache/arrow-datafusion/actions/runs/8221664632/job/22482282908?pr=9524

It is not always reproducible.

[SQL] select lag(a) over () as x1
        from
        (select 2 id, 'b' a union all select 1 id, null a union all select 3 id, null);
[Diff] (-expected|+actual)
    NULL
Error: Execution("1 failures")
    NULL
-   b
+   NULL
at test_files/window.slt:4302

Describe the solution you'd like

Not sure what is the root cause yet. We expect not to meet this failure again.

Describe alternatives you've considered

No response

Additional context

No response

@jayzhan211 jayzhan211 added the enhancement New feature or request label Mar 11, 2024
@mustafasrepo
Copy link
Contributor

mustafasrepo commented Mar 12, 2024

Thanks @jayzhan211 for this issue. This problem is fixed with the PR9559. I wasn't aware of this issue. Hence didn't mention this issue in the PR. If you agree that this problem no longer happens, we can close this issue.

@jayzhan211
Copy link
Contributor Author

Thanks @jayzhan211 for this issue. This problem is fixed with the PR9559. I wasn't aware of this issue. Hence didn't mention this issue in the PR. If you agree that this problem no longer happens, we can close this issue.

I see, thanks @mustafasrepo

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

No branches or pull requests

2 participants