Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
1.5.2
-
None
Description
We're not sure why yet, but doing an integrated build (CS is built as part of the server build) with CMAKE_BUILD_TYPE=Release, causes some queries with joins and aggregations to return random wrong results.
Easiest reproduction is SELECT COUNT FROM LINEITEM, ORDERS WHERE L_ORDERNUM=O_ORDERNUM
The correct result is the number of rows in LINEITEM table. When reproducing you will see much smaller number.
Switching the build type to RelWithDebInfo makes it work, and doing a non-integrated build (CS repo is built separately from the server) makes it work.
For now I've set our ci/cd system to do RelWithDebInfo builds so we don't create broken pkgs.
The goal of this top-level ticket is to find and fix the cause of the problem with integrated release builds.
Existing tickets fixed by this build type change can be made subtasks of this ticket. I would suggest if the build type fixes it, then those existing tickets can also be marked fixed. They'd be considered symptoms of this ticket, not a separate problem.
Attachments
Issue Links
- causes
-
MCOL-4073 DBT3 query #3 returns incorrect results
- Closed
-
MCOL-4074 DBT3 query #4 returns incorrect results
- Closed
-
MCOL-4075 DBT3 query #5 returns incorrect result
- Closed
-
MCOL-4076 DBT3 query #7 returns incorrect results
- Closed
-
MCOL-4077 DBT3 query #9 returns incorrect results
- Closed
-
MCOL-4078 DBT3 query #10 returns incorrect results
- Closed
-
MCOL-4079 DBT3 query #13 returns incorrect results
- Closed
-
MCOL-4080 DBT3 query #14 returns incorrect results
- Closed
-
MCOL-4081 DBT3 query #16 returns incorrect results
- Closed
-
MCOL-4082 DBT3 query #19 returns incorrect results
- Closed
1.
|
DBT3 query #5 returns incorrect result | Closed | Unassigned |