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

Optimizer casts decimals to different values on different platforms #3791

Closed
andygrove opened this issue Oct 11, 2022 · 0 comments · Fixed by #4767
Closed

Optimizer casts decimals to different values on different platforms #3791

andygrove opened this issue Oct 11, 2022 · 0 comments · Fixed by #4767
Labels
bug Something isn't working

Comments

@andygrove
Copy link
Member

Describe the bug

See ignored test in #3790

To Reproduce

    /// This query produces different plans depending on operating system
    /// Linux:   Decimal128(Some(7000000000000000195487369212723200),38,33)
    /// Windows: Decimal128(Some(6999999999999999042565864605876224),38,33)
    #[tokio::test]
    #[ignore]
    async fn q17_expected_plan() -> Result<()> {
        expected_plan(17).await
    }
```

**Expected behavior**
Is this expected?

**Additional context**
None
@andygrove andygrove added the bug Something isn't working label Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant