1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-27 08:21:15 +03:00
Files
mariadb-columnstore-engine/mtr/basic/r/mcs149_window_function_bit_and.result
mariadb-RomanNavrotskiy 73b4147cf3 move mtr suites here
2021-01-31 01:38:31 +02:00

11 lines
590 B
Plaintext

DROP DATABASE IF EXISTS mcs149_db;
CREATE DATABASE mcs149_db;
USE mcs149_db;
CREATE TABLE t1 (a CHAR(1), b INT)ENGINE=Columnstore;
INSERT INTO t1 VALUES ('', NULL),('a', 12),('a', 13),('b', 14),('b', 15),('b', 16),('b', 17),('b', 18),('a', 19);
SELECT a, b, BIT_AND(b) OVER(PARTITION BY a) FROM t1;
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_AND' is currently not supported in Columnstore.
SELECT a, b, BIT_AND(b) OVER(ORDER BY a) FROM t1;
ERROR HY000: Internal error: IDB-9018: Window Function 'BIT_AND' is currently not supported in Columnstore.
DROP DATABASE mcs149_db;