1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-23 07:05:36 +03:00

28 lines
847 B
Plaintext

# -------------------------------------------------------------- #
# Test case migrated from regression test suite: bug3783.sql
#
# Author: Daniel Lee, daniel.lee@mariadb.com
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
#
USE tpch1;
#
--disable_warnings
drop table if exists bug3783;
--enable_warnings
set max_length_for_sort_data = 8192;
create table bug3783 (id int, name varchar(1000))engine=columnstore;
insert into bug3783 values (1,'yionfsdayfeiwajg'),(2,'gretsuyhejkstj jkete');
select id, hex(name) from bug3783 order by 1,2;
select id, group_concat(name) from bug3783 group by 1 order by 1;
select id, min(repeat(name,3)) from bug3783 group by 1 order by 1;
select id, repeat(name,3) from bug3783 order by 1,2;
--disable_warnings
drop table bug3783;
--enable_warnings
#