You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-4674 Fix ColumnStore to run MTR tests in a build directory
This commit is contained in:
22
mysql-test/columnstore/basic/r/mcs191_min_function.result
Normal file
22
mysql-test/columnstore/basic/r/mcs191_min_function.result
Normal file
@ -0,0 +1,22 @@
|
||||
DROP DATABASE IF EXISTS mcs191_db;
|
||||
CREATE DATABASE mcs191_db;
|
||||
USE mcs191_db;
|
||||
CREATE TABLE t1 (a INT, b CHAR(5))ENGINE=Columnstore;
|
||||
INSERT INTO t1 VALUES (NULL, ''),(1, 'aaa'),(2, 'aaa'),(1, 'ccc'),(4, 'ddd'),(5, 'aaa'),(6, 'ddd'),(7, 'eee');
|
||||
SELECT MIN(DISTINCT a) FROM t1;
|
||||
MIN(DISTINCT a)
|
||||
1
|
||||
SELECT MIN(DISTINCT a) FROM t1 GROUP BY b HAVING b = 'aaa';
|
||||
MIN(DISTINCT a)
|
||||
1
|
||||
SELECT b, MIN(DISTINCT a) FROM t1 GROUP BY b ORDER BY b DESC;
|
||||
b MIN(DISTINCT a)
|
||||
eee 7
|
||||
ddd 4
|
||||
ccc 1
|
||||
aaa 1
|
||||
NULL NULL
|
||||
SELECT MIN(a) FROM t1;
|
||||
MIN(a)
|
||||
1
|
||||
DROP DATABASE mcs191_db;
|
Reference in New Issue
Block a user