-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
expected behaviorThe behavior described in the issue is expectedThe behavior described in the issue is expectedreproduced
Description
What happens?
When running a simple statement on different OS Linux, Windows and MacOS the result can differ.
This frustrates unit tests.
To Reproduce
SELECT ARRAY_DISTINCT(['A', 'A', 'B', NULL, NULL]) AS arr;On my Linux and GitHub Linux, reliably I will get:
[B, A]
On my Windows VM and GitHub Windows, reliably I will get:
[A, B]
Although I have experimented already with all kind of configurations:
Properties info = new Properties();
info.put("old_implicit_casting", "true");
info.put("default_null_order", "NULLS FIRST");
info.put("default_order", "ASC");
info.put("memory_limit", "1GB");
info.put("threads", "1");OS:
Any
DuckDB Version:
1.0
DuckDB Client:
Java
Full Name:
Andreas Reichel
Affiliation:
manticore-projects.com
What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.
I have tested with a stable release
Did you include all relevant data sets for reproducing the issue?
Yes
Did you include all code required to reproduce the issue?
- Yes, I have
Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?
- Yes, I have
Metadata
Metadata
Assignees
Labels
expected behaviorThe behavior described in the issue is expectedThe behavior described in the issue is expectedreproduced