You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-27 08:21:15 +03:00
24 lines
639 B
Plaintext
24 lines
639 B
Plaintext
#
|
|
# BIT_AND() Window Function currently not supported in Columnstore.
|
|
# Author: Bharath, bharath.bokka@mariadb.com
|
|
#
|
|
-- source ../include/have_columnstore.inc
|
|
|
|
--disable_warnings
|
|
DROP DATABASE IF EXISTS mcs149_db;
|
|
--enable_warnings
|
|
|
|
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);
|
|
|
|
--error ER_INTERNAL_ERROR
|
|
SELECT a, b, BIT_AND(b) OVER(PARTITION BY a) FROM t1;
|
|
--error ER_INTERNAL_ERROR
|
|
SELECT a, b, BIT_AND(b) OVER(ORDER BY a) FROM t1;
|
|
|
|
# Clean UP
|
|
DROP DATABASE mcs149_db;
|