1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-18 21:44:02 +03:00
Sergey Zefirov 60dc7550f1
fix(group by, having): MCOL-5776: GROUP BY/HAVING closer to server's (#3371)
This patch introduces an internal aggregate operator SELECT_SOME that
is automatically added to columns that are not in GROUP BY. It
"computes" some plausible value of the column (actually, last one
passed).

Along the way it fixes incorrect handling of HAVING being transferred
into WHERE, window function handling and a bit of other inconsistencies.
2024-12-20 19:11:47 +00:00
..
2022-08-09 21:20:56 +03:00

1. General

The devregression test suite contains test cases migrated from development's regression tests.

2. Environment setup

Before execting this test suite, please execute regression_env_setup.test in the csinternal
directory.  This test will setup the required databases and tables for the test suite.

3. About the tests

These test cases are regression tests for fixed bugs in development's regression tests.
There are about 350 .sql files matching "bug*.sql" or "MCOL*.sql" patterns were identified.
Some of them failed to run in MTR due to required data was not setup, or syntax is not MTR
compatible.  There are also some cases that ran in MTR, but did not survive repeat MTR runs.
These failed test cases need more TLC before they can be migrated to MTR correctly.